Using Jenkins RTC, trying to get the checkout to go directly to a directory
![]()
Sebastien Collomb (11●1)
| asked Aug 19 '19, 4:37 a.m.
edited Aug 19 '19, 7:50 a.m. by Ralph Schoon (62.3k●3●36●43) Trying to optimise build times by removing the step of RTC copying a build over to RTC_EXTRACTS before copying it back to build. Using Jenkins RTC, trying to get the checkout to go directly to a directory instead of using "buildDefinition:"JOBIDStreamBuild"". <style type="text/css"> p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco} </style>
This is the checkout code within a try-catch statement:
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco} span.Apple-tab-span {white-space:pre}
</style>
pipelineWorkspace = "${env.WORKSPACE}" println "PipelineWorkspace is ${pipelineWorkspace}" checkout scm : [ $class : "RTCScm", overrideGlobal: false, timeout:4800, buildType :[value:"buildDefinition", buildDefinition:"JOBIDStreamBuild", buildWorkspace:null, loadDirectory:"${pipelineWorkspace}"]]
Have tried with the loadDirectory but still points to RTC_EXTRACTS. Wondering if this problem can be solved or something RTC needs to carry out. |
Comments
Sorry, but this does not provide any useful information to me.