How to pass parameter in rtc plugin Jenkins

How to pass parameter in rtc plugin Jenkins



I am using RTC plugin for get source from IBM Rational Teamconcert in Jenkins, but how can I pass the parameter that I declared using This project is parameterized plugin like the image below



enter image description here



enter image description here



I used %variable_name% but not successful.


%variable_name%




1 Answer
1



You can see an example of a String parameter used in the Job Configuration section of this plugin.



However, make sure your Jenkins is running on Windows if you want to use %A_VARIABLE% syntax.

If it runs on Linux, that would be $A_VARIABLE.


%A_VARIABLE%


$A_VARIABLE





My Jenkins is running on Windows. I also tried $A_VARIABLE, but not successful. Error detail is: A project area with name "%PARAM_PROJECTNAME_TEAMCONCERT%" cannot be found.
– taibc
Aug 23 at 5:13





@taibc Strange, considering stackoverflow.com/a/33279636/6309. Do you see that error during the configuration of the plugin? Or at runtime, when trying to enter a value for that parameter?
– VonC
Aug 23 at 6:15





I got this error at runtime. I can use %variable% at another places, like properties fields user.admin=%PARAM_WAS_USERADMIN% pass.admin=%PARAM_WAS_PASSADMIN%
– taibc
Aug 23 at 6:23





@taibc Then it seems to be a bug in github.com/jenkinsci/teamconcert-plugin source code, where the project name does not seem to be properly fetched (meaning does not take into account the case where it is an environment variable)
– VonC
Aug 23 at 6:59





Thanks @VonC, what should I do ? I want to pass all parameters at "click build" step
– taibc
Aug 23 at 7:02






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)