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 (111) | asked Aug 19 '19, 4:37 a.m.
edited Aug 19 '19, 7:50 a.m. by Ralph Schoon (62.3k33643)

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
Ralph Schoon commented Sep 18 '19, 4:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Sorry, but this does not provide any useful information to me.  

Be the first one to answer this question!


Register or to post your answer.