It's all about the answers!

Ask a question

Using Jenkins RTC, trying to get the checkout to go directly to a directory


Sebastien Collomb (11) | asked Aug 19, 4:37 a.m.
edited Aug 19, 7:50 a.m. by Ralph Schoon (55.3k23642)

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.

Be the first one to answer this question!


Register or to post your answer.