Bug fix type name and add parameter values 57/28457/2
authorrohitsakala <rohitsakala@gmail.com>
Fri, 10 Feb 2017 19:55:43 +0000 (01:25 +0530)
committerrohitsakala <rohitsakala@gmail.com>
Fri, 10 Feb 2017 19:59:29 +0000 (01:29 +0530)
Change-Id: Idfa76608e796d9e27bbed4a351d16018e9380c59
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
jjb/releng/testapi-automate.yml
jjb/releng/testapi-backup-mongodb.sh

index 73b600d..9fef4d2 100644 (file)
@@ -15,7 +15,6 @@
         - 'testapi-automate-{stream}'
         - 'testapi-automate-{phase}-{stream}'
         - 'testapi-verify-{stream}'
-        - 'testapi-mongodb-backup'
 
     project: 'releng'
 
             name: SLAVE_LABEL
             default: 'testresults'
             description: 'Slave label on Jenkins'
+        - project-parameter:
+            project: 'releng'
+            branch: 'master'
         - string:
             name: GIT_BASE
-            default: https://gerrit.opnfv.org/gerrit/$PROJECT
+            default: https://gerrit.opnfv.org/gerrit/releng
             description: 'Git URL to use on this Jenkins Slave'
-        - project-parameter:
-            project: '{project}'
-            branch: '{branch}'
 
     scm:
         - git-scm
index 52957ab..8dba17b 100644 (file)
@@ -26,6 +26,6 @@ if [ $? != 0 ]; then
     exit 1
 else
     echo "Uploading mongodump to artifact $artifact_dir"
-    /usr/local/bin/gsutil cp -r "$workspace"/"$file_name" gs://testingrohit/"$artifact_dir"/
+    /usr/local/bin/gsutil cp -r "$workspace"/"$file_name" gs://artifacts.opnfv.org/"$artifact_dir"/
     echo "MongoDump can be found at http://artifacts.opnfv.org/$artifact_dir"
 fi