Preserve artifacts
All checks were successful
Homelab/java-spring-microservice/pipeline/head This commit looks good
All checks were successful
Homelab/java-spring-microservice/pipeline/head This commit looks good
This commit is contained in:
parent
d700721673
commit
6331a5e5e9
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user