-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Server VM (build 11.0-b16, mixed mode)
Jenkins ver. 1.509.1
If I define an environment variable NEXUS_BASE_URL=http://l1-ibrprdmvn01.nl.rsg under Jenkins global properties 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:
Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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.
The following workaround works. Define an environment variable NEXUS_HOST=l1-ibrprdmvn01.nl.rsg and use it in the url:
See the log:
Polling started on May 15, 2013 2:57:04 PM Polling for the job playground_-_schommel_-_schommel-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.
[JENKINS-17961] URLTrigger does not poll when URL starts with environment variable
Description |
Original:
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_-_schommel_-_schommel-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_-_schommel_-_schommel-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> |
New:
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: <code>Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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.</code> 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_-_schommel_-_schommel-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> |
Description |
Original:
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: <code>Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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.</code> 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_-_schommel_-_schommel-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> |
New:
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: {blockquote}Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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.{blockquote} 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_-_schommel_-_schommel-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> |
Description |
Original:
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: {blockquote}Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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.{blockquote} 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_-_schommel_-_schommel-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> |
New:
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: {quote}Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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.{quote} 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_-_schommel_-_schommel-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> |
Description |
Original:
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: {quote}Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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.{quote} 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_-_schommel_-_schommel-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> |
New:
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: {code}Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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.{code} 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_-_schommel_-_schommel-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> |
Description |
Original:
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: {code}Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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.{code} 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_-_schommel_-_schommel-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> |
New:
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: {code} Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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. {code} 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 {code} Polling started on May 15, 2013 2:57:04 PM Polling for the job playground_-_schommel_-_schommel-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. {code} |
Description |
Original:
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: {code} Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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. {code} 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 {code} Polling started on May 15, 2013 2:57:04 PM Polling for the job playground_-_schommel_-_schommel-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. {code} |
New:
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: {code} Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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. {code} 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 See the log: {code} Polling started on May 15, 2013 2:57:04 PM Polling for the job playground_-_schommel_-_schommel-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. {code} |
Description |
Original:
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: {code} Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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. {code} 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 See the log: {code} Polling started on May 15, 2013 2:57:04 PM Polling for the job playground_-_schommel_-_schommel-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. {code} |
New:
If I define an environment variable NEXUS_BASE_URL=http://l1-ibrprdmvn01.nl.rsg under Jenkins global properties 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: {code} Polling started on May 15, 2013 2:51:04 PM Polling for the job playground_-_schommel_-_schommel-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. {code} 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 See the log: {code} Polling started on May 15, 2013 2:57:04 PM Polling for the job playground_-_schommel_-_schommel-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. {code} |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Code changed in jenkins
User: Gregory Boissinot
Path:
pom.xml
src/main/java/org/jenkinsci/plugins/urltrigger/URLTrigger.java
src/main/java/org/jenkinsci/plugins/urltrigger/URLTriggerEntry.java
src/main/java/org/jenkinsci/plugins/urltrigger/URLTriggerResolvedEntry.java
http://jenkins-ci.org/commit/urltrigger-plugin/3b58375adc94fb288f3697bfc85f86aab06d08b3
Log:
Fix
JENKINS-17961