Jenkins: no tool named MSBuild found

前端 未结 5 1091
闹比i
闹比i 2021-02-02 02:25

Setting up a Pipeline build in Jenkins (Jenkins 2.6), copying the sample script for a git-based build gives: \"no tool named MSBuild found\". I have set MSBuild Tool in Ma

5条回答
  •  伪装坚强ぢ
    2021-02-02 02:43

    While the provided answer certainly works, you just have to provide the correct complete tool name.

    In our Installation, we had three different MSBuild versions available and I could just use the following

    ${tool 'MSBuild 15.0 [32bit]'}

提交回复
热议问题