I did upgrade my GitLab CE + its Runners to version
12.9.0. I noticed that the behavior changed since
12.6.0: Before there was no output in the Runner terminal regarding a
after_script if there’s none defined. Now both is
echoed although both properties are not defined in the CI/CD pipeline configuration file
.gitlab-ci.yml. Is this intended to make it clearer that there are no scripts or is this printed due to a bug?
Partially-redacted Output from a shared Runner:
Running with gitlab-runner 12.9.0 (<removed>) on shared <removed> Preparing the "docker" executor 00:02 Using Docker executor with image node ... Pulling docker image node ... Using docker image sha256:<removed> for node ... Preparing environment 00:01 Running on runner-<removed>-concurrent-0 via <removed>... Getting source from Git repository 00:02 Fetching changes... Reinitialized existing Git repository in /builds/<removed>/.git/ Checking out <removed> as master... Skipping Git submodules setup Restoring cache 00:01 Downloading artifacts 00:02 Running before_script and script 00:03 $ <removed> Running after_script 00:02 Uploading artifacts for failed job 00:01 ERROR: Job failed: exit code 1
There is no before or after script defined in
Thank you for your response!