ods-jenkins-shared-library
ods-jenkins-shared-library copied to clipboard
Shared Jenkins library which all ODS projects & components use - provisioning, SonarQube code scanning, Nexus publishing, OpenShift template based deployments and repository orchestration
Jenkins Shared Library
Documentation
See Jenkins Shared Library for details.
The source of this documentation is located in the antora folder at https://github.com/opendevstack/ods-jenkins-shared-library/tree/master/docs/modules/jenkins-shared-library/pages.
Development
Use ./gradlew build
to run the code formatting checks and tests. The code style checks are done via CodeNarc. Its ruleset is located in codenarc.groovy. The Gradle build
target runs both codenarcMain
and codenarcTest
. codeNarcMain
is not allowed to fail (only the configured amount of violations of priority 3 are allowed), see the configuration in build.gradle. The found violations are saved to an HTML report under build/reports/codenarc
.