Skip to content

Commit 3959180

Browse files
authored
Jenkins PX4 ROS deploy steps cleanup first
1 parent 8a33057 commit 3959180

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Jenkinsfile

+2-8
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,8 @@ pipeline {
500500
docker { image 'px4io/px4-dev-base:2019-01-27' }
501501
}
502502
steps {
503-
checkout(scm)
504503
sh('export')
504+
sh('make distclean')
505505
withCredentials([usernamePassword(credentialsId: 'px4buildbot_github_personal_token', passwordVariable: 'GIT_PASS', usernameVariable: 'GIT_USER')]) {
506506
sh("git clone https://${GIT_USER}:${GIT_PASS}@github.com/PX4/px4_msgs.git -b ${BRANCH_NAME}")
507507
sh('python msg/tools/uorb_to_ros_msgs.py msg/ px4_msgs/msg/')
@@ -516,18 +516,15 @@ pipeline {
516516
branch 'pr-jenkins' // for testing
517517
}
518518
}
519-
options {
520-
skipDefaultCheckout()
521-
}
522519
}
523520

524521
stage('PX4 ROS2 bridge') {
525522
agent {
526523
docker { image 'px4io/px4-dev-base:2019-01-27' }
527524
}
528525
steps {
529-
checkout(scm)
530526
sh('export')
527+
sh('make distclean')
531528
withCredentials([usernamePassword(credentialsId: 'px4buildbot_github_personal_token', passwordVariable: 'GIT_PASS', usernameVariable: 'GIT_USER')]) {
532529
sh("git clone https://${GIT_USER}:${GIT_PASS}@github.com/PX4/px4_ros_com.git -b ${BRANCH_NAME}")
533530
// deploy uORB RTPS ID map
@@ -550,9 +547,6 @@ pipeline {
550547
branch 'pr-jenkins' // for testing
551548
}
552549
}
553-
options {
554-
skipDefaultCheckout()
555-
}
556550
}
557551

558552
stage('S3') {

0 commit comments

Comments
 (0)