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.26 #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.26 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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 from 6a199b8 to cb51583 Compare February 14, 2025 10:20
Copy link
Contributor

/it-go

@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from cb51583 to fbda58f Compare February 14, 2025 13:49
Copy link
Contributor

/it-go

@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from fbda58f to eba6be5 Compare February 17, 2025 11:16
Copy link
Contributor

/it-go

@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from eba6be5 to 752c402 Compare February 17, 2025 16:57
Copy link
Contributor

/it-go

@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from 752c402 to d3c29df Compare February 18, 2025 11:12
Copy link
Contributor

/it-go

@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from d3c29df to ffd0705 Compare February 19, 2025 07:32
Copy link
Contributor

/it-go

@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from ffd0705 to e4134d8 Compare February 19, 2025 22:53
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 19, 2025
@renovate renovate bot changed the title chore(deps): update dependency com.lesfurets:jenkins-pipeline-unit to v1.24 chore(deps): update dependency com.lesfurets:jenkins-pipeline-unit to v1.26 Feb 19, 2025
Copy link
Contributor

/it-go

@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from e4134d8 to 7108829 Compare February 20, 2025 16:42
Copy link
Contributor

/it-go

@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from 7108829 to 5c1765b Compare February 24, 2025 09:04
Copy link
Contributor

/it-go

@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from 5c1765b to 9f60ae7 Compare February 25, 2025 10:25
Copy link
Contributor

/it-go

@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from 9f60ae7 to 4ca288c Compare February 25, 2025 11:17
Copy link
Contributor

/it-go

@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from 4ca288c to 758c7c3 Compare February 26, 2025 07:56
Copy link
Contributor

/it-go

@renovate renovate bot force-pushed the renovate/com.lesfurets-jenkins-pipeline-unit-1.x branch from 758c7c3 to bf6368a Compare February 27, 2025 14:19
Copy link
Contributor

/it-go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants