public interface CheckoutCommand extends GitCommand
| Modifier and Type | Method and Description |
|---|---|
CheckoutCommand |
branch(String branch)
branch.
|
CheckoutCommand |
deleteBranchIfExist(boolean deleteBranch)
deleteBranchIfExist.
|
CheckoutCommand |
lfsCredentials(com.cloudbees.plugins.credentials.common.StandardCredentials lfsCredentials)
Use separate credentials for "git lfs pull".
|
CheckoutCommand |
lfsRemote(String lfsRemote)
Call "git lfs pull" for the given remote after checkout.
|
CheckoutCommand |
ref(String ref)
ref.
|
CheckoutCommand |
sparseCheckoutPaths(List<String> sparseCheckoutPaths)
sparseCheckoutPaths.
|
CheckoutCommand |
timeout(Integer timeout)
timeout.
|
executeCheckoutCommand ref(String ref)
ref - a String object.CheckoutCommand object.CheckoutCommand branch(String branch)
branch - a String object.CheckoutCommand object.CheckoutCommand deleteBranchIfExist(boolean deleteBranch)
deleteBranch - a boolean.CheckoutCommand object.CheckoutCommand sparseCheckoutPaths(List<String> sparseCheckoutPaths)
sparseCheckoutPaths - a List object.CheckoutCommand object.CheckoutCommand timeout(Integer timeout)
timeout - a Integer object.CheckoutCommand object.CheckoutCommand lfsRemote(String lfsRemote)
lfsRemote - name of the remote used for git lfs operations (typically "origin").CheckoutCommand object.CheckoutCommand lfsCredentials(com.cloudbees.plugins.credentials.common.StandardCredentials lfsCredentials)
lfsCredentials - a StandardCredentials object.CheckoutCommand object.Copyright © 2013–2020. All rights reserved.