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

Unable to find the path of the MSBuild

XMLWordPrintable

    • Declarative backlog

      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" }

      }
      }

       

       

            tilalx Tilo
            vijay646 Vijay Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: