Update push url in vnfsdk upload docs job.
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Ib1cfdb35a45015f0b391496cc2bd29ce966aa7d3
Issue-ID: VNFSDK-696
diff --git a/jjb/vnfsdk/upload-artifact.sh b/jjb/vnfsdk/upload-artifact.sh
index 3e07fd5..f384f47 100644
--- a/jjb/vnfsdk/upload-artifact.sh
+++ b/jjb/vnfsdk/upload-artifact.sh
@@ -6,9 +6,9 @@
exit 1
else
cd $WORKSPACE/generated/active-validation-rules/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"
+ for FILE_NAME in *.csv ; do
+ echo "-n --upload-file $FILE_NAME https://nexus.onap.org/content/sites/raw/$PROJECT_ID/$GERRIT_BRANCH/$FILE_NAME"
+ curl -n --upload-file "$FILE_NAME" "https://nexus.onap.org/content/sites/raw/$PROJECT_ID/$GERRIT_BRANCH/$FILE_NAME"
done
exit 0
fi