How to deliver changes to RTC from Jenkins job?
I would like to check in / deliver some build results to an RTC stream from a Jenkins pipeline job.
There's a recent enhancement to the Jenkins plugin which seems aimed at what I need, but I don't see documentation or an example of how to accomplish this.
If I try to use lscm, it doesn't have Jenkins' credentials and I get "CRJAZ0100W A password is required."
Is there some way to pass the Jenkins credentials to lscm? Are there API calls I can make with groovy from within Jenkins?
One answer
If you are using pipeline jobs, there is a withCredentials step that allows you inject username,password from a credentials object into variables that can then be used in the scm/lscm command.