Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

nebula-plugins/gradle-scm-plugin

Repository files navigation

gradle-scm-plugin

Support Status Gradle Plugin Portal Maven Central Build Apache 2.0

This plugin is no longer supported.

Base SCM Plugin for gathering information and performing actions

Actions

  • Boolean switchToBranch() - Switch to branch, create if needed
  • Boolean updateFromRepository() - Get latest changes from a remote repository.
  • Boolean commit() - Commit changes. If this is a distributed SCM it should also push the changes to the remote.
  • Boolean tag()- Tag a commit. If this is a distributed SCM it should also push the tag to the remote.
  • Boolean preChanges() - Allow an SCM provider the chance to do any actions it needs to before another plugin edits a file. For many SCM providers this will be a no-op.
  • Boolean undoChanges() - Undo all changes to the repository.