Allow curl configuration to be customized a little
Expose next build number in Job