Skip to content

Commit 77522b9

Browse files
committed
use recommended archiveArtifacts instead of archive
1 parent 3f55b24 commit 77522b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipeline-examples/archive-build-output-artifacts/ArchiveBuildOutputArtifacts.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ node {
1414
stage "Archive build output"
1515

1616
// Archive the build output artifacts.
17-
archive excludes: 'output/*.md', includes: 'output/*.txt'
17+
archiveArtifacts artifacts: 'output/*.txt', excludes: 'output/*.md'
1818
}

0 commit comments

Comments
 (0)