Skip to content

Commit

Permalink
Return true from all ignition abicheckerq previous jobs
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
  • Loading branch information
j-rivero committed Oct 12, 2023
1 parent 5c499fc commit 8a9a56d
Showing 1 changed file with 3 additions and 30 deletions.
33 changes: 3 additions & 30 deletions jenkins-scripts/dsl/ignition.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,9 @@ void generate_install_job(prefix, gz_sw, major_version, distro, arch)
gz_software.each { gz_sw ->
supported_arches.each { arch ->
// 1 Per library and per linux arch
// 1.1 Per abi_distro
// 1.1 DEPRECATED Per abi_distro
// 1.1.1 [job] ABI checker for main branches
// 1.2 Per ci_str_distro
// 1.2 DEPRECATED Per ci_str_distro
// 1.2.1 [job] Main PR jobs (-ci-pr_any-)
// 1.3 Per all supported_distros
// 1.3.1 Per all supported branches on each library
Expand All @@ -412,39 +412,12 @@ gz_software.each { gz_sw ->

abi_job_names[software_name] = "ignition_${software_name}-abichecker-any_to_any-ubuntu_auto-${arch}"
def abi_job = job(abi_job_names[software_name])
checkout_subdir = "ign-${software_name}"
OSRFLinuxABIGitHub.create(abi_job)
GenericAnyJobGitHub.create(abi_job,
"gazebosim/ign-${software_name}",
all_branches(software_name) - [ 'main'])
abi_job.with
{
extra_str=""
if (gz_sw == 'physics')
{
label Globals.nontest_label("large-memory")
// on ARM native nodes in buildfarm we need to restrict to 1 the
// compilation threads to avoid OOM killer
extra_str += '\nexport MAKE_JOBS=1'
}

steps {
shell("""\
#!/bin/bash -xe

export DISTRO=${distro}

${GLOBAL_SHELL_CMD}
${extra_str}

export ARCH=${arch}
export DEST_BRANCH=\${DEST_BRANCH:-\$ghprbTargetBranch}
export SRC_BRANCH=\${SRC_BRANCH:-\$ghprbSourceBranch}
export SRC_REPO=\${SRC_REPO:-\$ghprbAuthorRepoGitUrl}
export ABI_JOB_SOFTWARE_NAME=${checkout_subdir}
/bin/bash -xe ./scripts/jenkins-scripts/docker/gz-abichecker.bash
""".stripIndent())
} // end of steps
description 'Automatic generated job by DSL jenkins. Stub job for migration, not doing any check'
} // end of with
} // end of abi_distro

Expand Down

0 comments on commit 8a9a56d

Please sign in to comment.