summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index d3b9cab..90c6abb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,16 +1,14 @@
if (utils.scm_checkout()) return
dc = new DataConfig()
+dc.server_id = 'artifactory'
dc.match_prefix = "(.*)_result"
bc = new BuildConfig()
bc.nodetype = 'linux'
bc.build_mode = 'example'
bc.build_cmds = ["echo hello"]
-//bc.test_cmds = [
-// 'echo [{"test2":"alive2"}] > test2.json',
-//]
-bc.test_server_id = 'artifactory'
-bc.test_artifacts = [dc]
+bc.test_configs = [dc]
+
matrix = [bc]
utils.run(matrix)