If you're willing to express your automation in Python rather than using a series of CLI commands, you might consider one of the Python libraries that communicate with Jenkins through its REST API.
python-jenkins is the one I use, and it has seemed quick in my usage. jenkinsapi seems to be another which appears to offer similar capabilities. autojenkins may also be interesting to consider. All three seem to be available from PyPi.org Mark Waite >________________________________ > From: Nick Tan <missed...@gmail.com> >To: jenkinsci-users@googlegroups.com >Sent: Sunday, February 17, 2013 8:04 AM >Subject: use CLI effectively > > >hi, > > >as we know that CLI is slow since there introduce some hand-shake for key >auth, etc. > > >here is my case, i'd like to execute several commands (include my custom >ones), if i call them in each separate CLI command, it quite slow. >so is there anyway that i can start a session (to finish the hand-shake), and >do something in that CLI session without login again? > > >thanks:) -- >You received this message because you are subscribed to the Google Groups >"Jenkins Users" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to jenkinsci-users+unsubscr...@googlegroups.com. >For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.