Apache Ant is a command line development tool very useful outside the Java world for which it was created.
Tagging a Jenkins build automatically
Using Jenkins to replicate WordPress sites
Installing Jenkins on OS X and Ubuntu
Getting ant to read user parameters
You can set use the input task to make Ant ask for parameters on the command line at runtime.