mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-13 12:26:52 +00:00
Test again
This commit is contained in:
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 {
|
||||||
|
Reference in New Issue
Block a user