From fd55abec4d98699643e827a2dfa46fcbf77f5fe1 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Tue, 11 Feb 2020 20:34:20 +0100 Subject: [PATCH] Tries fixing maven build errors by cleaning --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3a57a7c..373ce81 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,13 +10,13 @@ pipeline { stage('Test') { steps { echo 'Testing...' - sh 'mvn test' + sh 'mvn clean & mvn test' } } stage('Deploy') { steps { echo 'Deploying...' - sh 'mvn package & mvn verify & mvn install & mvn deploy' + sh 'mvn clean & mvn compile & mvn package & mvn verify & mvn install & mvn deploy' } } }