debian-forge-composer/schutzbot
Ondřej Budai d6afdda82f schutzbot: evaluate the when block before an agent is started
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>
2021-03-15 17:58:51 +00:00
..
ci_details.sh tests: Fail if python36 is installed. Closes #794 2020-10-19 11:21:39 +03:00
containerbuild.sh containers: simplify Dockerfile and container build 2020-12-22 15:27:39 +01:00
deploy.sh Schutzbot: Allow overriding internal RHEL URL 2021-03-12 20:38:06 +02:00
Jenkinsfile schutzbot: evaluate the when block before an agent is started 2021-03-15 17:58:51 +00:00
mockbuild.sh Schutzbot: Allow overriding internal RHEL URL 2021-03-12 20:38:06 +02:00
prepare-rhel-internal.sh tests: Refresh COMPOSE_ID file if COMPOSE_URL was defined from ENV 2021-03-15 14:20:25 +02:00
run_cloud_cleaner.sh cloud-cleaner: clean up image and vm after GCP integration test 2021-03-15 16:48:40 +00:00
send_webhook.py Send webhooks without credentials 2021-02-10 18:31:56 +00:00
team_ssh_keys.txt schutzbot: use the new obudai's ssh key 2020-12-01 08:27:44 +01:00