Skip to content
Snippets Groups Projects
Commit 541daa06 authored by Matteo Di Carlo's avatar Matteo Di Carlo
Browse files

ST-1501 fix trigger

parent 7b9f7b62
Branches
Tags
No related merge requests found
......@@ -97,7 +97,7 @@ ska-tango-examples-tests:
status=$(jq -r '.status' <<< "$response" || true)
if [[ $status == "running" ]]; then
response=$(curl -s --header "PRIVATE-TOKEN: $GITLAB_TOKEN" "$jobs_url")
k8steststatus=$(jq -r '.[] | select(.name == "k8s-test") | .status' <<< $response)
k8steststatus=$(jq -r '.[] | select(.name == "k8s-test" or .name=="k8s-test-no-operator") | .status' <<< $response)
pythonteststatus=$(jq -r '.[] | select(.name == "python-test") | .status' <<< $response)
if [[ $k8steststatus == "success" ]] && [[ $pythonteststatus == "success" ]]; then
echo "'ska-tango-examples' success."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment