Thanks bcrypt. Why can't you just be normal.
This commit is contained in:
parent
dc72cd8386
commit
42f6813641
1 changed files with 2 additions and 1 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -45,10 +45,11 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
ansiColor('xterm') {
|
ansiColor('xterm') {
|
||||||
echo 'Checking Syntax ...'
|
echo 'Checking Syntax ...'
|
||||||
|
// See: https://github.com/yarnpkg/yarn/issues/3254
|
||||||
sh '''docker run --rm \\
|
sh '''docker run --rm \\
|
||||||
-v "$(pwd)/backend:/app" \\
|
-v "$(pwd)/backend:/app" \\
|
||||||
-w /app \\
|
-w /app \\
|
||||||
node:alpine \\
|
node:latest \\
|
||||||
sh -c "yarn install && yarn eslint ."
|
sh -c "yarn install && yarn eslint ."
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue