Jenkins community has provided the offical jenkins-cli.jar but it is not very intuitive to use. So I just create a tiny wrapper for it to make it less noisy by dowlonading the jar packages and injecting user credential automatically. Thanks to the google fire library creating a command line tools nowadays is incredibly simple. |