scripts/nightly: Allow setting number of parallel jobs