blob: a307ad66bd841384e15f6b8d92c4a5741c51dabe [file] [log] [blame]
#!/bin/bash
set -e -o pipefail
if [ -z "$PROJECT_ID" ]
then
echo "ERROR: NO PROJECT ID ENTERED"
exit 1
else
cd $WORKSPACE/csarvalidation/target/generated-docs/Honolulu
for file in *.csv ; do
echo "-n --upload-file $file https://nexus.onap.org/content/sites/raw/$PROJECT_ID/Honolulu/$file"
curl -n --upload-file "$file" "https://nexus.onap.org/content/sites/raw/$PROJECT_ID/Honolulu/$file"
done
exit 0
fi