1.15
release-drafter
released this
15 Jul 09:11
·
215 commits
to refs/heads/master
since this release
⚠️ 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 theparams
map, you must useaddParams
. mockShOutputs
has been renamed tomockShHandlers
(see below, #498).
🚀 New features and improvements
- script handlers using patterns (#498) @UlrichEckhardt. Previously,
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:
@Test
void testWhatever() {
helper.addShMock(~/echo\s(.*)/, 'mock-output', 0)
helper.addShMock('echo "hello, world"', 'mock-output', 0)
helper.addShMock('default-mock-output', 0)
}
- feat(DockerMock): calls should show up in the call stack (#535) @stanovchar
- Generate a default closure in InterceptingGCL (#510) @nestoracunablanco
- Set currentBuild.currentResult in updateBuildStatus (#517) @nre-ableton
- Make bindings accessible in SharedLibrary classes. (#519) @nestoracunablanco
- Add mocks for all basic pipeline steps (#518) @nre-ableton
- Support "parameters" in scripted pipeline job (#495) @reinholdfuereder
🐛 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
- Don't use a single type in
MockScriptHandler
constructor (#541) @nre-ableton. This is related to #498 and would be a breaking API change, but #498 had not been part of a release yet. - Remove TestNotSerrialzibleCPS and related files (#543) @nre-ableton
- Add docs for library organization best practices (#513) @nre-ableton
- misc refactoring (#500) @UlrichEckhardt
📦 Dependency updates
- Move away from deprecated Release Drafter App (#497) @NotMyFault
- feat(gradle): bump version 7.4 (#491) @stchar
- Bump spring-core from 5.3.21 to 5.3.22 (#544) @dependabot
- Bump com.jfrog.artifactory from 4.28.3 to 4.28.4 (#539) @dependabot
- Bump net.researchgate.release from 2.8.1 to 3.0.0 (#538) @dependabot
- Bump spring-core from 5.3.20 to 5.3.21 (#537) @dependabot
- Bump assertj-core from 3.23.0 to 3.23.1 (#531) @dependabot
- Bump assertj-core from 3.22.0 to 3.23.0 (#530) @dependabot
- Bump com.jfrog.artifactory from 4.28.2 to 4.28.3 (#525) @dependabot
- Bump spring-core from 5.3.19 to 5.3.20 (#524) @dependabot
- Bump com.jfrog.artifactory from 4.28.1 to 4.28.2 (#520) @dependabot
- Bump spring-core from 5.3.18 to 5.3.19 (#514) @dependabot
- Bump spring-core from 5.3.17 to 5.3.18 (#511) @dependabot
- Bump com.jfrog.artifactory from 4.28.0 to 4.28.1 (#508) @dependabot
- Bump com.jfrog.artifactory from 4.27.1 to 4.28.0 (#502) @dependabot
- Bump spring-core from 5.3.16 to 5.3.17 (#501) @dependabot