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

msbuild was called with an invalid solution file and didn't write any info

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • msbuild-plugin
    • Windows server 2012-r2, Jenkins 2.138.2, msbuild 1.29

      Trying to get going with the msbuild pipeline. Using this pipeline to start: (got the parameters from the msbuild source project on github)

       

      pipeline {
       agent any
      stages {
       stage('Build') {
       steps {
       echo 'Building foo ...'
       msbuild(msBuildName: 'foo', 
       msBuildFile: 'bar',
       cmdLineArgs: '',
       buildVariablesAsProperties: false, 
       continueOnBuildFailure: false,
       unstableIfWarnings: false,
       doNotUseChcpCommand: false)
       }
       }
       }
      }
      
      
      

      Seeing this result:

      Started by user Gerald Britton
      Replayed #61
      Running in Durability level: MAX_SURVIVABILITY
      [Pipeline] node
      Running on Jenkins in D:\var\lib\jenkins\workspace\VisionPipeline
      [Pipeline] {
      [Pipeline] stage
      [Pipeline] { (Build)
      [Pipeline] echo
      Building foo ...
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] }
      [Pipeline] // node
      [Pipeline] End of Pipeline
      Finished: SUCCESS
      

      Wondering what happened, since msbuild was called with an invalid solution file and didn't write any info, warning or error messages.

            tilalx Tilo
            gbritton Gerald Britton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: