After some updates I've noticed that console isn't showing full log for cmake build and ctest run steps.
"try {
...
cmakeBuild buildDir: ..., cmakeArgs: cmake_params, generator: 'Xcode', installation: '(default)', sourceDir: source_dir, steps: [[args: '--config '+BuildConfiguration+' -- -j 4 -quiet', withCmake: true]]
if (RunTests.toBoolean())
{
ctest arguments: '-C '+BuildConfiguration+' --output-on-failure', installation: '(default)', workingDir: ...
}
} finally {
sh 'umount ${WORKSPACE}/mnt/ThirdParties || true'
}"
I'm attaching examples. In one case there were failing unittests, but 'sh' step is shown in the middle of ctest log. In other cases with successful unittests log is missing last steps and some additional info from ctest.
Originally reported by nekto, imported from: Log from cmake/ctest steps isn't fully captured on OsX
- status: Open
- priority: Minor
- component(s): cmakebuilder-plugin
- label(s): cmake, log, pipeline
- resolution: Unresolved
- votes: 0
- watchers: 2
- imported: 20260124-160229
Raw content of original issue
After some updates I've noticed that console isn't showing full log for cmake build and ctest run steps.
"try {
...
cmakeBuild buildDir: ..., cmakeArgs: cmake_params, generator: 'Xcode', installation: '(default)', sourceDir: source_dir, steps: [[args: '--config '+BuildConfiguration+' -- -j 4 -quiet', withCmake: true]]
if (RunTests.toBoolean())
{
ctest arguments: '-C '+BuildConfiguration+' --output-on-failure', installation: '(default)', workingDir: ...
}
} finally {
sh 'umount ${WORKSPACE}/mnt/ThirdParties || true'
}"
I'm attaching examples. In one case there were failing unittests, but 'sh' step is shown in the middle of ctest log. In other cases with successful unittests log is missing last steps and some additional info from ctest.
environment
Jenkins 2.150.1<br/>
CMake plugin 2.6.0<br/>
Pipeline 2.6<br/>
macOS 10.13.6<br/>
Remoting version: 3.27
3 attachments
After some updates I've noticed that console isn't showing full log for cmake build and ctest run steps.
"try {
{ ctest arguments: '-C '+BuildConfiguration+' --output-on-failure', installation: '(default)', workingDir: ... }...
cmakeBuild buildDir: ..., cmakeArgs: cmake_params, generator: 'Xcode', installation: '(default)', sourceDir: source_dir, steps: [[args: '--config '+BuildConfiguration+' -- -j 4 -quiet', withCmake: true]]
if (RunTests.toBoolean())
} finally {
sh 'umount ${WORKSPACE}/mnt/ThirdParties || true'
}"
I'm attaching examples. In one case there were failing unittests, but 'sh' step is shown in the middle of ctest log. In other cases with successful unittests log is missing last steps and some additional info from ctest.
Originally reported by nekto, imported from: Log from cmake/ctest steps isn't fully captured on OsX
Raw content of original issue
environment
3 attachments