Skip to content

Commit

Permalink
PHPCLIENT-13: Jenkinsfile update
Browse files Browse the repository at this point in the history
  • Loading branch information
pgmillon committed May 30, 2018
1 parent 42c1f51 commit fe57acc
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright 2016 Nuxeo SA (http://nuxeo.com/) and contributors.
* (C) Copyright 2018 Nuxeo SA (http://nuxeo.com/) and contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,11 +12,14 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Contributors:
* Pierre-Gildas MILLON <[email protected]>
*/

properties([
[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', daysToKeepStr: '60', numToKeepStr: '60', artifactNumToKeepStr: '1']],
disableConcurrentBuilds(),
[$class: 'RebuildSettings', autoRebuild: false, rebuildDisabled: false],
])

node('SLAVE') {
timeout(60) {
timestamps {
Expand Down Expand Up @@ -72,11 +75,13 @@ Outdated dependencies Report

}
}

} catch (e) {
currentBuild.result = "FAILURE"
step([$class: 'ClaimPublisher'])
throw e
} finally {
// claimPublisher()
step([$class: 'JiraIssueUpdater', issueSelector: [$class: 'DefaultIssueSelector'], scm: scm])
}

}
}
}

0 comments on commit fe57acc

Please sign in to comment.