Releases: jenkinsci/JenkinsPipelineUnit
1.29
1.28
⚠️ Breaking changes
- Add dynamic credential handling for withCredentials (#720) @martinreck. If your pipeline is evaluating the result of
withCredentials, then you will need to adapt either the pipeline or test code for the new API. See discussion in #720 for more details.
📦 Dependency updates
- build(deps): bump com.cloudbees:groovy-cps from 4165.vf547819734da_ to 4177.vb_203fe395445 (#719) @dependabot
- build(deps): bump org.assertj:assertj-core from 3.27.3 to 3.27.4 (#718) @dependabot
- build(deps): bump commons-io:commons-io from 2.19.0 to 2.20.0 (#716) @dependabot
- build(deps): bump com.cloudbees:groovy-cps from 4151.v5406e29e3c90 to 4165.vf547819734da_ (#715) @dependabot
1.27
This is mostly a maintenance release meant to correct the confusion with the v1.25/v1.26 release. Those releases point to the same git commit, but v1.25 was published to GitHub and not Jenkins' artifactory repo, while v1.26 was published to Jenkins' artifactory repo and not GitHub.
✍ Other changes
- Update VerificationException.groovy (#709) @AbhinavJha1023
📦 Dependency updates
- build(deps): bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 (#714) @dependabot
- build(deps): bump com.cloudbees:groovy-cps from 4045.v0efb_cb_7cea_e9 to 4151.v5406e29e3c90 (#713) @dependabot
- build(deps): bump commons-io:commons-io from 2.18.0 to 2.19.0 (#711) @dependabot
- build(deps): bump com.cloudbees:groovy-cps from 4032.vf3248d9c3fee to 4045.v0efb_cb_7cea_e9 (#708) @dependabot
- build(deps): bump com.cloudbees:groovy-cps from 4018.vf02e01888da_f to 4032.vf3248d9c3fee (#705) @dependabot
- build(deps): bump com.cloudbees:groovy-cps from 4003.vf9c56141493e to 4018.vf02e01888da_f (#702) @dependabot
1.25
⚠️ Breaking changes
- Java 17 is now required for JenkinsPipelineUnit (see #700)
📦 Dependency updates
- build(deps): bump io.jenkins.plugins:pipeline-groovy-lib from 751.v709f84f7d768 to 752.vdddedf804e72 (#700) @dependabot
- build(deps): bump io.jenkins.plugins:pipeline-groovy-lib from 745.vdf6077913de0 to 751.v709f84f7d768 (#698) @dependabot
- build(deps): bump org.assertj:assertj-core from 3.27.2 to 3.27.3 (#697) @dependabot
- build(deps): bump io.jenkins.plugins:pipeline-groovy-lib from 740.va_2701257fe8d to 745.vdf6077913de0 (#694) @dependabot
- build(deps): bump org.apache.ivy:ivy from 2.5.2 to 2.5.3 (#692) @dependabot
- build(deps): bump net.researchgate.release from 3.0.2 to 3.1.0 (#691) @dependabot
- build(deps): bump com.cloudbees:groovy-cps from 4000.v5198556e9cea_ to 4003.vf9c56141493e (#695) @dependabot
- build(deps): bump org.assertj:assertj-core from 3.26.3 to 3.27.2 (#696) @dependabot
- build(deps): bump com.cloudbees:groovy-cps from 3996.va_f5c1799f978 to 4000.v5198556e9cea_ (#688) @dependabot
- build(deps): bump com.cloudbees:groovy-cps from 3975.3977.v478dd9e956c3 to 3996.va_f5c1799f978 (#687) @dependabot
- build(deps): bump commons-io:commons-io from 2.17.0 to 2.18.0 (#686) @dependabot
- build(deps): bump com.cloudbees:groovy-cps from 3953.v19f11da_8d2fa_ to 3975.3977.v478dd9e956c3 (#685) @dependabot
- build(deps): bump io.jenkins.plugins:pipeline-groovy-lib from 700.v0e341fa_57d53 to 740.va_2701257fe8d (#683) @dependabot
v1.24
(This is an empty release, as artifacts for v1.23 were mistakenly published with the v1.24 version)
1.23
✍ Other changes
- Added support for beforeAgent property in when statements (#680) @MKITConsulting
- feat: add support for the
encodingparameter of thelibraryResourcestep (#670) @axieum - fix: do not execute
parallelduring skipped declarative stage (#672) @axieum
📦 Dependency updates
- build(deps): bump commons-io:commons-io from 2.16.1 to 2.17.0 (#681) @dependabot
- build(deps): bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 (#678) @dependabot
- build(deps): bump com.cloudbees:groovy-cps from 3946.v7935cb_edb_f82 to 3953.v19f11da_8d2fa_ (#677) @dependabot
- build(deps): bump com.cloudbees:groovy-cps from 3894.3896.vca_2c931e7935 to 3946.v7935cb_edb_f82 (#676) @dependabot
- build(deps): bump com.jfrog.artifactory from 5.2.4 to 5.2.5 (#675) @dependabot
- build(deps): bump com.jfrog.artifactory from 5.2.3 to 5.2.4 (#674) @dependabot
- build(deps): bump org.apache.commons:commons-lang3 from 3.15.0 to 3.16.0 (#673) @dependabot
1.22
✍ Other changes
- fix(PipelineBaseTest): callstackdump should be updated if callstack is changed (#665) @stchar
- docs(README): add environment variable example (#662) @axieum
📦 Dependency updates
- Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.15.0 (#668) @dependabot
- Bump com.jfrog.artifactory from 5.2.2 to 5.2.3 (#667) @dependabot
- Bump org.assertj:assertj-core from 3.26.0 to 3.26.3 (#666) @dependabot
- Bump com.jfrog.artifactory from 5.2.1 to 5.2.2 (#661) @dependabot
- Bump com.jfrog.artifactory from 5.2.0 to 5.2.1 (#660) @dependabot
- Bump org.assertj:assertj-core from 3.25.3 to 3.26.0 (#659) @dependabot
1.20
⚠️ Breaking changes
- Add match-all addShMock invocation (#657) @rmartine-ias
This change removes the null argument to addShMock/addBatMock for registering a default matcher. The new API takes only a Closure, meaning that you can simply remove the null argument. Adapting your code should look something like this:
-helper.addShMock(null) { println(“No call matched”) }
+helper.addShMock { println(“No call matched”) }✍ Other changes
- Add calls to super.setUp() in README examples (#646) @nre-ableton
- Update README.md to discuss setUp (#620) @ryeleo
- Update release documentation (#614) @nre-ableton
📦 Dependency updates
31 changes
- Bump com.cloudbees:groovy-cps from 3867.v535458ce43fd to 3894.3896.vca_2c931e7935 (#658) @dependabot
- Bump commons-io:commons-io from 2.16.0 to 2.16.1 (#656) @dependabot
- Bump commons-io:commons-io from 2.15.1 to 2.16.0 (#655) @dependabot
- Bump com.cloudbees:groovy-cps from 3832.vc43e04d6d68c to 3867.v535458ce43fd (#654) @dependabot
- Bump com.jfrog.artifactory from 5.1.14 to 5.2.0 (#652) @dependabot
- Bump org.assertj:assertj-core from 3.25.2 to 3.25.3 (#651) @dependabot
- Bump org.assertj:assertj-core from 3.25.1 to 3.25.2 (#650) @dependabot
- Bump io.jenkins.plugins:pipeline-groovy-lib from 687.v62591d623759 to 700.v0e341fa_57d53 (#649) @dependabot
- Bump com.jfrog.artifactory from 5.1.13 to 5.1.14 (#648) @dependabot
- Bump com.cloudbees:groovy-cps from 3773.v505e0052522c to 3832.vc43e04d6d68c (#645) @dependabot
- Bump org.assertj:assertj-core from 3.25.0 to 3.25.1 (#644) @dependabot
- Bump com.jfrog.artifactory from 5.1.11 to 5.1.13 (#642) @dependabot
- Bump org.assertj:assertj-core from 3.24.2 to 3.25.0 (#643) @dependabot
- Bump commons-io:commons-io from 2.15.0 to 2.15.1 (#639) @dependabot
- Bump org.apache.commons:commons-lang3 from 3.13.0 to 3.14.0 (#638) @dependabot
- Bump com.jfrog.artifactory from 5.1.10 to 5.1.11 (#637) @dependabot
- Bump commons-io:commons-io from 2.14.0 to 2.15.0 (#636) @dependabot
- Bump com.jfrog.artifactory from 5.1.9 to 5.1.10 (#635) @dependabot
- Bump commons-io:commons-io from 2.13.0 to 2.14.0 (#634) @dependabot
- Bump com.jfrog.artifactory from 5.1.6 to 5.1.9 (#633) @dependabot
- Bump io.jenkins.plugins:pipeline-groovy-lib from 685.v8ee9ed91d574 to 687.v62591d623759 (#632) @dependabot
- Bump com.jfrog.artifactory from 5.1.5 to 5.1.6 (#631) @dependabot
- Bump com.jfrog.artifactory from 5.1.4 to 5.1.5 (#630) @dependabot
- Bump io.jenkins.plugins:pipeline-groovy-lib from 673.vb_c5d5948283c to 685.v8ee9ed91d574 (#629) @dependabot
- Bump io.jenkins.plugins:pipeline-groovy-lib from 671.v07c339c842e8 to 673.vb_c5d5948283c (#628) @dependabot
- Bump org.apache.ivy:ivy from 2.5.1 to 2.5.2 (#622) @dependabot
- Bump com.cloudbees:groovy-cps from 3728.vd5c88eef9154 to 3773.v505e0052522c (#626) @dependabot
- Bump com.jfrog.artifactory from 5.1.0 to 5.1.4 (#627) @dependabot
- Bump com.jfrog.artifactory from 5.0.3 to 5.1.0 (#619) @dependabot
- Bump io.jenkins.plugins:pipeline-groovy-lib from 656.va_a_ceeb_6ffb_f7 to 671.v07c339c842e8 (#618) @dependabot
- Bump com.cloudbees:groovy-cps from 3726.v83f8cff396c9 to 3728.vd5c88eef9154 (#615) @dependabot
1.19
(Note: version v1.18 will be skipped due to some problems I had with the Gradle release plugin, since we've already published the tag and artifacts for v1.19. 😅)
👷 Changes for plugin developers
- Update groovy-cps from 1.31 to 3722.v85ce2a_c6240b_ (#611) @NotMyFault
✍ Other changes
- Gradle version updated to 8.0 (#597) @atai
- Support dockerfile agent declaration with filename (#598) @zgyorffi
- Add documentation about
addParam(#594) @nre-ableton
📦 Dependency updates
16 changes
- Bump com.cloudbees:groovy-cps from 3722.v85ce2a_c6240b_ to 3726.v83f8cff396c9 (#613) @dependabot
- Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.13.0 (#610) @dependabot
- Bump com.jfrog.artifactory from 4.33.1 to 5.0.3 (#609) @dependabot
- Bump com.jfrog.artifactory from 4.32.0 to 4.33.1 (#604) @dependabot
- Bump commons-io:commons-io from 2.12.0 to 2.13.0 (#603) @dependabot
- Bump com.jfrog.artifactory from 4.31.9 to 4.32.0 (#601) @dependabot
- Bump commons-io:commons-io from 2.11.0 to 2.12.0 (#600) @dependabot
- Bump com.jfrog.artifactory from 4.31.8 to 4.31.9 (#596) @dependabot
- Bump com.jfrog.artifactory from 4.31.7 to 4.31.8 (#593) @dependabot
- Bump com.jfrog.artifactory from 4.31.6 to 4.31.7 (#592) @dependabot
- Bump com.jfrog.artifactory from 4.31.5 to 4.31.6 (#591) @dependabot
- Bump com.jfrog.artifactory from 4.31.4 to 4.31.5 (#590) @dependabot
- Bump com.jfrog.artifactory from 4.31.3 to 4.31.4 (#587) @dependabot
- Bump com.jfrog.artifactory from 4.31.1 to 4.31.3 (#586) @dependabot
- Bump com.jfrog.artifactory from 4.31.0 to 4.31.1 (#584) @dependabot
- Bump assertj-core from 3.24.1 to 3.24.2 (#583) @dependabot
1.17
🚀 New features and improvements
- Allow declaration of kubernetes agent with no config (#568) @keegangroth
- Add Map parameter to catchError mock (#571) @Bilgetz
✍ Other changes
- Require Java 11 for Gradle build, remove Spring framework (#576) @nre-ableton
- Add note about Groovy 4 compatibility in README (#575) @nre-ableton
- Improvements to README (#552) @nre-ableton
📦 Dependency updates
- Bump groovy-all to 2.4.21 (#582) @nre-ableton
- Bump assertj-core from 3.24.0 to 3.24.1 (#580) @dependabot
- Bump assertj-core from 3.23.1 to 3.24.0 (#579) @dependabot
- Bump com.jfrog.artifactory from 4.30.1 to 4.31.0 (#577) @dependabot
- Bump com.jfrog.artifactory from 4.30.0 to 4.30.1 (#573) @dependabot
- Bump com.jfrog.artifactory from 4.29.4 to 4.30.0 (#572) @dependabot
- Bump com.jfrog.artifactory from 4.29.3 to 4.29.4 (#569) @dependabot
- Bump com.jfrog.artifactory from 4.29.2 to 4.29.3 (#563) @dependabot
- Bump ivy from 2.5.0 to 2.5.1 (#562) @dependabot
- Bump com.jfrog.artifactory from 4.29.1 to 4.29.2 (#558) @dependabot
- Bump com.jfrog.artifactory from 4.29.0 to 4.29.1 (#557) @dependabot
- Bump spring-core from 5.3.22 to 5.3.23 (#556) @dependabot
- Bump net.researchgate.release from 3.0.1 to 3.0.2 (#555) @dependabot
- Bump net.researchgate.release from 3.0.0 to 3.0.1 (#553) @dependabot
- Bump com.jfrog.artifactory from 4.28.4 to 4.29.0 (#548) @dependabot