checkin and delivery from local file system to rtc through Jenkins
3 answers
To my knowledge the Jenkins plugin has the capabilities needed to make the SCM data available to the build. So you can load them down. To my knowledge there is no capability to check in and deliver files during the build using the Jenkins plugin.
Comments
My interpretation of the question was along the lines, I need to check in and deliver a product of the build. The post build deliver is only able to deliver the version that was accepted into the build workspace to another (green) stream. It actually does not deliver, it sets a baseline as far as I am aware.
My suggestion is to avoid the artifactFilePublisher. The Build result data should be published as HTML be on some storage or binary artifact repository such as Artifactory.
Publisch URL's for the artefacts using artifactLinkPublisher. This can lead to a download page or directly to the download too, but you do not store the binaries in the EWM repo.
Davyd, I think this is just preference. If it works for you, use it.
Generally when cmd line utilities (RTC SCM) are invoked from an application (Jenkins), environment variables necessary for the cmd line utility are met as system environment variables are modified by the application for its own purposes. Try setting the environment variables explicitly in your script.