removed verbosity and old snapshot cleanup variable
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -61,7 +61,6 @@ pipeline {
|
||||
|
||||
def limitFlag = limitValue ? "--limit \"${limitValue}\"" : ''
|
||||
def checkFlag = (params.DRY_RUN == true) ? '--check --diff' : ''
|
||||
def extraVars = (params.CLEANUP_SNAPSHOTS == true) ? "-e cleanup_old_snapshots=true" : ''
|
||||
|
||||
echo "DRY_RUN parameter: ${params.DRY_RUN}"
|
||||
echo "Check flag: '${checkFlag}'"
|
||||
@@ -76,8 +75,7 @@ pipeline {
|
||||
playbooks/${params.PLAYBOOK} \
|
||||
${limitFlag} \
|
||||
${checkFlag} \
|
||||
${extraVars} \
|
||||
-v
|
||||
${extraVars}
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user