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 ...'
|
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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue