Skip to content

Commit

Permalink
going all in
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed Aug 26, 2021
1 parent 6987caa commit 271f12e
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions jenkins-scripts/dsl/gazebo.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -97,20 +97,9 @@ abi_distro.each { distro ->
steps {
shell("""\
#!/bin/bash -xe
wget https://raw.githubusercontent.com/osrf/bash-yaml/master/yaml.sh -O yaml.sh
source yaml.sh

if [[ -f \${WORKSPACE}/gazebo/bitbucket-pipelines.yml ]]; then
create_variables \${WORKSPACE}/gazebo/bitbucket-pipelines.yml
fi

export DISTRO=${distro}

if [[ -n \${image} ]]; then
echo "Bitbucket pipeline.yml detected. Default DISTRO is ${distro}"
export DISTRO=\$(echo \${image} | sed 's/ubuntu://')
fi

export ARCH=${arch}
export DEST_BRANCH=\${DEST_BRANCH:-\$ghprbTargetBranch}
export SRC_BRANCH=\${SRC_BRANCH:-\$ghprbSourceBranch}
Expand Down Expand Up @@ -140,20 +129,9 @@ ci_distro.each { distro ->
{
shell("""\
#!/bin/bash -xe
wget https://raw.githubusercontent.com/osrf/bash-yaml/master/yaml.sh -O yaml.sh
source yaml.sh

if [[ -f \${WORKSPACE}/gazebo/bitbucket-pipelines.yml ]]; then
create_variables \${WORKSPACE}/gazebo/bitbucket-pipelines.yml
fi

export DISTRO=${distro}

if [[ -n \${image} ]]; then
echo "Bitbucket pipeline.yml detected. Default DISTRO is ${distro}"
export DISTRO=\$(echo \${image} | sed 's/ubuntu://')
fi

export ARCH=${arch}
export GPU_SUPPORT_NEEDED=true
/bin/bash -xe ./scripts/jenkins-scripts/docker/gazebo-compilation.bash
Expand Down

0 comments on commit 271f12e

Please sign in to comment.