This repository was archived by the owner on Sep 25, 2024. It is now read-only.
Releases: wcm-io-devops/jenkins-pipeline-library
Releases · wcm-io-devops/jenkins-pipeline-library
3.0.2
What's Changed
- Add check for null while iterating over maps to merge by @tobias-richter in #67
Full Changelog: 3.0.0...3.0.2
3.0.0
This release migrates from the deprecated findbugs, checkstyle, pmd and tasks (and other) plugins to the warnings ng plugin.
What's Changed
- Migrate to GitHub actions by @tobias-richter in #63
- Add support for returnStdout and returnStatus in execMaven step by @tobias-richter in #62
- migrate to warnings ng plugin by @tobias-richter in #66
Full Changelog: 2.0.0...3.0.0
2.0.0
This release fixes the issue with the conflict with the Jenkins internal wrap step and removes @Deprecated items.
Added
- add
testfolder to complete package - add support for
replyToinnotify.mailstep (#60)
Updated
- Remove
deprecatedannotation fromwrappers.groovy, copy paste issue
Breaking changes
- Renamed
wrap.colorstep towrappers.color - Removed deprecated constructor in
MavenCommandBuilderImpl - Removed
ManagedFileConstants.NPM_CONF_USERCONFIG_ENV, replaced byManagedFileConstants.NPM_CONFIG_USERCONFIG_ENV - Remove deprecated
WORKSPACE_PATH,WORKSPACE_TMP_PATH,TOOL_JDK_PREFIX,TOOL_MAVEN_PREFIX,TOOL_JDKandTOOL_MAVENfromLibraryIntegrationTestBase - Remove npm global configuration support since it was not working and not used
- Remove deprecated
stepRecorderandrunWrapperfrom LibraryIntegrationTestBase - Remove deprecated
notifyMailstep, replace bynotify.mailstep - Remove deprecated
execManagedShellScriptusemanagedScripts.execJenkinsShellScriptinstead - Remove deprecated
setGitBranch()usegitTools.getBranch()instead - Remove deprecated
ansible.checkoutRequirementsuseansible.checkoutRolesinstead - Remove deprecated
Logger.initfunctions
1.9.0
Fixed
- #56 notify documentation, thanks to @deveth0
- #57 Catch exceptions for non existing functions on the scm object
- #58 Mqtt notification: don't do anything if disabled, thanks to @deveth0
- Fix Jenkins sandbox issues when using capture groups
Added
- #54 Add im.mattermost for sending instant messages to Mattermost instances
- #55 Add possibility to send notifications to Microsoft Teams, thanks to @bellackn
- Support for multibranch pipelines that use
BRANCH_NAMEinstead ofGIT_BRANCHenvironment variables
Updated
- SCM URL detection now falls back to
GIT_URLandGIT_URL_1variables
1.8.2
1.8.0
Added
Jenkinsfilefor CI builds- Generic Config support for
notify.mailstep (PR #50)
Changed
- use branches from
scmobject when checking out usingcheckout scmin order to fix issues with github as scm branch source (PR #51) sshAgentWrapper: do not wrap with ssh-agent when no ssh credentials are present
1.7.0
Fixed
- Issues in
MapUtilswhen provided maps arenull
Added
- Unit-Test support for the steps
mattermostSend,mqttNotification,retry - Introduce YAML based Generic Configuration mechanism
notify.mqttstep with Generic Config support, see also the Ansible role wcm_io_devops.jenkins_xfd for setting up compatible Build status devices using hardware from clewarenotify.mattermoststep with Generic Config supportResult.NOT_BUILT, fixes typo issue and replacesResult.NOT_BUILD(deprecated)- Add
colortoResultObject - Support for providing vault password file direclty via
ANSIBLE_VAULT_CREDENTIALS_IDtoansible.execPlaybook gitTools.getBranchutility function which returns the current branch
Changed
- migrated
notifyMailstep tonotify.mail ansible.installRoleswill now retry up to 3 times until step will fail in order to mitigate issues with Ansible Galaxy (PR #47 )- checkout related values like
GIT_BRANCH,SCM_URLetc. are now retrieved from the checkout result object (PR #48 ) - refactoring of environment var mocks, they are now moved to
LibraryIntegrationTestBase - common resource path is now
resources/jenkins-pipeline-library(was:resources/jenkinsPipelineLibrary)
Deprecated
notifyMailstep, moved tonotify.mailResult.NOT_BUILDdie to an typeo issueYamlLibraryResource(DSL dsl, String file), useYamlLibraryResource(Script script, String file)instead
1.6.0
Fixed
- Bug when merging non-Map items into Map items (PR #32)
- Allow usernames containing "@" and adding escaping of "@" when building URL (PR #42)
Added
MapMergeMode.MERGE,MapMergeMode.SKIPandMapMergeMode.REPLACE, see PR #32 and Configuration map merging
1.5.0
Fixed
- CPS issues in AnsibleRole (PR #31)
- SCM Polling issues with
ansible.checkoutRoles(PR #37) - Fix best match evaluation by taking pattern length into account. (#39)
- Fixed typo in
ManagedFileConstants.MAVEN_SETTINGS_PATH(#40)
Added
ansible.checkoutRoles(PR #33)- logging of
sshTarget.getHost()insshAgentWrapperfor easier debugging gitTools.getFetchOrigin(PR: #38)gitTools.getPushOrigin(PR: #38)gitTools.getParentBranch(PR: #38)TypeUtils.isClosureutility function to detect closured
Changed
- Migrate ansible tasks to http request plugin (PR #30)
- Switch domains to HTTPS
- Silence maven builds in travis due to log limitation
- Add warn log message when Ansible playbook is null (PR #35)
Removed
1.4.2
The 1.5.0 was accidentally released as 1.4.2. Please refer to the 1.5.0 release.