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
1.4.0
Added
BuildParameterFactory
to be able to create ExtendedChoiceParameterDefinition based parameters with an easier syntax, (PR #25)- Unit-Test support for
fingerprint
(PR #27)properties
jenkinsRestApi
(PR #26)- Customize options for
notifyMail
step (PR #28) - Maven Dependencies and parent
Changed
Removed
- maven changes plugin, maven enforcer and animal sniffer execution since they are not required for the pipeline library
1.3.4
Added
- Set env
PYTHONUNBUFFERED
to1
for ansible-playbook to keep Jenkins console output in sync
1.3.2
1.3.0
Added
- Build of complete maven artefact since
vars
andresources
were missing on maven central - Introduced
YamlLibraryResource
- Allow passing of configuration Map to test scripts in
LibraryIntegrationTestBase.loadAndExecuteScript(...)
Fixes
- Fixed / ignored findbugs issues
Updates
- Documentation
- Reenabled findbugs
- Optimized loading and executing of test scripts with and without parameters
- Minor changes to travis build
- When a resource is mocked via
DslMock.mockResource
this resource will overwrite all located/existing testresources with the same name
Removed
- maven changes plugin from build process, since it is not used
1.2.2
Fixes
- Fixed issues with
Item.getType
within the sandbox (https://github.com/wcm-io-devops/jenkins-pipeline-library/pull/16/files)
Added
- Added more integration tests for
ComparableVersion
to catch such issues earlier
1.2.0
❗️ Please note that starting with 1.2.0 the Jenkins Pipeline Library needs some signatures to be whitelisted in the script approvals since workflow-support 1.18+ does not allow static method or field access anymore. For more details see requirements.md.
Added
- Compatibility to
- workflow-support 2.18+ and
- script-security 1.44+
- Added more integration tests to cover most of the pipeline library functionality to detect upcoming sandbox changes faster.
- Introduced
integrationTestUtils.assertNotEquals(expected, actual, String msg = null)
- Introduced
integrationTestUtils.assertNull(actual, String msg = null)
- Introduced
integrationTestUtils.assertTrue(actual, String msg = null)
- Introduced
assertFalse(actual, String msg = null)
- Removing of managed shell script after execution in managedScripts.groovy
Fixes
- StackOverflowError in https://github.com/wcm-io-devops/jenkins-pipeline-library/blob/master/src/io/wcm/devops/jenkins/pipeline/versioning/ListItem.groovy by
- Extending
ArrayList<Item>
instead of implementingList
interface - Whitelisting
new java.util.ArrayList
in script approval
- Extending
- Sandbox violations in MavenCommandBuilderImpl.groovy
- Catching of not existing badge plugin in Logger.groovy
Changed
- Added optional
msg
argument tointegrationTestUtils.assertEquals
- Update documentation, especially for required script approvals
- Removed some debug trace messages from ComparableVersion.groovy
Deprecated
- execManagedShellScript.groovy. This is replaced by managedScripts step
1.1.0
Updated
- Documentation
- Refactored credential lookup to use common functions (see *
credentials
- Refactored unit-tests
- Maven depdendencies
Added
- Support for managed shell scripts from groovy shared libraries
- Utility function to mirror git repositories
LogLevel.DEPRECATED
/Logger.deprecated(...)
which also adds a warning badge to the buildConfigConstants.NOTIFY_ENABLED
for disabling notifications with one configuration property- Unit-Test support for
- Badge Plugin
usernamePassword
writeFile
withCredentials
withEnv
env
dir
Steps
conditionalStage
credentials.lookupHttpCredential
credentials.lookupScmCredential
credentials.lookupSshCredential
gitTools.mirrorRepository
gitTools.mirrorRepositoryToRemote
gitTools.mirrorRepositoryToWorkspace
managedScripts.execJenkinsShellScript
managedScripts.execPipelineShellScript
maven.purgeSnapshots
Fixed
Deprecated
Logger.init(DSL dsl, LogLevel logLvl = LogLevel.INFO)
- Fixed branch definition of galaxy requirements to use any remote 56a2de8
jenkins-pipeline-library 1.0.2
jenkins-pipeline-library 1.0.0
Initial release of jenkins-pipeline-library