From 1d49229b8746463e5625030b30abe367a7fa5a28 Mon Sep 17 00:00:00 2001 From: Kristian Knarvik Date: Mon, 17 Aug 2020 12:10:42 +0200 Subject: [PATCH] Simplifies building steps --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b96cf03..6fcc8fe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,13 +10,13 @@ pipeline { stage('Test') { steps { echo 'Testing...' - sh 'mvn clean & mvn test' + sh 'mvn test' } } stage('Deploy') { steps { echo 'Deploying...' - sh 'mvn clean & mvn compile & mvn package & mvn verify & mvn install' + sh 'mvn package & mvn verify' archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true } }