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

Stage names must be string literals

parent 7708f8b2
...@@ -4,6 +4,12 @@ def call(String branch, String repo, String task, String phpversion, String data ...@@ -4,6 +4,12 @@ def call(String branch, String repo, String task, String phpversion, String data
label 'docker' label 'docker'
} }
environment {
PHP_VERSION = "${config.phpversion}"
DBTYPE = "${config.database}"
TASK = "${config.task}"
}
stages { stages {
stage("Git Checkout") { stage("Git Checkout") {
steps { steps {
...@@ -40,12 +46,7 @@ def call(String branch, String repo, String task, String phpversion, String data ...@@ -40,12 +46,7 @@ def call(String branch, String repo, String task, String phpversion, String data
} }
} }
stage("Run ${config.task}") { stage("Run Task") {
environment {
PHP_VERSION = "${config.phpversion}"
DBTYPE = "${config.database}"
TASK = "${config.task}"
}
steps { steps {
sh '$HOME/scripts/runner/master/run.sh' 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