git clone <repo>
clone the repository specified by ; this is similar to "checkout" in some other version control systems such as Subversion and CVS
Add colors to your ~/.gitconfig file:
import hudson.model.*; | |
import jenkins.model.*; | |
import hudson.plugins.ec2.*; | |
import com.amazonaws.services.ec2.model.InstanceType | |
import com.amazonaws.services.ec2.model.KeyPair | |
if ( Jenkins.instance.pluginManager.activePlugins.find { it.shortName == "ec2" } != null ) { | |
println "--> setting ec2 plugin" | |
EC2Cloud cloud = Jenkins.instance.clouds.find { it instanceof EC2Cloud } |