fix quoting in pipeline groovy
This commit is contained in:
@@ -150,7 +150,13 @@ pipeline {
|
|||||||
|
|
||||||
stage('macos_x86_64_shared') {
|
stage('macos_x86_64_shared') {
|
||||||
steps {
|
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') {
|
stage('macos_x86_64_shared_crypto') {
|
||||||
@@ -190,7 +196,13 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('macos_x86_64_static') {
|
stage('macos_x86_64_static') {
|
||||||
steps {
|
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') {
|
stage('macos_x86_64_static_crypto') {
|
||||||
|
|||||||
@@ -44,7 +44,13 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('msys2_x86_64_shared') {
|
stage('msys2_x86_64_shared') {
|
||||||
steps {
|
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') {
|
stage('msys2_x86_64_shared_crypto') {
|
||||||
|
|||||||
@@ -53,7 +53,11 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
retryWithBackoff(2, 5) { sh 'scripts/run_tests.sh' }
|
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' }
|
retryWithBackoff(2, 5) { sh 'scripts/run_tests.sh aarch64' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -62,8 +66,16 @@ pipeline {
|
|||||||
stage('deliver') {
|
stage('deliver') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
retryWithBackoff(3, 10) { sh 'scripts/deliver.sh /mnt/%PROJECT_NAME% "" "" "" "" 1 1' }
|
retryWithBackoff(3, 10) {
|
||||||
retryWithBackoff(3, 10) { sh 'scripts/deliver.sh /mnt/%PROJECT_NAME% "" aarch64' }
|
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%' }
|
retryWithBackoff(3, 10) { sh 'scripts/deliver.sh /mnt/%PROJECT_NAME%' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,8 +57,16 @@ pipeline {
|
|||||||
stage('deliver') {
|
stage('deliver') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
retryWithBackoff(3, 10) { sh 'scripts/deliver.sh /mnt/%PROJECT_NAME% "" aarch64' }
|
retryWithBackoff(3, 10) {
|
||||||
retryWithBackoff(3, 10) { sh 'scripts/deliver.sh /mnt/%PROJECT_NAME% "" x86_64' }
|
sh '''
|
||||||
|
scripts/deliver.sh /mnt/%PROJECT_NAME% "" aarch64
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
retryWithBackoff(3, 10) {
|
||||||
|
sh '''
|
||||||
|
scripts/deliver.sh /mnt/%PROJECT_NAME% "" x86_64
|
||||||
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,13 +50,17 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// stage('deliver') {
|
stage('deliver') {
|
||||||
// steps {
|
steps {
|
||||||
// script {
|
script {
|
||||||
// retryWithBackoff(3, 10) { bat 'scripts\\deliver.cmd C:\\deliver\\%PROJECT_NAME% "" x86_64' }
|
retryWithBackoff(3, 10) {
|
||||||
// }
|
bat '''
|
||||||
// }
|
scripts\\deliver.cmd C:\\deliver\\%PROJECT_NAME% "" x86_64
|
||||||
// }
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user