Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Commit

Permalink
next draft
Browse files Browse the repository at this point in the history
  • Loading branch information
agabrys committed Dec 4, 2016
1 parent 03f181a commit d6216d3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
properties [[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', artifactDaysToKeep: -1, artifactNumToKeep: 10, daysToKeep: -1, numToKeep: 10]]]

node {
timestamps {
stage('Prepare') {
stage('Cleanup') {
step($class: "WsCleanup")
}
stage('Checkout') {
Expand All @@ -20,9 +22,5 @@ node {
stage('Archive') {
archiveArtifacts artifacts: "**/target/*.jar", fingerprint: true
}

stage('Cleanup') {
logRotator daysToKeep: -1, numToKeep: 10, artifactDaysToKeep: -1, artifactNumToKeep: 10
}
}
}

0 comments on commit d6216d3

Please sign in to comment.