From 14a4372f768967b58ce429eaf03faf00f9ac60c0 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 3 Jun 2018 15:58:35 -0400 Subject: Blah --- Jenkinsfile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index df16025..b0428c5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,17 +1,18 @@ if (utils.scm_checkout()) return -bc = BuildConfig() +data_configs = [] +dc = new DataConfig() +dc.insert('test', '{"test":"alive"}') + +configs += dc + +bc = new BuildConfig() bc.nodetype = '' bc.build_mode = 'sandbox' bc.build_cmds = [ - "echo hello world > hello.txt", - "echo word hello > world.test", -] -bc.data_upload = [ - 'generic-local/sandbox': [ - '': ['*.txt', '*.test'] - ], + "echo {\"test\":\"alive2\"} > alive.json" ] +bc.test_artifacts = data_configs utils.run(bc) -- cgit