Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

Commit 856c38c

Browse files
authored
Update .neckbeard
1 parent 6ac674f commit 856c38c

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.neckbeard

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
pipeline {
22
agent {
3-
any {
4-
image 'maven:3-alpine'
5-
args '-v /root/.m2:/root/.m2'
6-
}
3+
any {}
4+
}
5+
options {
6+
timeout(time: 5, unit: 'MINUTES')
77
}
88
stages {
99
stage('build') {
1010
steps {
11-
sh 'mvn -B -DskipTests clean package'
11+
sh 'mvn -B clean package'
1212
}
1313
}
1414
}
15+
post {
16+
always {
17+
archiveArtifacts artifacts: 'target/*.jar', fingerprint: true, onlyIfSuccessful: true
18+
}
19+
}
1520
}

0 commit comments

Comments
 (0)