Test again

This commit is contained in:
Jamie Curnow
2023-03-08 09:24:27 +10:00
parent 52165d8397
commit de72222e3d

4
Jenkinsfile vendored
View File

@@ -64,6 +64,7 @@ pipeline {
echo 'Checking Syntax ...' echo 'Checking Syntax ...'
sh 'docker pull nginxproxymanager/nginx-full:certbot-node' sh 'docker pull nginxproxymanager/nginx-full:certbot-node'
// See: https://github.com/yarnpkg/yarn/issues/3254 // See: https://github.com/yarnpkg/yarn/issues/3254
script {
SHOUTPUT = sh ( SHOUTPUT = sh (
script: '''docker run --rm \\ script: '''docker run --rm \\
-v "$(pwd)/backend:/app" \\ -v "$(pwd)/backend:/app" \\
@@ -74,8 +75,10 @@ pipeline {
''', ''',
returnStdout: true returnStdout: true
).trim() ).trim()
}
echo 'Docker Build ...' echo 'Docker Build ...'
script {
SHOUTPUT = sh ( SHOUTPUT = sh (
script: '''docker build --pull --no-cache --squash --compress \\ script: '''docker build --pull --no-cache --squash --compress \\
-t "${IMAGE}:ci-${BUILD_NUMBER}" \\ -t "${IMAGE}:ci-${BUILD_NUMBER}" \\
@@ -90,6 +93,7 @@ pipeline {
returnStdout: true returnStdout: true
).trim() ).trim()
} }
}
post { post {
failure { failure {
script { script {