-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-74977] Require Jenkins 2.452.4, depend on commons compress A…
…PI plugin (#30) * 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. * Test with Java 17 and Java 21
- Loading branch information
1 parent
98adbd3
commit d4aa6dd
Showing
4 changed files
with
28 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
/* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */ | ||
/* | ||
See the documentation for more options: | ||
https://github.com/jenkins-infra/pipeline-library/ | ||
*/ | ||
buildPlugin( | ||
useContainerAgent: false, | ||
useContainerAgent: false, // CompressingArtifactManagerFactoryTest use a container image | ||
configurations: [ | ||
[platform: 'linux', jdk: 11], | ||
[platform: 'linux', jdk: 17], | ||
[platform: 'windows', jdk: 11], | ||
[platform: 'linux', jdk: 21], | ||
[platform: 'windows', jdk: 17], | ||
]) |
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