By default, a when block is evaluated after an agent is started. I discovered this randomly: I opened a pipeline and saw that it was stuck on "Prepare EL8 internal 🤔" stage even though the pipeline should have even run it. This commit fixes it by adding "beforeAgent true" to all when blocks. It changes the behaviour to more sane "if when is true, allocate an agent". See https://www.jenkins.io/doc/book/pipeline/syntax/#evaluating-when-before-entering-agent-in-a-stage Signed-off-by: Ondřej Budai <ondrej@budai.cz> |
||
|---|---|---|
| .. | ||
| ci_details.sh | ||
| containerbuild.sh | ||
| deploy.sh | ||
| Jenkinsfile | ||
| mockbuild.sh | ||
| prepare-rhel-internal.sh | ||
| run_cloud_cleaner.sh | ||
| send_webhook.py | ||
| team_ssh_keys.txt | ||