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