Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/compress-artifacts-plugin
  Commit: d4aa6dde33a56e4ac78ff4d0c31630a78a221fac
      
https://github.com/jenkinsci/compress-artifacts-plugin/commit/d4aa6dde33a56e4ac78ff4d0c31630a78a221fac
  Author: Mark Waite <mark.earl.wa...@gmail.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M Jenkinsfile
    M pom.xml
    M 
src/main/java/org/jenkinsci/plugins/compress_artifacts/TrueZipArchiver.java
    M src/test/java/org/jenkinsci/plugins/compress_artifacts/ZipStorageTest.java

  Log Message:
  -----------
  [JENKINS-74977] Require Jenkins 2.452.4, depend on commons compress API 
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:

* https://github.com/jenkinsci/acceptance-test-harness/pull/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



To unsubscribe from these emails, change your notification settings at 
https://github.com/jenkinsci/compress-artifacts-plugin/settings/notifications

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/compress-artifacts-plugin/push/refs/heads/master/98adbd-d4aa6d%40github.com.

Reply via email to