diff --git a/Jenkinsfile b/Jenkinsfile index 117c96d41cbd..5ea801c0188a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -310,7 +310,7 @@ pipeline { } steps { sh 'export' - sh 'rm -rf .ros; rm -rf .gazebo' + sh 'rm -rf build; rm -rf .ros; rm -rf .gazebo' unstash 'px4_sitl_package' sh 'tar -xjpf build/posix_sitl_default/px4-posix_sitl_default*.bz2' sh 'px4-posix_sitl_default*/px4/test/rostest_px4_run.sh mavros_posix_test_mission.test mission:=vtol_new_1 vehicle:=standard_vtol' @@ -342,7 +342,7 @@ pipeline { } steps { sh 'export' - sh 'rm -rf .ros; rm -rf .gazebo' + sh 'rm -rf build; rm -rf .ros; rm -rf .gazebo' unstash 'px4_sitl_package' sh 'tar -xjpf build/posix_sitl_default/px4-posix_sitl_default*.bz2' sh 'px4-posix_sitl_default*/px4/test/rostest_px4_run.sh mavros_posix_test_mission.test mission:=vtol_new_1 vehicle:=tailsitter' @@ -374,7 +374,7 @@ pipeline { } steps { sh 'export' - sh 'rm -rf .ros; rm -rf .gazebo' + sh 'rm -rf build; rm -rf .ros; rm -rf .gazebo' unstash 'px4_sitl_package' sh 'tar -xjpf build/posix_sitl_default/px4-posix_sitl_default*.bz2' sh 'px4-posix_sitl_default*/px4/test/rostest_px4_run.sh mavros_posix_test_mission.test mission:=vtol_new_1 vehicle:=tiltrotor' @@ -406,7 +406,7 @@ pipeline { } steps { sh 'export' - sh 'rm -rf .ros; rm -rf .gazebo' + sh 'rm -rf build; rm -rf .ros; rm -rf .gazebo' unstash 'px4_sitl_package' sh 'tar -xjpf build/posix_sitl_default/px4-posix_sitl_default*.bz2' sh 'px4-posix_sitl_default*/px4/test/rostest_px4_run.sh mavros_posix_test_mission.test mission:=vtol_new_2 vehicle:=standard_vtol' @@ -438,7 +438,7 @@ pipeline { } steps { sh 'export' - sh 'rm -rf .ros; rm -rf .gazebo' + sh 'rm -rf build; rm -rf .ros; rm -rf .gazebo' unstash 'px4_sitl_package' sh 'tar -xjpf build/posix_sitl_default/px4-posix_sitl_default*.bz2' sh 'px4-posix_sitl_default*/px4/test/rostest_px4_run.sh mavros_posix_test_mission.test mission:=vtol_old_1 vehicle:=standard_vtol' @@ -470,7 +470,7 @@ pipeline { } steps { sh 'export' - sh 'rm -rf .ros; rm -rf .gazebo' + sh 'rm -rf build; rm -rf .ros; rm -rf .gazebo' unstash 'px4_sitl_package' sh 'tar -xjpf build/posix_sitl_default/px4-posix_sitl_default*.bz2' sh 'px4-posix_sitl_default*/px4/test/rostest_px4_run.sh mavros_posix_test_mission.test mission:=vtol_old_2 vehicle:=standard_vtol' @@ -502,7 +502,7 @@ pipeline { } steps { sh 'export' - sh 'rm -rf .ros; rm -rf .gazebo' + sh 'rm -rf build; rm -rf .ros; rm -rf .gazebo' unstash 'px4_sitl_package' sh 'tar -xjpf build/posix_sitl_default/px4-posix_sitl_default*.bz2' sh 'px4-posix_sitl_default*/px4/test/rostest_px4_run.sh mavros_posix_test_mission.test mission:=multirotor_box vehicle:=iris' @@ -534,7 +534,7 @@ pipeline { } steps { sh 'export' - sh 'rm -rf .ros; rm -rf .gazebo' + sh 'rm -rf build; rm -rf .ros; rm -rf .gazebo' unstash 'px4_sitl_package' sh 'tar -xjpf build/posix_sitl_default/px4-posix_sitl_default*.bz2' sh 'px4-posix_sitl_default*/px4/test/rostest_px4_run.sh mavros_posix_tests_offboard_attctl.test' @@ -563,7 +563,7 @@ pipeline { } steps { sh 'export' - sh 'rm -rf .ros; rm -rf .gazebo' + sh 'rm -rf build; rm -rf .ros; rm -rf .gazebo' unstash 'px4_sitl_package' sh 'tar -xjpf build/posix_sitl_default/px4-posix_sitl_default*.bz2' sh 'px4-posix_sitl_default*/px4/test/rostest_px4_run.sh mavros_posix_tests_offboard_posctl.test'