Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34236

SVN polls wrong URL if it includes a build parameter

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • subversion-plugin
    • None

      If a build parameter with default value is used in a SVN URL and the build should be started by changes in the SVN repository, a wrong URL is used for polling. The parameter used for the polling URL seems to be the parameter used in the last build and not the default parameter.

      This is my URL in the Job config:

      https://xxx/svn/repos/zzz/source/${BRANCH}
      

      BRANCH is a job parameter and its default value is trunk

      Expected result:
      The URL used for polling the SVN repository should be constructed by using the default value of the parameter
      https://xxx/svn/repos/zzz/source/trunk

      Actual result:
      The URL used for polling the SVN repository uses the parameter used in the last build.
      https://xxx/svn/repos/zzz/source/tags/yyy

      Then the poll does not see any changes (confirmed by https://xxx/job/zzz/scmPollLog/) and no build is started.

          [JENKINS-34236] SVN polls wrong URL if it includes a build parameter

            Unassigned Unassigned
            jherb Joachim Herb
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: