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

While setting workspace name in Pipeline project for TFS unable to use Environment variable like BUILD_ID

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • tfs-plugin
    • None
    • Jenkins - 2.176

      Hi,

      We are setting up a Pipeline project to use Jenkinsfile, we have our repository in Azure DevOps and while specifying the name space we would like to give it like 'BUILD_ID-JOB_NAME'. Since we want to use single pipeline to build multiple projects so we want to have unique workspace name. But the above mentioned format is not working, it's unable to resolve the BUILD_ID in workspace name.

      Can someone please help to resolve this issue.

          [JENKINS-63238] While setting workspace name in Pipeline project for TFS unable to use Environment variable like BUILD_ID

          Pradheep S created issue -
          Pradheep S made changes -
          Summary Original: While setting workspace name in Pipeline project for TFS unable to use Environment name New: While setting workspace name in Pipeline project for TFS unable to use Environment variable like BUILD_ID
          Pradheep S made changes -
          Environment New: Jenkins - 2.176
          Pradheep S made changes -
          Attachment New: Worspace_Name_Issue.jpg [ 52009 ]
          Ian Williams made changes -
          Assignee Original: redsolo [ redsolo ]

            Unassigned Unassigned
            pradheeps Pradheep S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: