Skip to content

Commit 4c2f01a

Browse files
committed
possibly need to double escape using a single quote as a field seperator
1 parent 0c49164 commit 4c2f01a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pipeline {
9696
steps{
9797
script{
9898
env.EXT_RELEASE = sh(
99-
script: ''' curl -s https://download.nextcloud.com/server/installer/setup-nextcloud.php | awk -F \' '/NC_VERSION/{print $4;exit}'
99+
script: ''' curl -s https://download.nextcloud.com/server/installer/setup-nextcloud.php | awk -F \\' '/NC_VERSION/{print $4;exit}'
100100
''',
101101
returnStdout: true).trim()
102102
env.RELEASE_LINK = 'custom_command'

0 commit comments

Comments
 (0)