Hi Schalk, Poll job/lastSuccessfulBuild/buildNumberinstead and skip the whole xpath - it will work and be lighter weight on the target server :)
/James From: [email protected] [mailto:[email protected]] On Behalf Of Schalk Cronjé Sent: 16 October 2013 14:38 To: [email protected] Subject: URLTrigger and content inspection I am trying to monitor a remote Jenkins using the URLTrigger. I set monitoring to look at a XML content change in the build number i.e. using xpath of //number/text(). All I get is the following in the Trigger Log [URLTrigger] - Poll with a URL Inspecting XML content for URL http://OTHER_JENKINS_URL/job/OTHER_JOB_NAME/lastSuccessfulBuild/api/xml Polling started on Oct 16, 2013 7:56:50 PM Polling for the job JOB_NAME Looking nodes where the poll can be run. Looking for a node to the restricted label master. Restrict on master label. Polling on master. Polling on master. Invoking the url: http://OTHER_JENKINS_URL/job/OTHER_JOB_NAME/lastSuccessfulBuild/api/xml<http://jenkins.megqa.nai.com/job/SchalkTEst2/lastSuccessfulBuild/api/xml> Inspecting the content [ERROR] - Polling error... [ERROR] - Error message: The size between old results and new results has to be the same. I have tried the same with a JSON trying both .number and lastSuccessfulBuild.number as JSON paths. Results are still the same. Any ideas? Versions: Jenkins = 1.531, URLTrigger Plugin = 0.35, XTrigger Plugin= 0.54 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
