Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Poll SCM using Jenkins not working

 Hi dear all, 


I have been trying to setup a job that polls the SCM (Jazz) and automatically run when a change is detected in the repository. I have enabled the "Poll SCM" option in Jenkins (@ every 5 mins) and I can see that Jenkins is trying to poll (from the logs), but it comes back saying no change detected which is not true.

I am trying to figure out why? My workspace is configured to follow the required streams I am interested in and Jenkins is configured with the Team Concert Plug in. Am I missing something? Please advise. 

0 votes

Comments

Is your Jenkins job configured to use a Build Workspace? If so can you confirm if the Build Workspace is used just in this particular Jenkins job and not in any other jobs/ Build Definition?

Hi Sridevi, 


Thanks for your suggestion. I have managed to get it working, it was a configuration error - my bad. Jenkins was running out of heap space at the server (all of a sudden), so RTC checkout/polling was not working as I expected it to. I understand this is not directly related to the topic, but for anyone who comes across this problem: 

- I used Java melody plug in to profile and have increased the memory now in the Jenkins.xml file from a default value of 256MB to something higher.

1 vote

Interesting problem. Thanks for sharing! 


Accepted answer

Permanent link

 See https://jazz.net/library/article/92827 and see https://jazz.net/library/ and type Jenkins into the search field. Should that not be enough, consider to provide information about how you configured the Jenkins Job.

Balu Pillai selected this answer as the correct answer

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 382

Question asked: Jun 20 '19, 11:47 a.m.

Question was seen: 4,234 times

Last updated: Jun 25 '19, 5:11 a.m.

Confirmation Cancel Confirm