diff --git a/Jenkinsfile b/Jenkinsfile index d0c4614ca..8f1ada293 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -66,11 +66,17 @@ pipeline { } } stage('Frontend') { + when { + expression { return FROM_GIT } + } steps { sh 'npm install --no-audit --prefer-offline --prefix=front' } } stage('Print') { + when { + expression { return FROM_GIT } + } steps { sh 'npm install --no-audit --prefer-offline --prefix=print' }