public class UnsupportedCommand extends Object
| Constructor and Description |
|---|
UnsupportedCommand() |
| Modifier and Type | Method and Description |
|---|---|
UnsupportedCommand |
depth(Integer depth)
JGit is unsupported if depth is non-null.
|
boolean |
determineSupportForJGit()
Returns true if JGit is supported based on previously passed values.
|
UnsupportedCommand |
firstParent(boolean firstParent)
JGit is unsupported if firstParent is true.
|
UnsupportedCommand |
gitPublisher(boolean isEnabled)
JGit doesn't support Git Publisher.
|
UnsupportedCommand |
lfsCredentials(com.cloudbees.plugins.credentials.common.StandardCredentials lfsCredentials)
JGit is unsupported if lfsCredentials is non-null.
|
UnsupportedCommand |
lfsRemote(String lfsRemote)
JGit is unsupported if lfsRemote is non-null.
|
UnsupportedCommand |
parentCredentials(boolean parentCredentials)
JGit is unsupported if parentCredentials is true.
|
UnsupportedCommand |
ref(String ref)
JGit is unsupported if ref is non-empty.
|
UnsupportedCommand |
remoteTracking(boolean remoteTracking)
JGit is unsupported if remoteTracking is true.
|
UnsupportedCommand |
shallow(boolean shallow)
JGit is unsupported if shallow is true.
|
UnsupportedCommand |
sparseCheckoutPaths(List<String> sparseCheckoutPaths)
JGit is unsupported if sparseCheckoutPaths is non-empty.
|
UnsupportedCommand |
threads(Integer threads)
JGit is unsupported if threads is non-zero.
|
UnsupportedCommand |
timeout(Integer timeout)
JGit is unsupported if timeout is non-null.
|
UnsupportedCommand |
useBranch(String submodule,
String branchname)
JGit is unsupported if submodule or branchName are non-null.
|
public UnsupportedCommand sparseCheckoutPaths(List<String> sparseCheckoutPaths)
sparseCheckoutPaths - list of paths to be included in the checkoutpublic UnsupportedCommand timeout(Integer timeout)
timeout - maximum time git operation is allowed before it is interruptedpublic UnsupportedCommand lfsRemote(String lfsRemote)
lfsRemote - URL of large file support serverpublic UnsupportedCommand lfsCredentials(com.cloudbees.plugins.credentials.common.StandardCredentials lfsCredentials)
lfsCredentials - credential used for large file supportpublic UnsupportedCommand shallow(boolean shallow)
shallow - if true then shallow clone and fetch are enabledpublic UnsupportedCommand depth(Integer depth)
depth - depth of commits to be fetched into workspacepublic UnsupportedCommand firstParent(boolean firstParent)
firstParent - if true, only consider the first parents of a merge in revision listpublic UnsupportedCommand threads(Integer threads)
threads - count of threads to use for parallel submodule updatepublic UnsupportedCommand remoteTracking(boolean remoteTracking)
remoteTracking - submodule should use a remote tracking branch if truepublic UnsupportedCommand ref(String ref)
ref - location of submodule reference repositorypublic UnsupportedCommand parentCredentials(boolean parentCredentials)
parentCredentials - submodule update uses credentials from parent repository if truepublic UnsupportedCommand useBranch(String submodule, String branchname)
submodule - name of submodule that should checkout a specific branchbranchname - name of branch to be checked out for submodulepublic UnsupportedCommand gitPublisher(boolean isEnabled)
isEnabled - if true, then git publisher post-build action is enabled in this contextpublic boolean determineSupportForJGit()
Copyright © 2013–2020. All rights reserved.