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

      In my global configuration, I define a variable as follows:

      BUILD_NAME = ${JOB_NAME}r${SVN_REVISION}_b${BUILD_NUMBER}${BUILD_ID}

      I then use this build name for the naming of folders and artifacts. This seems to work correctly, but about 80% of the time the SVN_REVISION is empty leaving my BUILD_NAME to contain "r" instead of "r####" as expected.

      I have tried using SVN_REVISION_1 as well.

      When I view the environment variables after the build is finished, it shows that both SVN_REVISION and SVN_REVISION_1 are set.

      If this did not work at all I would not have a problem, but the fact that it is seemingly random shows me that it can work but there are some issue that can hopefully be fixed.

          [JENKINS-20447] SVN_REVISION not always set

          Chris Tobey created issue -
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-20344 [ JENKINS-20344 ]
          Chris Tobey made changes -
          Link Original: This issue is related to JENKINS-20344 [ JENKINS-20344 ]
          Chris Tobey made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          Oleg Nenashev made changes -
          Link New: This issue is duplicated by JENKINS-21966 [ JENKINS-21966 ]
          Yoav Miles made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 151972 ] New: JNJira + In-Review [ 178133 ]

            Unassigned Unassigned
            ctobey Chris Tobey
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: