HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //lib/python3.9/site-packages/ansible_collections/netapp_eseries/santricity/Jenkinsfile.blackduck
// Copyright 2022 NetApp, Inc. All Rights Reserved.
// Licensed under the BSD-3-Clause.

// Set up build parameters so any branch can be manually rebuilt with different values.
properties([
    parameters([
        string(name: 'hubProjectVersion', defaultValue: '', description: 'Set this to force a BlackDuck scan and ' +
               'manually tag it to a particular BlackDuck version (e.g. 1.0.1).')
    ])
])

hubProjectName = 'esg-ansible-santricity-collection'
hubProjectVersion = 'master'
if (params.hubProjectVersion != '') {
    // Tag the manually selected version if the hubProjectVersion build parameter is set.
    hubProjectVersion = params.hubProjectVersion
}

pipeline {
    agent any

    options {
        timestamps()
        timeout(time: 3, unit: 'HOURS')
        buildDiscarder(logRotator(artifactNumToKeepStr: '15'))
    }

    stages {
        stage("BlackDuck Scan") {
            options {
                timeout(time: 60, unit: 'MINUTES')
            }

            steps {


                echo "Performing BlackDuck scanning..."
                synopsys_detect detectProperties: """
                    --detect.project.name=${hubProjectName} \
                    --detect.project.version.name=${hubProjectVersion} \
                    --detect.cleanup=false \
                    --detect.project.code.location.unmap=true \
                    --detect.detector.search.depth=50 \
                    --detect.code.location.name=${hubProjectName}_${hubProjectVersion}_code \
                    --detect.bom.aggregate.name=${hubProjectName}_${hubProjectVersion}_bom \
                    --detect.excluded.directories=blackduck/ \
                    --detect.output.path=blackduck
                """
            }
            post {
                success {
                    archiveArtifacts(artifacts: 'blackduck/runs/**')
                }
            }
        }
    }
}