public class VcsCheckoutTask extends Task<VcsCheckoutTask,VcsCheckoutTaskProperties>
description, requirements, taskEnabled| Constructor and Description |
|---|
VcsCheckoutTask() |
| Modifier and Type | Method and Description |
|---|---|
VcsCheckoutTask |
addCheckoutOfDefaultRepository()
Adds checkout request for the plan's default repository into the build directory.
|
VcsCheckoutTask |
addCheckoutOfRepository(String repositoryName)
Adds checkout request for one of plan's repositories into the build directory.
|
VcsCheckoutTask |
addCheckoutOfRepository(VcsRepositoryIdentifier repositoryIdentifier)
Adds checkout request for one of plan's repositories into the build directory.
|
protected VcsCheckoutTaskProperties |
build() |
VcsCheckoutTask |
checkoutItems(CheckoutItem... checkoutItems)
Adds checkout requests.
|
VcsCheckoutTask |
cleanCheckout(boolean cleanCheckout)
Enables/disabled clean checkout.
|
description, enabled, requirementspublic VcsCheckoutTask addCheckoutOfDefaultRepository()
The repository will be checked out to the build's working directory. For more control over checkout path, use
checkoutItems(CheckoutItem...).
public VcsCheckoutTask addCheckoutOfRepository(@NotNull String repositoryName)
The repository will be checked out to the build's working directory. For more control over checkout path, use
checkoutItems(CheckoutItem...).
public VcsCheckoutTask addCheckoutOfRepository(@NotNull VcsRepositoryIdentifier repositoryIdentifier)
The repository will be checked out to the build's working directory. For more control over checkout path, use
checkoutItems(CheckoutItem...).
public VcsCheckoutTask checkoutItems(@NotNull CheckoutItem... checkoutItems)
public VcsCheckoutTask cleanCheckout(boolean cleanCheckout)
@NotNull protected VcsCheckoutTaskProperties build()
build in class Task<VcsCheckoutTask,VcsCheckoutTaskProperties>Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.