davsclaus commented on code in PR #24201:
URL: https://github.com/apache/camel/pull/24201#discussion_r3461598766


##########
Jenkinsfile.jdk26:
##########
@@ -96,7 +96,14 @@ pipeline {
                         steps {
                             cleanWs()
                             sh 'rm -rvf 
/home/jenkins/.m2/repository/org/apache/camel'
-                            checkout scm
+                            checkout([
+                                        $class: 'GitSCM',
+                                        branches: scm.branches,
+                                        extensions: [
+                                            [$class: 'CloneOption', depth: 1, 
noTags: true, shallow: true]
+                                        ],
+                                        userRemoteConfigs: 
scm.userRemoteConfigs
+                                    ])
                         }

Review Comment:
   Nit: the indentation here is slightly off compared to the surrounding 
`steps` block and the equivalent change in the main `Jenkinsfile`. The `$class` 
and its children have extra leading spaces.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to