Files
offline_kubespray/collection/netapp_eseries/santricity/vars/hubScan.groovy
ByeonJungHun 360c6eef4a offline 작업
2024-02-19 16:02:29 +09:00

14 lines
489 B
Groovy

def call(Map optional = [:], String projectName, String projectVersion) {
optional.projectName = projectName
optional.projectVersion = projectVersion
call(optional)
}
def call(Map optional) {
// Correctly set if the scan is intended for production.
// hubScan uses the variable 'staging' (defaulting to true), and hubScanProject uses 'productionScan' (defaulting to false).
optional.productionScan = !((boolean) optional.staging)
hubScanProject(optional)
}