File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -889,8 +889,8 @@ addons:
889889 curl -X POST -sk -b gitlab-jar.txt -c gitlab-jar.txt -f -d "user[login]=root&user[password]=${this.gitlab_pass}" --data-urlencode "authenticity_token=${csrf_token}" '${this.gitlab_http_endpoint}/users/sign_in'
890890 - cmd[${nodes.k8sm.master.id}]: |-
891891 # Cluster
892- page_content=$(curl -sk -b gitlab-jar.txt -c gitlab-jar.txt '${this.gitlab_http_endpoint}/admin/clusters')
893- echo ${page_content} | perl -ne 'print "$1\n" if /data-qa-cluster-name="Kubernetes"[[:blank:]]href= "\/admin\/clusters\/(.+?)"/' | sed -n 1p
892+ page_content=$(curl -sk -b gitlab-jar.txt -c gitlab-jar.txt '${this.gitlab_http_endpoint}/admin/clusters.json ')
893+ echo ${page_content} | perl -ne 'print "$1\n" if /"path": "\/admin\/clusters\/(.+?)"/' | sed -n 1p
894894 - if ('${response.out}'):
895895 return:
896896 type: warning
You can’t perform that action at this time.
0 commit comments