From 1887d7c1fe88f29f12d50828b80328bb2262362e Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Tue, 11 Feb 2020 18:54:11 +0100 Subject: [PATCH] Updates Jenkinsfile --- Jenkinsfile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2f2bf81..3a57a7c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,24 +4,19 @@ pipeline { stage('Build') { steps { echo 'Building...' - mvn clean - mvn validate - mvn compile + sh 'mvn clean & mvn validate & mvn compile' } } stage('Test') { steps { echo 'Testing...' - mvn test + sh 'mvn test' } } stage('Deploy') { steps { echo 'Deploying...' - mvn package - mvn verify - mvn install - mvn deploy + sh 'mvn package & mvn verify & mvn install & mvn deploy' } } }