Skip to content

Commit eddf7bd

Browse files
authored
Manually clone the repository in CI to ensure the submodule clone too (#737) (#738)
#fix 736: Do a manual checkout cloning submodules
1 parent eb8092d commit eddf7bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Jenkinsfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pipeline {
2121
}
2222

2323
options {
24+
skipDefaultCheckout()
2425
disableConcurrentBuilds()
2526
/*
2627
To avoid excessive resource usage in server, we limit the number
@@ -46,6 +47,11 @@ pipeline {
4647
stage('Configuration') {
4748
steps {
4849
script {
50+
checkoutCommunityRepoBranch(
51+
'rticonnextdds-examples',
52+
env.BRANCH_NAME,
53+
false,
54+
)
4955
pipelineInfo.dockerDir = "${env.WORKSPACE}/resources/docker/"
5056
pipelineInfo.staticAnalysisDir = "${env.WORKSPACE}/static_analysis_report"
5157
runInsideExecutor(

0 commit comments

Comments
 (0)