onCheckoutCompleted
public void onCheckoutCompleted(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException,
hudson.plugins.git.GitException
Called when the checkout was completed and the working directory is filled with files.
See SCM.checkout(AbstractBuild, Launcher, FilePath, BuildListener, File) for the available parameters,
except workingDirectory
Do not move the HEAD to another commit, as by this point the commit to be built is already determined
and recorded (such as changelog.)
- Overrides:
onCheckoutCompleted in class GitSCMExtension
- Throws:
IOException
InterruptedException
hudson.plugins.git.GitException