The standard output from the sh-step does not show all the output: final def output = sh(returnStdout: true, label: "Build and Package", script : "make") writeFile(file: 'buildOutputFile.txt', text: output)
The Blue Ocean log output from a single Node shows all the warnings, but the output from the sh step does not: https://JENKINS_URL/blue/rest/organizations/jenkins/pipelines/PROJECT/branches/BRANCH/runs/2/nodes/56/log/?start=0 Could it be that the actual output is not stdout, but stderr? Unfortunately sh does not have an returnStderr. I am using this output for the Warnings Plugin, since I want warning for each build node, and the plugin default reads the entire console output. recordIssues(tools: [gcc4(id: "gcc-${buildHost}", name: "${buildHost}", pattern: "buildOutputFile.txt")]) -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0d105336-5172-4a18-b071-e4641357a4d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
