Debian Codegraph @

ansible_collections/netapp_eseries/santricity/vars/setupBlackduckBuildParameters.groovy

raw
1 def call(Map options = [:]) {
2 String buildArtifactKeepNum = options.buildArtifactKeepNum ?: '15'
3 String buildKeepNum = options.buildKeepNum ?: '30'
4 // The default cron schedule is one build between 1:xx pm - 4:xx pm on Monday
5 String buildCronSchedule = options.buildCronSchedule ?: 'H H(13-16) * * 1'
6
7 properties([
8 parameters([
9 choice(name: 'logLevel', choices: ['WARN', 'INFO', 'DEBUG', 'TRACE'], description: 'Set the logging level. WARN is the default.')
10 ]),
11 buildDiscarder(
12 logRotator(artifactNumToKeepStr: buildArtifactKeepNum, numToKeepStr: buildKeepNum)
13 ),
14 pipelineTriggers([cron(buildCronSchedule)])
15 ])
16 }