Jenkins excl syntax

This commit is contained in:
Jakub Gumowski 2021-12-29 00:35:36 +01:00
parent 8faf7a0570
commit 05acbf381d

2
Jenkinsfile vendored
View File

@ -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""")