Skip to content

Commit

Permalink
#13 Pipeline properties + removed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoraboeuf committed Jun 4, 2021
1 parent 7eb6253 commit 0dc6108
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ pipeline {

agent any

options {
// General Jenkins job properties
buildDiscarder(logRotator(numToKeepStr: '40'))
// Timestamps
timestamps()
// No durability
durabilityHint('PERFORMANCE_OPTIMIZED')
// ANSI colours
ansiColor('xterm')
// No concurrent builds
disableConcurrentBuilds()
}

environment {
// Logging disabled globally
ONTRACK_LOGGING = false
Expand Down Expand Up @@ -112,7 +125,7 @@ pipeline {
ontrackCliValidateTests(stamp: 'BUILD')
ontrackCliValidateCHML(stamp: 'CHML', critical: 0, high: 0, medium: 13, low: 218)
ontrackCliValidatePercentage(stamp: 'PERCENTAGE', value: 34)
ontrackCliValidateMetrics(stamp: 'METRICS', logging: true, metrics: [
ontrackCliValidateMetrics(stamp: 'METRICS', metrics: [
ui: 88,
backend: 67.3,
network: 15.0,
Expand Down

0 comments on commit 0dc6108

Please sign in to comment.