From bd310ab287fcbe73d5828933a2047339d3e65eb5 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Fri, 20 Dec 2019 23:52:12 +0100 Subject: [PATCH] Jenkings config artifact - added the build output as an artifact - removed tslint call in Dependencies stage --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6f7ffd3..0f6d0ad 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,7 +8,6 @@ pipeline { nodejs(nodeJSInstallationName: 'Node 12.x') { sh 'npm i @angular/cli' sh 'npm i' - sh 'tslint "src/**/*.ts"' } } } @@ -26,6 +25,8 @@ pipeline { nodejs(nodeJSInstallationName: 'Node 12.x') { sh 'ng build --prod' } + sh '/bin/tar -zcvf greenvironment-frontend.tar.gz dist' + archiveArtifacts artifacts: 'greenvironment-frontend.tar.gz', fingerprint: true } } }