This repository was archived by the owner on Sep 25, 2024. It is now read-only.
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