diff --git a/Jenkinsfile b/Jenkinsfile index 673ceb74b8d6..117c96d41cbd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -253,9 +253,6 @@ pipeline { args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw -e HOME=$WORKSPACE' } } - options { - skipDefaultCheckout() - } steps { sh 'export' sh 'make distclean; rm -rf .ros; rm -rf .gazebo' @@ -313,7 +310,7 @@ pipeline { } steps { sh 'export' - sh 'make distclean; rm -rf .ros; rm -rf .gazebo' + sh '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' @@ -324,7 +321,6 @@ pipeline { sh 'px4-posix_sitl_default*/px4/Tools/upload_log.py -q --description "${JOB_NAME}: ${STAGE_NAME}" --feedback "${JOB_NAME} ${CHANGE_TITLE} ${CHANGE_URL}" --source CI .ros/rootfs/fs/microsd/log/*/*.ulg' archiveArtifacts '.ros/**/*.pdf' archiveArtifacts '.ros/**/*.csv' - sh 'make distclean' } failure { archiveArtifacts '.ros/**/*.ulg' @@ -346,7 +342,7 @@ pipeline { } steps { sh 'export' - sh 'make distclean; rm -rf .ros; rm -rf .gazebo' + sh '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' @@ -357,7 +353,6 @@ pipeline { sh 'px4-posix_sitl_default*/px4/Tools/upload_log.py -q --description "${JOB_NAME}: ${STAGE_NAME}" --feedback "${JOB_NAME} ${CHANGE_TITLE} ${CHANGE_URL}" --source CI .ros/rootfs/fs/microsd/log/*/*.ulg' archiveArtifacts '.ros/**/*.pdf' archiveArtifacts '.ros/**/*.csv' - sh 'make distclean' } failure { archiveArtifacts '.ros/**/*.ulg' @@ -379,7 +374,7 @@ pipeline { } steps { sh 'export' - sh 'make distclean; rm -rf .ros; rm -rf .gazebo' + sh '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' @@ -390,7 +385,6 @@ pipeline { sh 'px4-posix_sitl_default*/px4/Tools/upload_log.py -q --description "${JOB_NAME}: ${STAGE_NAME}" --feedback "${JOB_NAME} ${CHANGE_TITLE} ${CHANGE_URL}" --source CI .ros/rootfs/fs/microsd/log/*/*.ulg' archiveArtifacts '.ros/**/*.pdf' archiveArtifacts '.ros/**/*.csv' - sh 'make distclean' } failure { archiveArtifacts '.ros/**/*.ulg' @@ -412,7 +406,7 @@ pipeline { } steps { sh 'export' - sh 'make distclean; rm -rf .ros; rm -rf .gazebo' + sh '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' @@ -423,7 +417,6 @@ pipeline { sh 'px4-posix_sitl_default*/px4/Tools/upload_log.py -q --description "${JOB_NAME}: ${STAGE_NAME}" --feedback "${JOB_NAME} ${CHANGE_TITLE} ${CHANGE_URL}" --source CI .ros/rootfs/fs/microsd/log/*/*.ulg' archiveArtifacts '.ros/**/*.pdf' archiveArtifacts '.ros/**/*.csv' - sh 'make distclean' } failure { archiveArtifacts '.ros/**/*.ulg' @@ -445,7 +438,7 @@ pipeline { } steps { sh 'export' - sh 'make distclean; rm -rf .ros; rm -rf .gazebo' + sh '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' @@ -456,7 +449,6 @@ pipeline { sh 'px4-posix_sitl_default*/px4/Tools/upload_log.py -q --description "${JOB_NAME}: ${STAGE_NAME}" --feedback "${JOB_NAME} ${CHANGE_TITLE} ${CHANGE_URL}" --source CI .ros/rootfs/fs/microsd/log/*/*.ulg' archiveArtifacts '.ros/**/*.pdf' archiveArtifacts '.ros/**/*.csv' - sh 'make distclean' } failure { archiveArtifacts '.ros/**/*.ulg' @@ -478,7 +470,7 @@ pipeline { } steps { sh 'export' - sh 'make distclean; rm -rf .ros; rm -rf .gazebo' + sh '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' @@ -489,7 +481,6 @@ pipeline { sh 'px4-posix_sitl_default*/px4/Tools/upload_log.py -q --description "${JOB_NAME}: ${STAGE_NAME}" --feedback "${JOB_NAME} ${CHANGE_TITLE} ${CHANGE_URL}" --source CI .ros/rootfs/fs/microsd/log/*/*.ulg' archiveArtifacts '.ros/**/*.pdf' archiveArtifacts '.ros/**/*.csv' - sh 'make distclean' } failure { archiveArtifacts '.ros/**/*.ulg' @@ -511,7 +502,7 @@ pipeline { } steps { sh 'export' - sh 'make distclean; rm -rf .ros; rm -rf .gazebo' + sh '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' @@ -522,7 +513,6 @@ pipeline { sh 'px4-posix_sitl_default*/px4/Tools/upload_log.py -q --description "${JOB_NAME}: ${STAGE_NAME}" --feedback "${JOB_NAME} ${CHANGE_TITLE} ${CHANGE_URL}" --source CI .ros/rootfs/fs/microsd/log/*/*.ulg' archiveArtifacts '.ros/**/*.pdf' archiveArtifacts '.ros/**/*.csv' - sh 'make distclean' } failure { archiveArtifacts '.ros/**/*.ulg' @@ -544,7 +534,7 @@ pipeline { } steps { sh 'export' - sh 'make distclean; rm -rf .ros; rm -rf .gazebo' + sh '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' @@ -555,7 +545,6 @@ pipeline { sh 'px4-posix_sitl_default*/px4/Tools/upload_log.py -q --description "${JOB_NAME}: ${STAGE_NAME}" --feedback "${JOB_NAME} ${CHANGE_TITLE} ${CHANGE_URL}" --source CI .ros/rootfs/fs/microsd/log/*/*.ulg' archiveArtifacts '.ros/**/*.pdf' archiveArtifacts '.ros/**/*.csv' - sh 'make distclean' } failure { archiveArtifacts '.ros/**/*.ulg' @@ -574,7 +563,7 @@ pipeline { } steps { sh 'export' - sh 'make distclean; rm -rf .ros; rm -rf .gazebo' + sh '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' @@ -585,7 +574,6 @@ pipeline { sh 'px4-posix_sitl_default*/px4/Tools/upload_log.py -q --description "${JOB_NAME}: ${STAGE_NAME}" --feedback "${JOB_NAME} ${CHANGE_TITLE} ${CHANGE_URL}" --source CI .ros/rootfs/fs/microsd/log/*/*.ulg' archiveArtifacts '.ros/**/*.pdf' archiveArtifacts '.ros/**/*.csv' - sh 'make distclean' } failure { archiveArtifacts '.ros/**/*.ulg'