My youngest brother had a '87 chevy pickup that had a crack in the engine block. He used JB Weld on it and drove it for about a year, then he sold it and the JB was still holding.
As was stated, you should grind, clean and dry before applying to make sure it gets a good surface to stick to.