Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andrew Lyons
pipeline
Commits
15dc81af
Commit
15dc81af
authored
Dec 13, 2017
by
Andrew Nicols
Browse files
Stage names must be string literals
parent
7708f8b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
vars/runTask.groovy
View file @
15dc81af
...
...
@@ -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'
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment