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

SCM build trigger not working correctly with variables in SVN URL

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I tried using variables in my SVN URL with Subversion plug-in 1.29, but now the SCM build trigger triggers a new build on every update check.

      I created two global variables in the Jenkins System Configuration:

      MYSVN_BASE=file:///home/svn/myproject
      MYSVN_BRANCH=trunk

      and in my build job I use

      $MYSVN_BASE/$MYSVN_BRANCH

      as the SVN URL and the SCM build trigger set to check every 15 minutes for updates.

      Despite a nasty "Invalid URL syntax" error marker below the URL field, checking out and building the project works fine. However, the log says:

      Started by an SCM change
      Updating file:///home/svn/myproject/trunk
      At revision 13360
      no revision recorded for $MYSVN_BASE/$MYSVN_BRANCH in the previous build

      And on any subsequent SCM check, the build is triggered with that same message...

        Attachments

          Issue Links

            Activity

            creckord Carsten Reckord created issue -
            creckord Carsten Reckord made changes -
            Field Original Value New Value
            Affects Version/s current [ 10162 ]
            josbraaksma Jos Braaksma made changes -
            Link This issue is related to JENKINS-10925 [ JENKINS-10925 ]
            sogabe sogabe made changes -
            Assignee sogabe [ sogabe ]
            sogabe sogabe made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            rseguy Romain Seguy made changes -
            Link This issue is duplicated by JENKINS-10925 [ JENKINS-10925 ]
            rseguy Romain Seguy made changes -
            Link This issue is related to JENKINS-10925 [ JENKINS-10925 ]
            kutzi kutzi made changes -
            Link This issue is duplicated by JENKINS-10485 [ JENKINS-10485 ]
            kutzi kutzi made changes -
            Link This issue is related to JENKINS-11592 [ JENKINS-11592 ]
            leojhartiv leojhartiv made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            beroess Bela Eröss made changes -
            Attachment JENKINS-10628.patch [ 21762 ]
            mcklaus Klaus Azesberger made changes -
            Link This issue is related to JENKINS-16116 [ JENKINS-16116 ]
            mcklaus Klaus Azesberger made changes -
            kutzi kutzi made changes -
            Link This issue is duplicated by JENKINS-16116 [ JENKINS-16116 ]
            kutzi kutzi made changes -
            Link This issue is related to JENKINS-16116 [ JENKINS-16116 ]
            h_ti Heiner Tittelbach made changes -
            Link This issue is related to JENKINS-23007 [ JENKINS-23007 ]
            h_ti Heiner Tittelbach made changes -
            Link This issue is related to JENKINS-22568 [ JENKINS-22568 ]
            h_ti Heiner Tittelbach made changes -
            Link This issue is related to JENKINS-22922 [ JENKINS-22922 ]
            recena Manuel Recena Soto made changes -
            Resolution Done [ 10000 ]
            Status Reopened [ 4 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 140822 ] JNJira + In-Review [ 189279 ]

              People

              Assignee:
              sogabe sogabe
              Reporter:
              creckord Carsten Reckord
              Votes:
              36 Vote for this issue
              Watchers:
              41 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: