It's all about the answers!

Ask a question

RTC Checkout code in groovy

vinitha dsouza (1451796) | asked Jun 07 '16, 9:48 a.m.
Hello Team

I am working on groovy script where i need to Checkout(or download)  the component  from RTC .

Anyone have idea how do we solve this?

I have a sample code which is not working .

checkout([$class: 'RTCScm',
    avoidUsingToolkit: false, buildTool: 'current',
    buildType: [buildDefinition: 'ESM_CC-AS_ALM_Tooling_Dev',    
                value: 'buildDefinition'],
                credentialsId: buildUser,
                overrideGlobal: true,
                serverURI: '',           //write the alm link
                timeout: 480])

please help

One answer

permanent link
sam detweiler (12.5k6191201) | answered Jun 07 '16, 10:35 a.m.
there is SO much that has to be done when u are doing this in java/.groovy.  none of it documented..

I would just wrapper the SCM command

Your answer

Register or to post your answer.