jenkins-library icon indicating copy to clipboard operation
jenkins-library copied to clipboard

chore(deps): update dependency com.lesfurets:jenkins-pipeline-unit to v1.24

Open renovate[bot] opened this issue 1 year ago • 1 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.lesfurets:jenkins-pipeline-unit 1.1 -> 1.24 age adoption passing confidence

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.23

Compare Source

✍ Other changes

📦 Dependency updates

v1.22

Compare Source

v1.20: 1.20

Compare Source

⚠️ Breaking changes

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

📦 Dependency updates

31 changes

v1.19: 1.19

Compare 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

📦 Dependency updates

16 changes

v1.17: 1.17

Compare Source

🚀 New features and improvements

✍ Other changes

📦 Dependency updates

v1.16: 1.16

Compare Source

:bug: Bug fixes

v1.15: 1.15

Compare Source

:warning: Breaking API changes

  • Make params map immutable (#​542) @​nre-ableton. If your code was (incorrectly) modifying values in 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 the params map, you must use addParams.
  • mockShOutputs has been renamed to mockShHandlers (see below, #​498).

:rocket: New features and improvements

  • script handlers using patterns (#​498) @​UlrichEckhardt. Previously, helper.addShMock took a String as the first argument for an exact command to match. This method now can take a Pattern to match a regular expression, a String for an exact match (the same behavior as before), or no argument to match anything.

Some examples:

@​Test
void testWhatever() {
    helper.addShMock(~/echo\s(.*)/, 'mock-output', 0)
    helper.addShMock('echo "hello, world"', 'mock-output', 0)
    helper.addShMock('default-mock-output', 0)
}

:bug: Bug fixes

  • Fix for shared lib and params variables being null in environment section (#​529) @​tomek-d
  • bugfix(declarative): Stage with any 2 of parallel, steps, matrix, stages should throw error (#​506) @​stchar

✍ Other changes

📦 Dependency updates

v1.14: 1.14

Compare Source

:warning: Breaking API changes

  • Fix sh default output (#​483) @​UlrichEckhardt. Specifically, the default output of the sh mock was removed. Formerly, the sh mock would return either abcd123\n for git rev-parse HEAD or \nbbb\nccc\n in all other cases (and a similar output for bat). If your tests relied on this behavior, you must now register proper output for sh commands like so:
@​Test
void testGit() {
    helper.addShMock("git rev-parse HEAD", "\nbbb\nccc\n", 0)
    def result = script.sh(script: "git rev-parse HEAD", returnStdout: true)
    assertEquals("\nbbb\nccc\n", result)
}

Please see the documentation for mocking sh for more information.

  • The PipelineTestHelper.mockScriptOutputs field was renamed to PipelineTestHelper.mockShOutputs, in order to accommodate the new PipelineTestHelper.mockBatOutputs field. If your tests called helper.mockScriptOutputs, you can simply rename these usages to helper.mockShOutputs.

:bug: Bug fixes

:rocket: New features and improvements

📦 Dependency updates

v1.13: 1.13

Compare Source

:bug: Bug fixes

:rocket: New features and improvements

📦 Dependency updates

v1.12: 1.12

Compare Source

🚀 New features and improvements

🐛 Bug fixes

Full Changelog: https://github.com/jenkinsci/JenkinsPipelineUnit/compare/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.10

Compare Source

🚀 New features and improvements

🐛 Bug fixes

v1.9: 1.9

Compare Source

🚀 New features and improvements

🐛 Bug fixes

v1.8: 1.8

Compare Source

v1.7: 1.7

Compare Source

v1.6: 1.6

Compare Source

🚀 New features and improvements

v1.5: 1.5

Compare Source

v1.4: 1.4

Compare Source


Configuration

📅 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.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Sep 20 '24 12:09 renovate[bot]

/it-go

github-actions[bot] avatar Feb 04 '25 12:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 07 '25 11:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 10 '25 13:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 11 '25 08:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 11 '25 09:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 11 '25 10:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 12 '25 16:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 13 '25 13:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 13 '25 14:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 14 '25 10:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 14 '25 13:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 17 '25 11:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 17 '25 16:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 18 '25 11:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 19 '25 07:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 19 '25 22:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 20 '25 16:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 24 '25 09:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 25 '25 10:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 25 '25 11:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 26 '25 07:02 github-actions[bot]

/it-go

github-actions[bot] avatar Feb 27 '25 14:02 github-actions[bot]

Thank you for your contribution! This pull request is stale because it has been open 60 days with no activity. In order to keep it open, please remove stale label or add a comment within the next 10 days. If you need a Piper team member to remove the stale label make sure to add @SAP/jenkins-library-team to your comment.

github-actions[bot] avatar May 07 '25 00:05 github-actions[bot]

Pull request got stale and no further activity happened. It has automatically been closed. Please re-open in case you still consider it relevant.

github-actions[bot] avatar May 17 '25 00:05 github-actions[bot]

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (1.26). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

renovate[bot] avatar May 17 '25 00:05 renovate[bot]