From 8faf7a05702bec1e3c913a01e4aa8340b5470670 Mon Sep 17 00:00:00 2001 From: Jakub Gumowski Date: Wed, 29 Dec 2021 00:31:27 +0100 Subject: [PATCH] Jenkins excl --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 88f5237..6985dff 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ pipeline { sshPublisherDesc( configName: "frontend-deploy", transfers: [ - sshTransfer(sourceFiles: '**/*', excludes:'**/node_modules/**'), + sshTransfer(sourceFiles: '**/*', excludes:'**/node_modules/**', excludes:'**/.npm/**'), sshTransfer(execCommand: """cd /var/www/html \ && npm install \ && npm run build""") @@ -34,7 +34,7 @@ pipeline { ] ) - discordSend description: "Jenkins Pipeline Build", link: env.BUILD_URL, result: currentBuild.currentResult, title: JOB_NAME, webhookURL: "https://discord.com/api/webhooks/921884411178418187/3st2Z5P9mxJnI2haY7eB9Pipwt8jn5noi8jm5AOt53B2DoxoxWaKVXXV0Dw5hmY91Da-" + //discordSend description: "Jenkins Pipeline Build", link: env.BUILD_URL, result: currentBuild.currentResult, title: JOB_NAME, webhookURL: "https://discord.com/api/webhooks/921884411178418187/3st2Z5P9mxJnI2haY7eB9Pipwt8jn5noi8jm5AOt53B2DoxoxWaKVXXV0Dw5hmY91Da-" } } }