test jenkinsfile update for windows 1.1
This commit is contained in:
@ -62,7 +62,7 @@ pipeline {
|
|||||||
// Remove dynamic Inventory file
|
// Remove dynamic Inventory file
|
||||||
sh """
|
sh """
|
||||||
hash=\$(echo -n "${params.host_ip}" | md5sum | cut -c 1-8)
|
hash=\$(echo -n "${params.host_ip}" | md5sum | cut -c 1-8)
|
||||||
inventory_file="/var/jenkins_home/ansible/.inv/inventory-\$hash.yml"
|
inventory_file="/var/jenkins_home/ansible-windows/.inv/inventory-\$hash.yml"
|
||||||
rm \$inventory_file
|
rm \$inventory_file
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user