Files
llvm-project/.ci/green-dragon/clang-stage1-RA.groovy
Justice Adams cdea74824c [green dragon] skip trigger on release branch stage1 RA jobs (#184653)
* This will allow us to setup clang-stage1-RA jobs as multi branch
pipelines for release branches without setting up all the downstream
jobs.

I will need to cherry-pick the jenkinsfile to the release/22.x branch
which I will do after this lands
2026-03-05 10:35:58 -08:00

38 lines
1.0 KiB
Groovy

branchName = 'main'
library identifier: "zorg-shared-lib@${branchName}",
retriever: modernSCM([
$class: 'GitSCMSource',
remote: "https://github.com/llvm/llvm-zorg.git",
credentialsId: scm.userRemoteConfigs[0].credentialsId
])
clangPipeline(
jobName: env.JOB_NAME,
zorgBranch: branchName,
buildConfig: [
stage: 1,
build_type: 'cmake',
cmake_type: 'RelWithDebInfo',
assertions: true,
projects: 'clang;clang-tools-extra',
runtimes: 'compiler-rt',
timeout: 120,
incremental: false,
skipTrigger: env.BRANCH_NAME?.startsWith('release/') ?: false
],
testConfig: [
test_type: 'testlong',
timeout: 120,
junit_patterns: [
"clang-build/**/testresults.xunit.xml"
]
],
triggeredJobs: [
'llvm.org/clang-stage2-cmake-RgSan_relay',
'llvm.org/clang-stage2-Rthinlto_relay',
'llvm.org/relay-lnt-ctmark',
'llvm.org/relay-test-suite-verify-machineinstrs'
]
)