Skip to content

Releases: wcm-io-devops/jenkins-pipeline-library

3.0.2

24 Mar 10:55
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.0...3.0.2

3.0.0

04 Mar 15:37
Compare
Choose a tag to compare

This release migrates from the deprecated findbugs, checkstyle, pmd and tasks (and other) plugins to the warnings ng plugin.

What's Changed

Full Changelog: 2.0.0...3.0.0

2.0.0

26 Nov 17:55
Compare
Choose a tag to compare

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 in notify.mail step (#60)

Updated

  • Remove deprecated annotation from wrappers.groovy, copy paste issue

Breaking changes

  • Renamed wrap.color step to wrappers.color
  • Removed deprecated constructor in MavenCommandBuilderImpl
  • Removed ManagedFileConstants.NPM_CONF_USERCONFIG_ENV, replaced by ManagedFileConstants.NPM_CONFIG_USERCONFIG_ENV
  • Remove deprecated WORKSPACE_PATH, WORKSPACE_TMP_PATH, TOOL_JDK_PREFIX, TOOL_MAVEN_PREFIX, TOOL_JDK and TOOL_MAVEN from LibraryIntegrationTestBase
  • Remove npm global configuration support since it was not working and not used
  • Remove deprecated stepRecorder and runWrapper from LibraryIntegrationTestBase
  • Remove deprecated notifyMail step, replace by notify.mail step
  • Remove deprecated execManagedShellScript use managedScripts.execJenkinsShellScript instead
  • Remove deprecated setGitBranch() use gitTools.getBranch() instead
  • Remove deprecated ansible.checkoutRequirements use ansible.checkoutRoles instead
  • Remove deprecated Logger.init functions

1.9.0

19 Oct 09:00
Compare
Choose a tag to compare

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 of GIT_BRANCH environment variables

Updated

  • SCM URL detection now falls back to GIT_URL and GIT_URL_1 variables

1.8.2

18 Mar 12:11
Compare
Choose a tag to compare

Removed

  • TODO Messages

Fixed

  • parent branch detecting when origin/develop and origin/master can not be detected (PR #53)

Deprecated

  • NPM_CONFIG_USERCONFIG_ENV
  • NPMRC_ENV

1.8.0

20 Feb 13:49
Compare
Choose a tag to compare

Added

  • Jenkinsfile for CI builds
  • Generic Config support for notify.mail step (PR #50)

Changed

  • use branches from scm object when checking out using checkout 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

07 Feb 12:40
Compare
Choose a tag to compare

Fixed

  • Issues in MapUtils when provided maps are null

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 cleware
  • notify.mattermost step with Generic Config support
  • Result.NOT_BUILT, fixes typo issue and replaces Result.NOT_BUILD (deprecated)
  • Add color to Result Object
  • Support for providing vault password file direclty via ANSIBLE_VAULT_CREDENTIALS_ID to ansible.execPlaybook
  • gitTools.getBranch utility function which returns the current branch

Changed

  • migrated notifyMail step to notify.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 to notify.mail
  • Result.NOT_BUILD die to an typeo issue
  • YamlLibraryResource(DSL dsl, String file), use YamlLibraryResource(Script script, String file) instead

1.6.0

07 Jan 12:47
Compare
Choose a tag to compare

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

1.5.0

16 Dec 15:00
Compare
Choose a tag to compare

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

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

  • some @NonCPS annotations where not required anymore (PR #33, PR #34)

1.4.2

16 Dec 14:03
Compare
Choose a tag to compare
1.4.2 Pre-release
Pre-release

The 1.5.0 was accidentally released as 1.4.2. Please refer to the 1.5.0 release.