Browse code

jenkinsfile - add string parameter for build acceptance engine branch

Mickey Sola authored on 2019/08/01 04:48:52
Showing 1 changed files
... ...
@@ -11,6 +11,9 @@ properties(
11 11
                 string(name: 'BUILD_BRANCH',
12 12
                        defaultValue: 'build-0.102',
13 13
                        description: 'build-acceptance branch'),
14
+                string(name: 'BUILD_ENGINE_BRANCH',
15
+                       defaultValue: 'master',
16
+                       description: 'build-acceptance engine branch'),
14 17
                 string(name: 'TEST_BRANCH',
15 18
                        defaultValue: 'dev/0.102',
16 19
                        description: 'tests branch'),
... ...
@@ -43,6 +46,7 @@ node('master') {
43 43
             wait: true,
44 44
             parameters: [
45 45
                 [$class: 'StringParameterValue', name: 'TARGET_BRANCH', value: "${params.CLAMAV_BRANCH}"],
46
+                [$class: 'StringParameterValue', name: 'BUILD_ENGINE_BRANCH', value: "${params.BUILD_ENGINE_BRANCH}"],
46 47
                 [$class: 'StringParameterValue', name: 'VERSION', value: "${params.VERSION}"]
47 48
             ]
48 49
         )