RTC Plugin - (light) checkout workspace?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RTC Plugin - (light) checkout workspace?

Torsten Reinhard
Hi,

in one project we are using the https://wiki.jenkins.io/display/JENKINS/Team+Concert+Plugin for SCM

We have a large Stream that includes nearly all components, the components contain the Maven modules.
To get only the components and Maven modules I need for my build, I decided to create special RTC workspaces,
where only some of all components are added.

Example:Jenkins-Sandbox_MyLargeStream-maven_builder contains only the "maven_builder" component, containing only one Maven module.

My pipeline scripts now looks like:
node() {
    stage
('Checkout') {
      checkout
([$class: 'RTCScm',
                avoidUsingToolkit
: false,
                buildTool
: 'RTC build toolkit',
                buildType
: [buildWorkspace: 'Jenkins-Sandbox_MyLargeStream-maven_builder',
                            customizedSnapshotName
: '',
                            loadDirectory
: '',
                            value
: 'buildWorkspace'],
                credentialsId
: 'buildmgr',
                overrideGlobal
: false,
                serverURI
: 'https://myserver:9043/ccm/',
                timeout
: 480])  
   
}
}

After running that pipeline, I got a workspace containing ALL modules of the stream - and a changeset containg all changes of the stream!
The module I configured in that workspace seems to be ignored.

Is there a way to load only parts of a Stream like it should be possible using workspaces?

thanx for any hints,

Torsten



--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d2c98f72-da80-460e-b122-33042c9a0e01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.