public class GulpTask extends BaseNodeTask<GulpTask,GulpTaskProperties>
Represents Bamboo task which executes Gulp tasks.
See Also:
  • Field Details

    • DEFAULT_GULP_EXECUTABLE

      public static final String DEFAULT_GULP_EXECUTABLE
  • Constructor Details

    • GulpTask

      public GulpTask()
  • Method Details

    • gulpExecutable

      public GulpTask gulpExecutable(@NotNull @NotNull String gulpExecutable)
      Specify path to the Gulp executable for this task. Path must be relative to the working directory.

      Example: node_modules/gulp/bin/gulp.js

    • task

      public GulpTask task(@Nullable @Nullable String task)
      Gulp task to execute. If not specified, the 'default' task will be executed. Multiple tasks can be specified separated by a space.
    • gulpfile

      public GulpTask gulpfile(@Nullable @Nullable String gulpfile)
      Specify path to the gulpfile, relative to the build working directory. If empty, the default gulpfile will be used. Only supported for Gulp 3.3.2 or newer.
    • build

      @NotNull protected @NotNull GulpTaskProperties build()
      Specified by:
      build in class Task<GulpTask,GulpTaskProperties>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class BaseNodeTask<GulpTask,GulpTaskProperties>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseNodeTask<GulpTask,GulpTaskProperties>