Unverified Commit 42470583 authored by Keshav Prasad's avatar Keshav Prasad Committed by GitHub
Browse files

fix: removing [[ to [

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -30,7 +30,7 @@ def call(Map pipelineParams) {
inventory_path = "${pipelineParams.currentWs}/ansible/inventory/env"
sh """
cp --preserve=links ${pipelineParams.currentWs}/private/ansible/inventory/${pipelineParams.env}/${pipelineParams.module}/* ${pipelineParams.currentWs}/ansible/inventory/env/
if [[ -f ${pipelineParams.currentWs}/ansible/inventory/env/kubernetes.yaml ]]; then
if [ -f ${pipelineParams.currentWs}/ansible/inventory/env/kubernetes.yaml ]; then
cat ${pipelineParams.currentWs}/ansible/inventory/env/kubernetes.yaml >> ${pipelineParams.currentWs}/ansible/inventory/env/common.yaml
fi
ansible-playbook -i ${inventory_path} $pipelineParams.ansiblePlaybook $pipelineParams.ansibleExtraArgs
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment