Releases: jenkinsci/JenkinsPipelineUnit
Releases · jenkinsci/JenkinsPipelineUnit
1.12
🚀 New features and improvements
- Support dockerfile filenames in declarative API by @nre-ableton in #416
- Add support for mocking library with mapped args by @nre-ableton in #422
- Added default withMaven() mock by @nre-ableton in #431
🐛 Bug fixes
- Clean up release documentation by @nre-ableton in #404
- FIX #408 remove extra helper references by @RecuencoJones in #409
- fix error when using empty agent label by @pkwarren in #414
- Correct this object in Closure#rehydrate. by @dblock in #421
- Added project-based generated files to .gitignore. by @dblock in #420
- Upgrade to Groovy 2.4.21, fix unsupported target MODULE error. by @dblock in #426
Full Changelog: 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).
1.10
🚀 New features and improvements
- Adding changeRequest support in when declaration (#395) @clipitar
- Add inline script feature (#382) @RecuencoJones
- Provide a mock for the wrap step (#376) @nre-ableton
- Add input/message mocks for declarative pipelines (#368) @nre-ableton
- Include tag support in anyOf declarative (#363) @gmattar
🐛 Bug fixes
- Make CLONE_TIMEOUT a value in minutes, not seconds (#377) @nre-ableton
- Fix incorrect type declaration in closure (#370) @nre-ableton
- Avoid using default encoding (#360) @TurboLuke
- Fix README for "Mocking sh" (#359) @reinholdfuereder
- Avoid using default charset encoding for writing callstack file (#358) @reinholdfuereder
- Fix incorrect filename in README example code (#350) @nre-ableton
- chore: No more Release Release in release notes (#349) @timja
1.9
🚀 New features and improvements
- feat: support allOf in a when context (#343) @garethjevans
- Adding unzip mock (#322) @cwiggs
- Add fileExists mock with helper methods (#312) @nre-ableton
🐛 Bug fixes
- Remove obsolete doGenerateSubmoduleConfigurations (#341) @MarkEWaite
- Remove default values from git plugin example (#339) @MarkEWaite
- Fix WhenDeclaration environment condition. (#326) @pkwarren
- Handle failures in sh step with returnStdout (#329) @nre-ableton
- Fix the buildingTag() method's support (#334) @dduportal
- Safer lazy initialization of variables (#332) @nre-ableton
- Allow use of ant path expressions on branch validation (#315) @epsilo
- fix(declarative) withCredentails usernamePassword mocking conflict (#311) @stchar
- Update Gradle wrapper to 6.6.1 (#293) @nre-ableton
- Add test for nesting stages including parallel (#297) @Willem1987
- Add test for docker agent with Closure param (#296) @Willem1987
- Fix MissingPropertyException to show the actual property missing (#300) @Willem1987
- Register timeout with integer argument (#294) @nre-ableton
1.8
- Revisit groovy delegates and property/method lookup (#289) @Willem1987
- Add container allowed method (#286) @Willem1987
- fix : typo : Update README.md (#290) @svanacker
- With credentials multi (#288) @Willem1987
- Allow AnyOf directive to work with multiple validations (#278) @IuryAlves
- Allow kubernetes agent to be constructed with a map/object (#281) @Willem1987
- Add skip stages option (#282) @Willem1987
- Issue #272: No such property: AGENT_LABEL in AgentDeclaration (#273) @ballab1
- Add option for kubernetes agent settings (#271) @Willem1987
- Add support for "not" in "when" directive (#268) @IuryAlves
- Fix syntax error when registering timeout mock (#275) @nre-ableton
- Correct helper.runscript call for loaded script (#270) @Willem1987
- Fix arguments processed by mocked closures (#263) @nre-ableton
- Add basic support for anyOf (#264) @IuryAlves
- Fix issue 249: Eliminate use of @memoized (#262) @Alex-Vol-SV
- Handle default return correctly when returnStatus is used (#267) @Alex-Vol-SV
- Issue #260: Fix IllegalArgumentException with GlobalVar taking a single argument (#261) @Alex-Vol-SV
1.7
- Allow for mocking sh step output (#255) @nre-ableton
- Add mocks for isUnix, and pwd (when called with a Map) (#254) @nre-ableton
- Allow for mocking readFile step output (#256) @nre-ableton
- Add binding for scm variable (#259) @nre-ableton
1.6
- fix issue where agent closure with a label referencing a param variable causes test failures (#252) @ballab1
- Issue #240 Avoid withEnv leaking environment out of scope (#246) @Alex-Vol-SV
- Issue #247 Fix withCredentials when usernamePassword is used (#248) @Alex-Vol-SV
- Issue #224 support lazy library class loading (#244) @brianeray
- Issue#243 Skip subsequent stages if stage fails (#245) @IncredibleLou
- Added support for missing post conditions (#226) @bacarroll
- Issue #209 - re-expose assertj-core API (#215) @brianeray
- retry mock should actually retry (#214) @jsok
🚀 New features and improvements
- Add when support for tag and buildingTag() (#220) @halkeye
- Add mocks for docker singleton (#250) @nre-ableton
1.5
1.4
- filx(SharedLibs): Update GCL interceptors (#193) @stchar
- Issue #199 - fix withEnv closure call (#205) @bogdanmuresan
- Fix import in declarative pipeline example (#201) @nre-ableton
- Fix variable name in dir mock (#198) @nre-ableton
- feat(declarative): apply changes done in #191 (#195) @stchar
- Support not cloning method call arguments (#196) @brianeray
- new example project (#190) @venosov
- Fix typos (#194) @ghost
- Make closure to registerAllowedMethod optional (#191) @TobiX
- Add import statement for using the library() class (#192) @cwiggs
- feat(CPS): Update formatting of CPS serrialization exception (#181) @stchar
- feat(gradle): Cleanup gradle build scripts (#185) @stchar
- Add tests to reproduce #152 (#187) @stchar
- Inherit constructor (#183) @stchar
- fix(doc): Fix thrown example (#184) @stchar
- [#178] added options block to the
StageDeclaration
class (#179) @wololock - Improve some mock implementations, add some new no-op mocks (#175) @nre-ableton
- Sort mocks in registerAllowedMethods (#174) @nre-ableton
- feat(doc): Document usage of library retrivers (#172) @stchar
- feat(declarative): Add support for sub-stages (#169) @stchar
1.3
- Support declarative pipeline syntax (#13) @ozangunalp
- Add missing inputs to the incremental task "test" (#167) @theosotr
- Add links to projects with demo ans examples (#164) @stchar
- Enable Release Drafter in the repository to automate changelogs (#165) @oleg-nenashev
- Add a changelog badge to README (#166) @oleg-nenashev
- Add additional allowed methods (#155) @pontuslaestadius
🐛 Bug Fixes
1.2
- Documentation improvements
- Fixes #57, #80, #108
- Added feature to load shared library dynamically
- Added
HelperSingleton
to cachePipelineTestHelper
- Added feature to load a shared library from project sources
- Improved
grapes
support to load shared library dependencies - Project migrated to use jenkins-ci artifactory (https://repo.jenkins-ci,org/releases)