possibly need to double escape using a single quote as a field seperator

This commit is contained in:
thelamer 2019-01-29 14:33:49 -08:00
parent 0c49164eb6
commit 4c2f01a21f

2
Jenkinsfile vendored
View File

@ -96,7 +96,7 @@ pipeline {
steps{
script{
env.EXT_RELEASE = sh(
script: ''' curl -s https://download.nextcloud.com/server/installer/setup-nextcloud.php | awk -F \' '/NC_VERSION/{print $4;exit}'
script: ''' curl -s https://download.nextcloud.com/server/installer/setup-nextcloud.php | awk -F \\' '/NC_VERSION/{print $4;exit}'
''',
returnStdout: true).trim()
env.RELEASE_LINK = 'custom_command'