Browse code

Adding pass-through Jenkinsfile to trigger build-acceptance testing.

Micah Snyder authored on 2019/06/29 07:19:02
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,21 @@
0
+properties(
1
+    [
2
+        parameters(
3
+            [
4
+                string(name: 'CLAMAV_BRANCH', defaultValue: "${env.BRANCH_NAME}"),
5
+                string(name: 'VERSION', defaultValue: '0.102.0-devel'),
6
+                string(name: 'TESTS_BRANCH', defaultValue: 'build-0.102')
7
+            ]
8
+        )
9
+    ]
10
+)
11
+
12
+node('master') {
13
+    build job: "clamav-build-acceptance/${params.TESTS_BRANCH}",
14
+        propagate: true,
15
+        wait: true,
16
+        parameters: [
17
+            [$class: 'StringParameterValue', name: 'TARGET_BRANCH', value: "${params.CLAMAV_BRANCH}"],
18
+            [$class: 'StringParameterValue', name: 'VERSION', value: "${params.VERSION}"]
19
+        ]
20
+}