apache / incubator-kie-drools

Drools is a rule engine, DMN engine and complex event processing (CEP) engine for Java.
http://www.drools.org
5.85k stars 2.49k forks source link

kie-issues#1255: agent docker config in main pipeline #5971

Closed jstastny-cz closed 4 months ago

jstastny-cz commented 4 months ago

To properly fix

Adding jenkins agent docker configuration to .ci/config/main.yaml

Also in:

There are jobs already in main pipeline (either root folder or defined in dsl/seed_job_branch.groovy file), which didn't have access to jenkins agent docker image and args configuration from branch.yaml - because that one is loaded only in Jenkinsfile.seed.branch - which did not make it possible to reference these values already in dsl/seed_job_branch.groovy.

So adding the agent docker configuration into main.yaml and loading already in Jenkinsfile.seed.main, so that all DSL jobs are able to use this value loaded from particular branch (except from the dsl/seed_job_main.groovy which is the actual first entry point into DSL generation and no docker config is needed there as of now).