diff options
author | Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> | 2020-12-30 07:33:27 +0100 |
---|---|---|
committer | Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> | 2020-12-30 07:33:46 +0100 |
commit | 81174dd4294bb06fc5f0cdcad0f05edcbb3bf5f5 (patch) | |
tree | 6458db1fc999196f68ff7d829ed9a170a913ab6e | |
parent | 768660df931ded9243fb67b25056d7c561d7eb3f (diff) |
Update push url in vnfsdk upload docs job.
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Ib1cfdb35a45015f0b391496cc2bd29ce966aa7d3
Issue-ID: VNFSDK-696
-rw-r--r-- | jjb/vnfsdk/upload-artifact.sh | 6 | ||||
-rw-r--r-- | jjb/vnfsdk/vnfsdk-validation.yaml | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/jjb/vnfsdk/upload-artifact.sh b/jjb/vnfsdk/upload-artifact.sh index 3e07fd5d9..f384f4725 100644 --- a/jjb/vnfsdk/upload-artifact.sh +++ b/jjb/vnfsdk/upload-artifact.sh @@ -6,9 +6,9 @@ then 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 diff --git a/jjb/vnfsdk/vnfsdk-validation.yaml b/jjb/vnfsdk/vnfsdk-validation.yaml index b95c3a766..55a011703 100644 --- a/jjb/vnfsdk/vnfsdk-validation.yaml +++ b/jjb/vnfsdk/vnfsdk-validation.yaml @@ -76,5 +76,5 @@ jobs: - '{project-name}-{stream}-build-and-upload': pre_script: !include-raw-escape: ./generate-dosc.sh - project_id: org.onap.vnfsdk.refrepo + project_id: org.onap.vnfsdk.validation post_script: !include-raw-escape: ./upload-artifact.sh |