1

I'am executing an java script in Hudson server. I want throw new error if the java fail but I dont know how to do it. I want to throw new error because I configured send new email when the enter image description hereerror throw.

gradski
  • 71
  • 1
  • 2
  • 8

1 Answers1

0

The solutions is notify to the VM that the process failed, the way is: System.exit(1) (in catch block)

gradski
  • 71
  • 1
  • 2
  • 8