diff options
Diffstat (limited to 'jjb/vnfsdk')
-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 |