armband: Small adjustments to align with the rest 89/12489/2
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Wed, 20 Apr 2016 14:18:45 +0000 (16:18 +0200)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Wed, 20 Apr 2016 14:19:35 +0000 (16:19 +0200)
Change-Id: Icf15d27605848b143d75a750d45006dbcfc638ff
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/armband/armband-project-jobs.yml [moved from jjb/armband/armband.yml with 81% similarity]
jjb/armband/build.sh [moved from jjb/armband/armband-build.sh with 100% similarity]

similarity index 81%
rename from jjb/armband/armband.yml
rename to jjb/armband/armband-project-jobs.yml
index 61073c1..f91e9b1 100644 (file)
         - project-parameter:
             project: '{project}'
         - 'arm-build1-defaults'
-        - choice:
-            name: FORCE_BUILD
-            choices:
-                - 'false'
-                - 'true'
-            description: 'Force build even if there are no changes in the armband repo. Default false'
+        - armband-project-parameter:
+            gs-pathname: '{gs-pathname}'
 
     scm:
         - git-scm:
 
     builders:
         - shell:
-            !include-raw-escape: ./armband-build.sh
+            !include-raw-escape: ./build.sh
 
     publishers:
         - email:
             recipients: josep.puigdemont@enea.com armband@enea.com
+
+########################
+# parameter macros
+########################
+- parameter:
+    name: armband-project-parameter
+    parameters:
+        - string:
+            name: BUILD_DIRECTORY
+            default: $WORKSPACE/build_output
+            description: "Directory where the build artifact will be located upon the completion of the build."
+        - string:
+            name: GS_URL
+            default: artifacts.opnfv.org/$PROJECT{gs-pathname}
+            description: "URL to Google Storage."
+        - choice:
+            name: FORCE_BUILD
+            choices:
+                - 'false'
+                - 'true'
+            description: 'Force build even if there are no changes in the armband repo. Default false'