chore(deps): update dependency com.lesfurets:jenkins-pipeline-unit to v1.24 #5057
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.1
->1.24
Release Notes
jenkinsci/JenkinsPipelineUnit (com.lesfurets:jenkins-pipeline-unit)
v1.24
Compare Source
(This is an empty release, as artifacts for v1.23 were mistakenly published with the v1.24 version)
v1.23
: 1.23Compare Source
✍ Other changes
encoding
parameter of thelibraryResource
step (#670) @axieumparallel
during skipped declarative stage (#672) @axieum📦 Dependency updates
v1.22
Compare Source
v1.20
: 1.20Compare Source
This change removes the
null
argument toaddShMock
/addBatMock
for registering a default matcher. The new API takes only aClosure
, meaning that you can simply remove thenull
argument. Adapting your code should look something like this:✍ Other changes
📦 Dependency updates
31 changes
v1.19
: 1.19Compare Source
(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
✍ Other changes
addParam
(#594) @nre-ableton📦 Dependency updates
16 changes
v1.17
: 1.17Compare Source
🚀 New features and improvements
✍ Other changes
📦 Dependency updates
v1.16
: 1.16Compare Source
🐛 Bug fixes
v1.15
: 1.15Compare Source
params
, you'll now get an exception when trying to do this. This won't work on a real Jenkins server, and now it won't work in this framework either. To modify theparams
map, you must useaddParams
.mockShOutputs
has been renamed tomockShHandlers
(see below, #498).🚀 New features and improvements
helper.addShMock
took aString
as the first argument for an exact command to match. This method now can take aPattern
to match a regular expression, aString
for an exact match (the same behavior as before), or no argument to match anything.Some examples:
🐛 Bug fixes
✍ Other changes
MockScriptHandler
constructor (#541) @nre-ableton. This is related to https://github.com/jenkinsci/JenkinsPipelineUnit/pull/498 and would be a breaking API change, but https://github.com/jenkinsci/JenkinsPipelineUnit/pull/498 had not been part of a release yet.📦 Dependency updates
v1.14
: 1.14Compare Source
sh
mock was removed. Formerly, thesh
mock would return eitherabcd123\n
forgit rev-parse HEAD
or\nbbb\nccc\n
in all other cases (and a similar output forbat
). If your tests relied on this behavior, you must now register proper output forsh
commands like so:Please see the documentation for mocking
sh
for more information.PipelineTestHelper.mockScriptOutputs
field was renamed toPipelineTestHelper.mockShOutputs
, in order to accommodate the newPipelineTestHelper.mockBatOutputs
field. If your tests calledhelper.mockScriptOutputs
, you can simply rename these usages tohelper.mockShOutputs
.🐛 Bug fixes
=
character (#468) @Brenne🚀 New features and improvements
bat()
function (#484) @UlrichEckhardt📦 Dependency updates
v1.13
: 1.13Compare Source
🐛 Bug fixes
🚀 New features and improvements
📦 Dependency updates
v1.12
: 1.12Compare Source
🚀 New features and improvements
🐛 Bug fixes
Full Changelog: jenkinsci/JenkinsPipelineUnit@v1.10...v1.12
(Sorry for the confusion with the versioning; something went wrong with v1.11 and although the tag was published, it seems the binaries were not. Hence, v1.11 has been skipped and those changes are included in v1.12).
v1.10
: 1.10Compare Source
🚀 New features and improvements
🐛 Bug fixes
v1.9
: 1.9Compare Source
🚀 New features and improvements
🐛 Bug fixes
v1.8
: 1.8Compare Source
v1.7
: 1.7Compare Source
v1.6
: 1.6Compare Source
🚀 New features and improvements
v1.5
: 1.5Compare Source
v1.4
: 1.4Compare Source
StageDeclaration
class (#179) @wololockConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.