From c6da2ff7077faca2a96c6f3abcb297be8e085f8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Szczepa=C5=84ski?= Date: Sun, 24 Nov 2019 12:08:41 +0100 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 68a00b2..aeb8b9c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,20 +6,6 @@ pipeline { } stages { - stage('Front-end') { - agent { - docker { image 'node:7-alpine' } - } - steps { - echo 'Building FrontEnd...' - sh ''' - cd FrontEnd - npm install -g @angular/cli@1.7.4; - npm install - ng build --prod - ''' - } - } stage('Initialize') { steps { sh ''' @@ -47,5 +33,18 @@ pipeline { echo 'Deploying...' } } + stage('Front-end') { + agent { + docker { image 'node:7-alpine' } + } + steps { + echo 'Building FrontEnd...' + sh ''' + cd FrontEnd + npm install + ng build --prod + ''' + } + } } } \ No newline at end of file