diff --git a/Jenkinsfile b/Jenkinsfile index f75d97e..a7ae1ad 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,7 +10,6 @@ podTemplate(label: label, containers: [ ]) { node(label) { stage('Checkout') { - // git credentialsId: 'jenkins-credentials', url: 'https://git.thejimnicholson.com/homelab/java-spring-microservice.git' checkout scm container('maven') { stage('Build') { @@ -18,6 +17,9 @@ podTemplate(label: label, containers: [ mvn clean package -Dmaven.test.skip ''' } + stage('Archive') { + archiveArtifacts artifacts: 'target/*.jar', followSymlinks: false + } } } }