Commit b2410095 authored by Andrew Nicols's avatar Andrew Nicols

runTask: Maybe more is better

parent 7f6d1430
......@@ -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}"
......
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