I have pipeline with condition: test success or not:
- If test success it will enable “Deploy” manual job.
- If test not success manual job “Deploy” stay disable.
All 3 jobs are manual.
test_success: stage: test script: exit 0 when: manual allow_failure: false test_not_success: stage: test script: exit 1 when: manual deploy: stage: deploy script: echo "deploy success" when: manual
Is it possible to disable one job of “test” stage if second executed?
For example QA pressed to “test_success” button on pipeline and in that moment “test_not_success” becomes blocked.