public class NpmTask extends BaseNodeTask<NpmTask,NpmTaskProperties>
environmentVariables, nodeExecutable, workingSubdirectorydescription, taskEnabled| Constructor and Description |
|---|
NpmTask() |
| Modifier and Type | Method and Description |
|---|---|
protected NpmTaskProperties |
build() |
NpmTask |
command(String command)
Sets which command to execute, e.g.
|
NpmTask |
useIsolatedCache(boolean useIsolatedCache)
Sets whether the npm task should use isolated directory for caches.
|
environmentVariables, nodeExecutable, workingSubdirectorydescription, enabledpublic NpmTask command(@NotNull String command)
install.public NpmTask useIsolatedCache(boolean useIsolatedCache)
@NotNull protected NpmTaskProperties build()
build in class Task<NpmTask,NpmTaskProperties>Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.