From 02db6bd65b59b65b44504075d3b39693ca3282bc Mon Sep 17 00:00:00 2001 From: Trivernis Date: Thu, 19 Dec 2019 19:18:02 +0100 Subject: [PATCH] Jenkins config - fixed stage declaration --- Jenkinsfile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 698129e..aa7e8c8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,18 +1,20 @@ pipeline { agent any - stage('Stylecheck') { + stages { + stage('Stylecheck') { steps { echo 'Checking Style...' sh 'npm i' sh 'npm i tslint --dev' sh 'tslint src/**/*.ts' } - } - stage('Build') { - steps { - echo 'Building...' - sh 'ng build --prod' + } + stage('Build') { + steps { + echo 'Building...' + sh 'ng build --prod' + } } } }