0 Replies Latest reply on Nov 13, 2012 3:31 AM by 901647

    ojdeploy and Hudson - how do we stop - quick question

      Hi All

      In our simple script that's used in Hudson, We use ojdeploy -buildfile a.xml -define application.root=/root/test
      It works fine when everything compiles but when it fails, the script continues executing with errors which leads to false build status as pass since the shell script runs to the end of file.

      How to do use in the shell script with ojdeploy to give a non-0 error number in shell script when ojdeploy fails ?
      Any simple concrete example would be great.


      Edited by: 898644 on Nov 12, 2012 7:30 PM