We are using Team Concert plugin
<https://wiki.jenkins-ci.org/display/JENKINS/Team+Concert+Plugin> v1.2.0.0
as SCM in Jenkins.
It can be invoked in a Pipeline script as following:
checkout([$class: 'RTCScm',
avoidUsingToolkit: false,
buildTool: 'RTC Build Toolkit 6.0.1',
buildType: [
buildSnapshot: '_1drkejh2224kljgsj',
loadDirectory: '.',
value: 'buildSnapshot'],
credentialsId: 'fdc0f423-d7d6-4dbc-b163-6fg9e1140e13',
overrideGlobal: true,
serverURI: 'https://localhost:9443/ccm',
timeout: 480
])
The *BuildType *is an inner static class with several parameters:
https://github.com/jenkinsci/teamconcert-plugin/blob/master/com.ibm.team.build.hjplugin/src/main/java/com/ibm/team/build/internal/hjplugin/RTCScm.java#L149
We would like to set its *loadRules *parameter, which is not in the
*@DataBoundConstructor*. The setter (setLoadRules) is public, but does not
have the* @DataBoundSetter* annotation either:
https://github.com/jenkinsci/teamconcert-plugin/blob/master/com.ibm.team.build.hjplugin/src/main/java/com/ibm/team/build/internal/hjplugin/RTCScm.java#L208
Is there a way to work around it and set the *BuildType.loadRules* value in
the pipeline script?
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/ff8c8a4c-ce6e-4a86-af35-b8adc4667ff5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.