From 4c2f01a21f778e3d98110709684b142e11f2df35 Mon Sep 17 00:00:00 2001 From: thelamer Date: Tue, 29 Jan 2019 14:33:49 -0800 Subject: [PATCH] possibly need to double escape using a single quote as a field seperator --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 38e99f4..e0ef9a6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'