SVN polls wrong URL if it includes a build parameter

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            Joachim Herb
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: