Can't poll SCM accept changes from a stream?
![]()
Rainy John (38●12●24)
| asked Oct 02 '13, 8:38 a.m.
edited Jun 20 '19, 3:42 p.m. by David Lafreniere (4.8k●7) I am trying to automate my build by pointing to a stream. My requirement is that whenever changes are delivered to my stream, build should be triggered. I am using Jenkins poll scm option to trigger the build. But it is failing. It is asking to give a workspace. |
Accepted answer
![]()
Assuming you're using the Team Concert plugin for Jenkins, the job needs to be configured to use RTC SCM, then you need to point it at either a build workspace (SCM only) or a build definition (SCM + Build integration). In the latter case, it's the build definition that points to which build workspace to use. The build workspace should be configured to flow to the stream from which changes are to be built. You can then set the frequency with which to poll for changes in the Jenkins job.
Rainy John selected this answer as the correct answer
|
2 other answers
![]() Only if using the deliver hook (post commit script to trigger the Jenkins job) would have been simpler to use. Then polling would not have been necessary. |
Comments
can you please share the way you are triggering the build, and also the exact error message?