-
Notifications
You must be signed in to change notification settings - Fork 0
HasNewestPtcsJenkinsLibRule
CI edited this page Apr 1, 2020
·
5 revisions
Rule validates that Jenkinsfile has newest jenkins-ptcs-library is used if jenkins-ptcs-library is used at all. jenkins-ptcs-library is an internal company library that offers utilities for CI pipelines.
Newest version should be used for better support and possible bug fixes. With major releases the pipeline might break if older version is used.
Automatic fix for this rule creates a Pull Request which updates jenkins-ptcs-library to latest version.
When to ignore
- Repository is testing some specific version of jenkins-ptcs-library
To ignore HasNewestPtcsJenkinsLibRule validation, use following repository-validator.json
{
"Version":"1",
"IgnoredRules": [
"HasNewestPtcsJenkinsLibRule"
]
}