fix quoting in pipeline groovy
Some checks failed
sgraves/cpp-build-system/pipeline/head Something is wrong with the build of this commit
sgraves/cpp-build-system_mac/pipeline/head This commit looks good

This commit is contained in:
2026-01-25 09:21:48 -06:00
parent fd77678378
commit 22dd35da0b
5 changed files with 57 additions and 15 deletions

View File

@@ -150,7 +150,13 @@ pipeline {
stage('macos_x86_64_shared') {
steps {
script { retryWithBackoff(2, 5) { sh 'scripts/test_unix.sh shared "" x86_64' } }
script {
retryWithBackoff(2, 5) {
sh '''
scripts/test_unix.sh shared "" x86_64
'''
}
}
}
}
stage('macos_x86_64_shared_crypto') {
@@ -190,7 +196,13 @@ pipeline {
}
stage('macos_x86_64_static') {
steps {
script { retryWithBackoff(2, 5) { sh 'scripts/test_unix.sh static "" x86_64' } }
script {
retryWithBackoff(2, 5) {
sh '''
scripts/test_unix.sh static "" x86_64
'''
}
}
}
}
stage('macos_x86_64_static_crypto') {

View File

@@ -44,7 +44,13 @@ pipeline {
}
stage('msys2_x86_64_shared') {
steps {
script { retryWithBackoff(2, 5) { bat 'scripts\\test_msys2.cmd shared "" x86_64' } }
script {
retryWithBackoff(2, 5) {
bat '''
scripts\\test_msys2.cmd shared "" x86_64
'''
}
}
}
}
stage('msys2_x86_64_shared_crypto') {

View File

@@ -53,7 +53,11 @@ pipeline {
steps {
script {
retryWithBackoff(2, 5) { sh 'scripts/run_tests.sh' }
retryWithBackoff(2, 5) { sh 'scripts/run_tests.sh "" "" "" "" 1 1' }
retryWithBackoff(2, 5) {
sh '''
scripts/run_tests.sh "" "" "" "" 1 1
'''
}
retryWithBackoff(2, 5) { sh 'scripts/run_tests.sh aarch64' }
}
}
@@ -62,8 +66,16 @@ pipeline {
stage('deliver') {
steps {
script {
retryWithBackoff(3, 10) { sh 'scripts/deliver.sh /mnt/%PROJECT_NAME% "" "" "" "" 1 1' }
retryWithBackoff(3, 10) { sh 'scripts/deliver.sh /mnt/%PROJECT_NAME% "" aarch64' }
retryWithBackoff(3, 10) {
sh '''
scripts/deliver.sh /mnt/%PROJECT_NAME% "" "" "" "" 1 1
'''
}
retryWithBackoff(3, 10) {
sh '''
scripts/deliver.sh /mnt/%PROJECT_NAME% "" aarch64
'''
}
retryWithBackoff(3, 10) { sh 'scripts/deliver.sh /mnt/%PROJECT_NAME%' }
}
}

View File

@@ -57,8 +57,16 @@ pipeline {
stage('deliver') {
steps {
script {
retryWithBackoff(3, 10) { sh 'scripts/deliver.sh /mnt/%PROJECT_NAME% "" aarch64' }
retryWithBackoff(3, 10) { sh 'scripts/deliver.sh /mnt/%PROJECT_NAME% "" x86_64' }
retryWithBackoff(3, 10) {
sh '''
scripts/deliver.sh /mnt/%PROJECT_NAME% "" aarch64
'''
}
retryWithBackoff(3, 10) {
sh '''
scripts/deliver.sh /mnt/%PROJECT_NAME% "" x86_64
'''
}
}
}
}

View File

@@ -50,13 +50,17 @@ pipeline {
}
}
// stage('deliver') {
// steps {
// script {
// retryWithBackoff(3, 10) { bat 'scripts\\deliver.cmd C:\\deliver\\%PROJECT_NAME% "" x86_64' }
// }
// }
// }
stage('deliver') {
steps {
script {
retryWithBackoff(3, 10) {
bat '''
scripts\\deliver.cmd C:\\deliver\\%PROJECT_NAME% "" x86_64
'''
}
}
}
}
}
}
}