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

Svn revisions not showing up in pipeline build

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • subversion-plugin
    • Jenkins-1.646
      Pipeline 1.13
      Subversion 2.5.7

      For pipeline builds it seems like the svn revision information isn't displayed on the build page like it is for normal freestyle builds.
      Correct me if I'm wrong but this seems like a bug to me, the corresponding information is shown correctly if I check out a git repository.
      I've attached some screenshots of a freestyle build and pipeline build.

      After looking in the build.xml and comparing between a freestyle build and pipeline build it is clear that the information is there, it is just not presented in the UI.

      Workflow script:

      node {
          svn '<<<svn-url>>>'
          bat 'echo "%BUILD_NUMBER%" > hello.txt'
          archive '*.txt'
      }
      

          [JENKINS-32744] Svn revisions not showing up in pipeline build

          Jon Sten created issue -
          Jon Sten made changes -
          Description Original: For pipeline builds it seems like the svn revision information isn't displayed on the build page like it is for normal freestyle builds.
          Correct me if I'm wrong but this seems like a bug to me, the corresponding information is shown correctly if I check out a git repository.
          I've attached some screenshots of a freestyle build and pipeline build.

          After looking in the build.xml and comparing between a freestyle build and pipeline build it is clear that the information is there, it is just not presented in the UI.

          Workflow script:
          {code:groovy}
          node {
              svn '<<<svn-url>>>'
              bat 'echo "%BUILD_NUMBER%" > hello.txt'
              archive '*.txt'
          }
          {code}
          New: For pipeline builds it seems like the svn revision information isn't displayed on the build page like it is for normal freestyle builds.
          Correct me if I'm wrong but this seems like a bug to me, the corresponding information is shown correctly if I check out a git repository.
          I've attached some screenshots of a freestyle build and pipeline build.

          After looking in the build.xml and comparing between a freestyle build and pipeline build it is clear that the information is there, it is just not presented in the UI.

          Workflow script:
          {code:java}
          node {
              svn '<<<svn-url>>>'
              bat 'echo "%BUILD_NUMBER%" > hello.txt'
              archive '*.txt'
          }
          {code}
          Jesse Glick made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Jesse Glick made changes -
          Labels New: workflow
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168408 ] New: JNJira + In-Review [ 183115 ]
          Andrew Bayer made changes -
          Labels Original: workflow New: pipeline workflow
          Andrew Bayer made changes -
          Labels Original: pipeline workflow New: pipeline
          Reinhold Füreder made changes -
          Attachment New: screenshot-1.png [ 35450 ]

          While "<JENKINS HOST>/job/<PIPELINE JOB NAME>/pipeline-syntax/globals" at least documents that, I also think this should be fixed, if possible:

          Reinhold Füreder added a comment - While "<JENKINS HOST>/job/<PIPELINE JOB NAME>/pipeline-syntax/globals" at least documents that, I also think this should be fixed, if possible:

            Unassigned Unassigned
            jons Jon Sten
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: