Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 20, 2024

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 fixes

v1.15: 1.15

Compare Source

⚠️ 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).

🚀 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 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

⚠️ 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 fixes

🚀 New features and improvements

📦 Dependency updates

v1.13: 1.13

Compare Source

🐛 Bug fixes

🚀 New features and improvements

📦 Dependency updates

v1.12: 1.12

Compare 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.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 renovate bot requested a review from a team as a code owner September 20, 2024 12:08
@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch 2 times, most recently from 7b5c54d to 43a4ecf Compare September 26, 2024 07:25
@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch 5 times, most recently from 626b595 to 3c50bca Compare October 7, 2024 13:23
@renovate renovate bot changed the title chore(deps): update dependency com.lesfurets:jenkins-pipeline-unit to v1.22 chore(deps): update dependency com.lesfurets:jenkins-pipeline-unit to v1.24 Oct 7, 2024
@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch 11 times, most recently from 08929dc to c6ba1d4 Compare October 11, 2024 09:58
@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch 8 times, most recently from 694e86c to 44e2afa Compare October 21, 2024 08:26
@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch 2 times, most recently from b719d79 to aabaecb Compare October 22, 2024 08:52
@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch 8 times, most recently from 0d799b2 to 310ac18 Compare October 29, 2024 07:43
@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch 5 times, most recently from d478cf2 to d53a619 Compare November 6, 2024 10:53
@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch 3 times, most recently from bfa55ed to 5b06079 Compare November 12, 2024 11:36
@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch 3 times, most recently from bf6c1c6 to e5c0746 Compare November 21, 2024 08:33
@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from e5c0746 to 1fe1836 Compare November 22, 2024 13:08
Copy link

sonarcloud bot commented Nov 22, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants