Debian Codegraph @

ansible_collections/netapp_eseries/santricity/vars/hubScan.groovy

raw
1 def call(Map optional = [:], String projectName, String projectVersion) {
2 optional.projectName = projectName
3 optional.projectVersion = projectVersion
4 call(optional)
5 }
6
7 def call(Map optional) {
8 // Correctly set if the scan is intended for production.
9 // hubScan uses the variable 'staging' (defaulting to true), and hubScanProject uses 'productionScan' (defaulting to false).
10 optional.productionScan = !((boolean) optional.staging)
11
12 hubScanProject(optional)
13 }