First working version of Jenkins uploader.
Polishing the code. Checking for auth failure.