Class GruntTask
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
com.atlassian.bamboo.specs.api.builders.task.Task<B,P>
com.atlassian.bamboo.specs.builders.task.BaseNodeTask<GruntTask,GruntTaskProperties>
com.atlassian.bamboo.specs.builders.task.GruntTask
Represents Bamboo task which executes Grunt tasks.
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.bamboo.specs.builders.task.BaseNodeTask
environmentVariables, nodeExecutable, workingSubdirectory
Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull GruntTaskProperties
build()
boolean
gruntCliExecutable
(@NotNull String gruntCliExecutable) Specify path to the Grunt command line interface (grunt-cli) executable for this task.Specify path to the gruntfile, relative to the build working directory.int
hashCode()
Grunt task to execute.Methods inherited from class com.atlassian.bamboo.specs.builders.task.BaseNodeTask
environmentVariables, nodeExecutable, workingSubdirectory
Methods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, enabled, requirements, toString
-
Field Details
-
DEFAULT_GRUNT_CLI_EXECUTABLE
-
-
Constructor Details
-
GruntTask
public GruntTask()
-
-
Method Details
-
gruntCliExecutable
Specify path to the Grunt command line interface (grunt-cli) executable for this task. Path must be relative to the working directory.Example:
node_modules/grunt-cli/bin/grunt
-
task
Grunt task to execute. If not specified, the 'default' task will be executed. Multiple tasks can be specified separated by a space. -
gruntfile
Specify path to the gruntfile, relative to the build working directory. If empty, the default gruntfile will be used. -
build
- Specified by:
build
in classTask<GruntTask,
GruntTaskProperties>
-
equals
- Overrides:
equals
in classBaseNodeTask<GruntTask,
GruntTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseNodeTask<GruntTask,
GruntTaskProperties>
-