If I define an environment variable NEXUS_BASE_URL=http://l1-ibrprdmvn01.nl.rsg and use it in the following url to poll:
$NEXUS_BASE_URL/service/local/lucene/search?repositoryId=releases&g=nl.ibridge.jenkins-playground&a=shared-library
no polling happens. See the following log:
<pre>Polling started on May 15, 2013 2:51:04 PM
Polling for the job playground_schommelschommel-2-release-_update_shared_library_versie
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.
Polling complete. Took 1 ms.
No changes.</pre>
The following workaround works. Define an environment variable NEXUS_HOST=l1-ibrprdmvn01.nl.rsg and use it in the url:
http://$NEXUS_HOST/service/local/lucene/search?repositoryId=releases&g=nl.ibridge.jenkins-playground&a=shared-library
<pre>Polling started on May 15, 2013 2:57:04 PM
Polling for the job playground_schommelschommel-2-release-_update_shared_library_versie
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://l1-ibrprdmvn01.nl.rsg/service/local/lucene/search?repositoryId=releases&g=nl.ibridge.jenkins-playground&a=shared-library
Inspecting the content
Polling complete. Took 92 ms.
No changes.</pre>
|