diff --git a/Jenkinsfile b/Jenkinsfile index bf255aaeb81069f3b1c4a5932fb05e573f204dc9..64bd03d33a9647ab7e9f68cb3e6c079942d3b066 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -500,8 +500,8 @@ pipeline { docker { image 'px4io/px4-dev-base:2019-01-27' } } steps { - checkout(scm) sh('export') + sh('make distclean') withCredentials([usernamePassword(credentialsId: 'px4buildbot_github_personal_token', passwordVariable: 'GIT_PASS', usernameVariable: 'GIT_USER')]) { sh("git clone https://${GIT_USER}:${GIT_PASS}@github.com/PX4/px4_msgs.git -b ${BRANCH_NAME}") sh('python msg/tools/uorb_to_ros_msgs.py msg/ px4_msgs/msg/') @@ -516,9 +516,6 @@ pipeline { branch 'pr-jenkins' // for testing } } - options { - skipDefaultCheckout() - } } stage('PX4 ROS2 bridge') { @@ -526,8 +523,8 @@ pipeline { docker { image 'px4io/px4-dev-base:2019-01-27' } } steps { - checkout(scm) sh('export') + sh('make distclean') withCredentials([usernamePassword(credentialsId: 'px4buildbot_github_personal_token', passwordVariable: 'GIT_PASS', usernameVariable: 'GIT_USER')]) { sh("git clone https://${GIT_USER}:${GIT_PASS}@github.com/PX4/px4_ros_com.git -b ${BRANCH_NAME}") // deploy uORB RTPS ID map @@ -550,9 +547,6 @@ pipeline { branch 'pr-jenkins' // for testing } } - options { - skipDefaultCheckout() - } } stage('S3') {