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

Unable to find the path of the MSBuild

    Details

    • Sprint:
      Declarative backlog
    • Similar Issues:

      Description

      Hi All,

       

      We are using multibranch pipeline in local  inside the client VDI. We have written descriptive pipeline which would have  few stages and installed in MSBuild in Local. This Groovy code is there in the Bit bucket along with my code(Selenium C# code).

      Configured the MSBuild path of local in the Global Tool Configuration in side the Jenkins.

      I am getting below errors

      "WorkflowScript: 47: Invalid tool type "msbuild". Valid tool types: [hudson.tasks.Ant$AntInstallation,"

      hudson.plugins.mercurial.MercurialInstallation] @ line 47, column 7.
      msbuild 'MSBuild'

      Sample Groovy Code what we use:

      pipeline {
         agent any
          options {

      }

      toos

      {   msbuild 'MSBuild'      *47 line this lin*     }

      stages {
      stage("SCM: Checkout"){
      steps{
      script

      { echo "VijayCheckOut1" }

      }
      }

       

       

        Attachments

          Activity

            People

            • Assignee:
              marshall777 Lionel Cabasson
              Reporter:
              vijay646 Vijay Reddy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: