Commit 15dc81af authored by Andrew Nicols's avatar Andrew Nicols

Stage names must be string literals

parent 7708f8b2
......@@ -4,6 +4,12 @@ def call(String branch, String repo, String task, String phpversion, String data
label 'docker'
}
environment {
PHP_VERSION = "${config.phpversion}"
DBTYPE = "${config.database}"
TASK = "${config.task}"
}
stages {
stage("Git Checkout") {
steps {
......@@ -40,12 +46,7 @@ def call(String branch, String repo, String task, String phpversion, String data
}
}
stage("Run ${config.task}") {
environment {
PHP_VERSION = "${config.phpversion}"
DBTYPE = "${config.database}"
TASK = "${config.task}"
}
stage("Run Task") {
steps {
sh '$HOME/scripts/runner/master/run.sh'
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment