0 Replies Latest reply: Nov 12, 2012 9:31 PM by 901647 RSS

    ojdeploy and Hudson - how do we stop - quick question

    901647
      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.


      Thanks

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