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
7f78a7ff
Commit
7f78a7ff
authored
Dec 18, 2017
by
Andrew Nicols
Browse files
runTask: Wrap in AnsiColor
parent
b0adb00e
Changes
1
Hide whitespace changes
Inline
Side-by-side
vars/runTask.groovy
View file @
7f78a7ff
...
...
@@ -50,8 +50,9 @@ def call(org.moodle.ci.Task task) {
stage
(
"Run Task"
)
{
steps
{
echo
sh
(
script:
'env|sort'
,
returnStdout:
true
)
sh
task
.
getPathToRunner
(
env
,
steps
)
wrap
([
$class
:
'AnsiColorBuildWrapper'
,
'colorMapName'
:
'xterm'
])
{
sh
task
.
getPathToRunner
(
env
,
steps
)
}
}
}
...
...
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