test
This commit is contained in:
parent
4cc9311b20
commit
fc55ad9818
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
|
@ -80,7 +80,7 @@ pipeline {
|
||||||
-w /app \\
|
-w /app \\
|
||||||
nginxproxymanager/nginx-full:certbot-node \\
|
nginxproxymanager/nginx-full:certbot-node \\
|
||||||
sh -c "yarn install && yarn eslint . && rm -rf node_modules" \\
|
sh -c "yarn install && yarn eslint . && rm -rf node_modules" \\
|
||||||
> ${env.WORKSPACE}/tmp-sh-output 2>&1
|
> ${WORKSPACE}/tmp-sh-output 2>&1
|
||||||
''')
|
''')
|
||||||
shOutput = readFile "${env.WORKSPACE}/tmp-sh-output"
|
shOutput = readFile "${env.WORKSPACE}/tmp-sh-output"
|
||||||
if (shStatusCode != 0) {
|
if (shStatusCode != 0) {
|
||||||
|
|
@ -101,7 +101,7 @@ pipeline {
|
||||||
--build-arg BUILD_COMMIT="${BUILD_COMMIT}" \\
|
--build-arg BUILD_COMMIT="${BUILD_COMMIT}" \\
|
||||||
--build-arg BUILD_DATE="$(date '+%Y-%m-%d %T %Z')" \\
|
--build-arg BUILD_DATE="$(date '+%Y-%m-%d %T %Z')" \\
|
||||||
. \\
|
. \\
|
||||||
> ${env.WORKSPACE}/tmp-sh-output 2>&1
|
> ${WORKSPACE}/tmp-sh-output 2>&1
|
||||||
''')
|
''')
|
||||||
shOutput = readFile "${env.WORKSPACE}/tmp-sh-output"
|
shOutput = readFile "${env.WORKSPACE}/tmp-sh-output"
|
||||||
if (shStatusCode != 0) {
|
if (shStatusCode != 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue