2 # Set the SKIP_JOB environment variable if this job is not supposed to run on the current builder.
7 source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
9 if [[ -n "${CI_ONLY_WHEN_CHANNEL-}" ]]; then
10 if [[ "${CI_ONLY_WHEN_CHANNEL}" = "$(cat src/ci/channel)" ]]; then
11 echo "The channel is the expected one"
13 echo "Not executing this job as the channel is not the expected one"
14 ciCommandSetEnv SKIP_JOB 1
20 echo "Executing the job since there is no skip rule preventing the execution"