Skip to content

Commit

Permalink
ignore failures in catkin/colcon build, if arg is set
Browse files Browse the repository at this point in the history
  • Loading branch information
lreiher committed Jun 6, 2024
1 parent bf8b8ce commit f1d405c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ ARG ENABLE_ROS1_DEVEL_SPACE="false"
RUN source /opt/ros/${ROS_DISTRO}/setup.bash && \
if [[ -x "$(command -v colcon)" ]]; then \
if [[ $ENABLE_CONTINUE_BUILD_DESPITE_ERRORS == 'true' ]]; then \
colcon build --continue-on-error --cmake-args -DCMAKE_BUILD_TYPE=Release ; \
colcon build --continue-on-error --cmake-args -DCMAKE_BUILD_TYPE=Release || true ; \
else \
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release ; \
fi ; \
Expand All @@ -269,7 +269,7 @@ RUN source /opt/ros/${ROS_DISTRO}/setup.bash && \
catkin config --install --extend /opt/ros/${ROS_DISTRO} ; \
fi && \
if [[ $ENABLE_CONTINUE_BUILD_DESPITE_ERRORS == 'true' ]]; then \
catkin build -DCMAKE_BUILD_TYPE=Release --force-color --no-status --summarize --continue-on-failure ; \
catkin build -DCMAKE_BUILD_TYPE=Release --force-color --no-status --summarize --continue-on-failure || true ; \
else \
catkin build -DCMAKE_BUILD_TYPE=Release --force-color --no-status --summarize ; \
fi ; \
Expand Down

0 comments on commit f1d405c

Please sign in to comment.