From 67b928bae0eb2ea31113929fb26036ea096afad2 Mon Sep 17 00:00:00 2001 From: bernatx Date: Thu, 9 Nov 2023 09:57:37 +0100 Subject: [PATCH] fixing Jenkinsfile for ROS2 package --- Jenkinsfile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index cb2364b57..27eea9787 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -96,7 +96,6 @@ pipeline { sh 'make package ARGS="--python-version=3.7,2 --target-wheel-platform=manylinux_2_27_x86_64 --chrono"' sh 'make package ARGS="--packages=AdditionalMaps,Town06_Opt,Town07_Opt,Town11,Town12,Town13,Town15 --target-archive=AdditionalMaps --clean-intermediate --python-version=3.7,2 --target-wheel-platform=manylinux_2_27_x86_64"' - sh 'make package ARGS="--python-version=3.7,2 --target-wheel-platform=manylinux_2_27_x86_64 --archive-sufix=ROS2 --chrono --ros2"' sh 'make examples ARGS="localhost 3654"' } post @@ -108,6 +107,21 @@ pipeline // stash includes: 'Dist/AdditionalMaps*.tar.gz', name: 'ubuntu_package2' stash includes: 'Examples/', name: 'ubuntu_examples' } + } + } + stage('ubuntu package with ROS2') + { + steps + { + sh 'rm Dist/CARLA*.tar.gz' + sh 'make package ARGS="--python-version=3.7,2 --target-wheel-platform=manylinux_2_27_x86_64 --archive-sufix=ROS2 --chrono --ros2"' + } + post + { + always + { + archiveArtifacts 'Dist/CARLA*.tar.gz' + } success { node('master')