Skip to content

Commit 038084d

Browse files
Jenkins: replace deprecated archive with archiveArtifacts.
1 parent f4eebf2 commit 038084d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ pipeline {
8686
post {
8787
always {
8888
junit '**/build/test-results/**/TEST-*.xml'
89-
archive 'tests/*/hs_err_pid*.log'
90-
archive '**/build/reports/findbugs/*'
89+
archiveArtifacts 'tests/*/hs_err_pid*.log'
90+
archiveArtifacts '**/build/reports/findbugs/*'
9191

9292
googlechatnotification url: 'id:gchat_java', message: "${currentBuild.currentResult}: ${currentBuild.fullDisplayName}\n${env.BUILD_URL}",
9393
notifyFailure: 'true', notifyUnstable: 'true', notifyBackToNormal: 'true'

ci/Jenkinsfile-Windows

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ pipeline {
4343
post {
4444
always {
4545
junit '**/build/test-results/**/TEST-*.xml'
46-
archive 'tests/*/hs_err_pid*.log'
47-
archive '**/build/reports/findbugs/*'
46+
archiveArtifacts 'tests/*/hs_err_pid*.log'
47+
archiveArtifacts '**/build/reports/findbugs/*'
4848
}
4949

5050
failure {

0 commit comments

Comments
 (0)