PR check failing: build-chain requires GitHub token in Jenkins PR job

Hi all,

I’m seeing a PR check failure that seems unrelated to the code changes and
more to CI configuration.

In PR *apache/incubator-kie-drools#6633 (but all PRs are affected)*, the
Jenkins PR job fails in the *Build projects* stage when running build-chain,
with the following error:

[ERROR] Either a github or gitlab token must be set

This happens inside the Docker container used by the PR job. A GITHUB_TOKEN
appears to be present/masked at the Jenkins level, but build-chain does not
see any GitHub/GitLab token at runtime.

The job setup, container startup, and build-chain installation all succeed;
the failure is only due to the missing token.

Has anyone seen this before or knows how the token is expected to be
injected for PR jobs?

Thanks a lot!

— Yeser

Reply via email to