Hi,
I have a strange licence requirement for a compiler which I can check by running a command line process.
.gitlab-ci.yml
myJob:
stage: build
tags:
- myTag
before_script:
- checkLicence.exe
script:
- run.exe
If checkLicence.exe fails, I want to disable the runner (this works).
I then want to re-queue the job so that it can be picked up by a different runner with a valid licence.
Instead of the job being automatically re-queued, I get build failure: ERROR: Job failed (system failure): aborted:
If this can’t be done, is there another way for the runner to reject the job after performing an initial check?
Cheers,
Tom