Lightweight checkout not supported for IBM Rational Team Concert
Hello,
I'm having a problem with RTC and Jenkins Pipeline script (jenkinsfile).
My projects are stored in RTC 5.0.2 SCM and the master instance of Jenkins downloads the whole workspace to get the Jenkinsfile. In the log I get the error message:
Lightweight checkout support not available, falling back to full checkout.
Is there any workaround for this problem?
Thanks,
Esli Rocha
One answer
As far as I can see, lightweight checkout does not work in all cases. Similar problems was reported here:
https://issues.jenkins-ci.org/browse/JENKINS-43818
Why do you consider it as a "problem". Does the "full checkout" not do the job properly?
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Aug 28 '17, 3:31 a.m.Esli de Almeida Rocha
Aug 28 '17, 5:01 p.m.Geoff, Thanks for your comment.
I'm not an expert on RTC.
Would you mind to share with us an example how "RTC semantically does support what Jenkins calls 'lightweight checkout'" ?
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Aug 28 '17, 5:06 p.m.You can use the "scm get file" command to download the content of a particular file from any stream/workspace/snapshot/baseline directly from the server, without requiring you to first load that stream/workspace/snapshot/baseline into the local file system. That is what Jenkins calls a "lightweight checkout".