Jenkins excl syntax
This commit is contained in:
parent
8faf7a0570
commit
05acbf381d
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -24,7 +24,7 @@ pipeline {
|
||||
sshPublisherDesc(
|
||||
configName: "frontend-deploy",
|
||||
transfers: [
|
||||
sshTransfer(sourceFiles: '**/*', excludes:'**/node_modules/**', excludes:'**/.npm/**'),
|
||||
sshTransfer(sourceFiles: '**/*', excludes:'**/node_modules/**, **/.npm/**'),
|
||||
sshTransfer(execCommand: """cd /var/www/html \
|
||||
&& npm install \
|
||||
&& npm run build""")
|
||||
|
Loading…
Reference in New Issue
Block a user