I try to use Jenkins and Gerrit to verify the code can pass compilation 
before merged into branch.
However, there is one case can not be caught.

If someone add new config in kernel and forget to update .config file. 
Jenkins will ignore the config and move on.
The log is like

Use function foo (XXXX_XXXX) [N/y/?] (NEW) 
Error in reading or end of file.


But the compilation continue.


I alreay set stop on error in the beginning of my build script.


#!/bin/bash
set -e


But this won't work. 


When I call the script in my shell, it will prompt the dialog box forever and 
won't continue.

When this script is called from Jenkins, it will continue.


Any idea to solve this issue?




-- 
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/559ebcec-9b5c-49cd-9d21-09ed422720de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to