A minor upgrade from 14.5.2 to 14.7.0 version will be performed next Friday, January 28 starting at 8 pm UTC up to 8.20 pm UTC. A short 20 min downtime is expected.

Commit ead0f59e authored by Andrew Nicols's avatar Andrew Nicols
Browse files

runTask: Better quoting

parent efec8b51
......@@ -51,7 +51,7 @@ def call(String task, String branch, String repo, String phpversion, String data
stage("Detect Moodle Version") {
steps {
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