This repository has been 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
test
folder to complete package - add support for
replyTo
innotify.mail
step (#60)
Updated
- Remove
deprecated
annotation fromwrappers.groovy
, copy paste issue
Breaking changes
- Renamed
wrap.color
step 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_JDK
andTOOL_MAVEN
fromLibraryIntegrationTestBase
- Remove npm global configuration support since it was not working and not used
- Remove deprecated
stepRecorder
andrunWrapper
from LibraryIntegrationTestBase - Remove deprecated
notifyMail
step, replace bynotify.mail
step - Remove deprecated
execManagedShellScript
usemanagedScripts.execJenkinsShellScript
instead - Remove deprecated
setGitBranch()
usegitTools.getBranch()
instead - Remove deprecated
ansible.checkoutRequirements
useansible.checkoutRoles
instead - Remove deprecated
Logger.init
functions
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_NAME
instead ofGIT_BRANCH
environment variables
Updated
- SCM URL detection now falls back to
GIT_URL
andGIT_URL_1
variables
1.8.2
1.8.0
Added
Jenkinsfile
for CI builds- Generic Config support for
notify.mail
step (PR #50)
Changed
- use branches from
scm
object when checking out usingcheckout scm
in 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
MapUtils
when provided maps arenull
Added
- Unit-Test support for the steps
mattermostSend
,mqttNotification
,retry
- Introduce YAML based Generic Configuration mechanism
notify.mqtt
step 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.mattermost
step with Generic Config supportResult.NOT_BUILT
, fixes typo issue and replacesResult.NOT_BUILD
(deprecated)- Add
color
toResult
Object - Support for providing vault password file direclty via
ANSIBLE_VAULT_CREDENTIALS_ID
toansible.execPlaybook
gitTools.getBranch
utility function which returns the current branch
Changed
- migrated
notifyMail
step tonotify.mail
ansible.installRoles
will 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_URL
etc. 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
notifyMail
step, moved tonotify.mail
Result.NOT_BUILD
die 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.SKIP
andMapMergeMode.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()
insshAgentWrapper
for easier debugging gitTools.getFetchOrigin
(PR: #38)gitTools.getPushOrigin
(PR: #38)gitTools.getParentBranch
(PR: #38)TypeUtils.isClosure
utility 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.