Hi

I have a declarative script that runs a 'bat' step. That step builds some VS 
Studio projects on a Windows slave by calling msbuild:

            steps {
                bat '''
                    call "%VSMSBUILDCMD%"

                    msbuild %WORKSPACE%\\MSVC\\<proj> /p:Configuration=config_0 
/p:Platform="Win32" /flp:logfile=Output.log /verbosity:normal

                    msbuild %WORKSPACE%\\MSVC\\<proj> /p:Configuration=config_1 
/p:Platform="Win32" /flp:logfile=Output.log /verbosity:normal

                    msbuild %WORKSPACE%\\MSVC\\<proj> /p:Configuration=config_2 
/p:Platform="Win32" /flp:logfile=Output.log /verbosity:normal

'''
}

The second msbuild command is failing (due to missing header files) and reports 
'Build Failed', but the script step succeeds and the post stage executes the 
'success' code.

Any idea why the step is not failing please?

Best regards

David

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b1500615c71c4a48b48714a3a1aa3706%40EUX13SRV1.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to