diff --git a/.ci/daily/Jenkinsfile b/.ci/daily/Jenkinsfile index 2abe2226e63..23d786891a2 100644 --- a/.ci/daily/Jenkinsfile +++ b/.ci/daily/Jenkinsfile @@ -86,6 +86,36 @@ pipeline { ]) } } + stage('Trigger Docker CE GHA') { + when { + branch cambpmDefaultBranch(); + } + agent { + kubernetes { + cloud "kubernetes" + label "${utils.envPrefix()}ci-infra-camunda-cloud-build_${env.JOB_BASE_NAME.take(15)}-${env.BUILD_ID}" + defaultContainer 'alpine' + yaml org.camunda.helper.Podspec.getAgentPodspec(this, 'alpine-small', [ + useStableNodePool: false + ]) + } + } + environment { + // define helper script input arguments + INPUT_OWNER = 'camunda' + INPUT_REPO = 'docker-camunda-bpm-platform' + // ensure that the GHA trigger works for maintenance branches as well + INPUT_REF = cambpmGetDockerRepoBranch() + INPUT_WORKFLOW_FILE_NAME = 'build-test-and-publish-ce.yml' + INPUT_WAIT_INPUT_WAIT_WORKFLOW = 'true' + } + steps { + script { + camundaGitHubWorkflowDispatch.prepareStep() + camundaGitHubWorkflowDispatch.dispatchStep('github-cambpm-ci-pipeline-app') + } + } + } } } stage('Standalone QA tests') { diff --git a/Jenkinsfile b/Jenkinsfile index 219a8a01a28..35f41fed617 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -80,7 +80,7 @@ pipeline { } // JOB_NAME, e.g.: '7.15/cambpm-ce/cambpm-main/PR-1373' - // keep leading slash for the abosolute project path + // keep leading slash for the absolute project path platformVersionDir = "/" + env.JOB_NAME.split('/')[0] upstreamProjectName = "/" + env.JOB_NAME upstreamBuildNumber = env.BUILD_NUMBER