Update the curl statement and changes to support the statement.
Change-Id: I5a06b93b1e4a3b9ac9c64055eac2a45d71d71384
Issue-ID: VNFRQTS-538
Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
     pre_script: ''
     post_script: ''
     artifact_name: ''
+    project_id: ''
 
     project-type: freestyle
     concurrent: true
       - inject:
           properties-content: |
             ARTIFACT_NAME={artifact_name}
+            PROJECT_ID={project_id}
       - shell: '{obj:post_script}'
       - lf-provide-maven-settings-cleanup
 
 
 #!/bin/bash
 
 set -e -o pipefail
-echo "-n --upload-file $ARTIFACT_NAME https://nexus.onap.org/content/sites/raw/$JOB_BASE_NAME/$GERRIT_BRANCH/$ARTIFACT_NAME"
-curl -n --upload-file "$ARTIFACT_NAME" "https://nexus.onap.org/content/sites/raw/$JOB_BASE_NAME/$GERRIT_BRANCH/$ARTIFACT_NAME"
\ No newline at end of file
+cd $WORKSPACE/docs/data
+echo "-n --upload-file $ARTIFACT_NAME https://nexus.onap.org/content/sites/raw/$PROJECT_ID/$GERRIT_BRANCH/$ARTIFACT_NAME"
+curl -n --upload-file "$ARTIFACT_NAME" "https://nexus.onap.org/content/sites/raw/$PROJECT_ID/$GERRIT_BRANCH/$ARTIFACT_NAME"
\ No newline at end of file
 
     jobs:
       - '{project-name}-{stream}-build-and-upload':
           pre_script: !include-raw-escape: pre-build-needs.sh
-          artifact_name: docs/data/needs.json
+          artifact_name: needs.json
+          project_id: org.onap.vnfrqts.requirements
           post_script: !include-raw-escape: post-upload-artifact.sh