forked from jenkinsci/compress-artifacts-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require Jenkins 2.452.4, depend on commons compress API plugin
Jenkins 2.489 removes the commons compress library from Jenkins core. This plugin depended on the commons compress library being provided by Jenkins core in order to satisfy the transitive dependency from truezip-driver-zip. Make the plugin depend on commons-compress-api plugin instead of commons-core from Jenkins core so that the plugin can run on Jenkins versions 2.489 and later. This issue also blocks the update of the Jenkins acceptance test harness to use Jenkins 2.489. The pull request that fails due to the compress artifacts plugin is: * jenkinsci/acceptance-test-harness#1860 Testing done: Confirmed that the released plugin fails when loaded into Jenkins 2.489 after enabling Artifact Management for Builds with the "Compress Artifacts" setting. The Pipeline job looks like this: pipeline { agent any stages { stage('Hello') { steps { sh 'date >> datefile.txt' archiveArtifacts artifacts: 'datefile.txt' } } } } Confirmed that the same Pipeline library works correctly with the updated version of the plugin from this change.
- Loading branch information
1 parent
98adbd3
commit 673207b
Showing
3 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters