Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ansible / netapp_eseries / santricity / vars / setupBlackduckBuildParameters.groovy
Size: Mime:
def call(Map options = [:]) {
    String buildArtifactKeepNum = options.buildArtifactKeepNum ?: '15'
    String buildKeepNum = options.buildKeepNum ?: '30'
    // The default cron schedule is one build between 1:xx pm - 4:xx pm on Monday
    String buildCronSchedule = options.buildCronSchedule ?: 'H H(13-16) * * 1'

    properties([
            parameters([
                    choice(name: 'logLevel', choices: ['WARN', 'INFO', 'DEBUG', 'TRACE'], description: 'Set the logging level. WARN is the default.')
            ]),
            buildDiscarder(
                    logRotator(artifactNumToKeepStr: buildArtifactKeepNum, numToKeepStr: buildKeepNum)
            ),
            pipelineTriggers([cron(buildCronSchedule)])
    ])
}