summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile17
1 files 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)