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
b2410095
Commit
b2410095
authored
Dec 15, 2017
by
Andrew Nicols
Browse files
runTask: Maybe more is better
parent
7f6d1430
Changes
1
Hide whitespace changes
Inline
Side-by-side
vars/runTask.groovy
View file @
b2410095
...
...
@@ -52,7 +52,7 @@ def call(String task, String branch, String repo, String phpversion, String data
steps
{
script
{
moodleversion
=
sh
(
script:
'grep "$branch" moodle/version.php | sed "s/^[^\']*\'\\([^\']*\\).*\$/\\1/"'
,
script:
'grep "
\\
$branch" moodle/version.php | sed "s/^[^\']*\'\\([^\']*\\).*\$/\\1/"'
,
returnStdout:
true
).
trim
()
runner
=
"${env.PATHTORUNNER}/${moodleversion}"
...
...
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