Skip to content

Commit

Permalink
Fix spacing in extra_cmd
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Oct 16, 2023
1 parent 077f4ef commit dd865de
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions jenkins-scripts/dsl/ignition.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -515,12 +515,12 @@ void generate_asan_ci_job(gz_ci_job, gz_sw, branch, distro, arch)
generate_ci_job(gz_ci_job, gz_sw, branch, distro, arch,
'-DGZ_SANITIZER=Address',
Globals.MAKETEST_SKIP_GZ,
'export ASAN_OPTIONS=check_initialization_order=true:strict_init_order=true')
['export ASAN_OPTIONS=check_initialization_order=true:strict_init_order=true'])
}


void generate_ci_job(gz_ci_job, gz_sw, branch, distro, arch,
extra_cmake = '', extra_test = '', extra_cmd = '')
extra_cmake = '', extra_test = '', extra_cmd = [])
{
OSRFLinuxCompilation.create(gz_ci_job, enable_testing(software_name))
OSRFGitHub.create(gz_ci_job,
Expand All @@ -532,17 +532,16 @@ void generate_ci_job(gz_ci_job, gz_sw, branch, distro, arch,
{
if (gz_sw == 'physics') {
label Globals.nontest_label("large-memory")
extra_cmd += '\nexport MAKE_JOBS=1'
extra_cmd += "export MAKE_JOBS=1"
}
if (gz_sw == 'gazebo')
gz_sw = 'sim'

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

${GLOBAL_SHELL_CMD}
${extra_cmd}
${extra_cmd.join('\n')}
export BUILDING_EXTRA_CMAKE_PARAMS="${extra_cmake}"
export BUILDING_EXTRA_MAKETEST_PARAMS="${extra_test}"
export DISTRO=${distro}
Expand Down

0 comments on commit dd865de

Please sign in to comment.