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

MSBuild.exe doesn't exist

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Not A Defect
    • Component/s: msbuild-plugin
    • Labels:
    • Environment:
    • Similar Issues:

      Description

      Here is "Console Output" detail:
      Started by user anonymous
      Building in workspace /root/.jenkins/jobs/youda/workspace
      > git rev-parse --is-inside-work-tree # timeout=10
      Fetching changes from the remote Git repository
      > git config remote.origin.url https://github.com/awenhu/youda.git # timeout=10
      Fetching upstream changes from https://github.com/awenhu/youda.git
      > git --version # timeout=10
      Setting http proxy: web-proxy.corp.hp.com:8080
      > git fetch --tags --progress https://github.com/awenhu/youda.git +refs/heads/:refs/remotes/origin/
      > git rev-parse refs/remotes/origin/master^

      {commit} # timeout=10
      > git rev-parse refs/remotes/origin/origin/master^{commit}

      # timeout=10
      Checking out Revision 81a7c4d488a3b6b5c7c391db962fa2b7a4b024a5 (refs/remotes/origin/master)
      > git config core.sparsecheckout # timeout=10
      > git checkout -f 81a7c4d488a3b6b5c7c391db962fa2b7a4b024a5
      > git rev-list 81a7c4d488a3b6b5c7c391db962fa2b7a4b024a5 # timeout=10
      FATAL: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe doesn't exist
      Build step 'Build a Visual Studio project or solution using MSBuild' marked build as failure
      Finished: FAILURE

        Attachments

          Activity

          Hide
          awenhu awen hu added a comment -

          should I insatll .net framework on redhat ?

          Show
          awenhu awen hu added a comment - should I insatll .net framework on redhat ?
          Hide
          slide_o_mix Alex Earl added a comment -

          You would have to install Mono on Linux. The .NET framework itself doesn't run on Linux, but Mono is an open source implementation. You would also need xbuild, and then setup the MSBuild in the global config to point to the path to xbuild.

          Show
          slide_o_mix Alex Earl added a comment - You would have to install Mono on Linux. The .NET framework itself doesn't run on Linux, but Mono is an open source implementation. You would also need xbuild, and then setup the MSBuild in the global config to point to the path to xbuild.

            People

            Assignee:
            awenhu awen hu
            Reporter:
            awenhu awen hu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: