Test again
This commit is contained in:
parent
52165d8397
commit
de72222e3d
1 changed files with 27 additions and 23 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue