Git Scope
This scoping object is created by the ScriptScope.git function. Its purpose is providing access to functionality such as execution functions that interact with Git source repositories.
Properties
Functions
This execution function is used to create a new Git commit of the current state. The body parameter is supplied as a higher-order function that executes within the scope of an GitCommitExecutionTemplate object, in which the parameters for the expansion process can be declared.
A scoping function to execute a code block within the context of a DirScope instance, which adapts the path in the scope context at ScopeContext.path to the given value of dirPath. The value of dirPath is automatically resolved if it is a relative path.
This execution function is used to run a process on the machine. The body parameter is supplied as a higher-order function that executes within the scope of a ExecExecutionTemplate object, in which the arguments for the process can be declared.
A scoping function to execute a code block within the context of an GitFlowScope instance, which provides functionality to perform aggregate Git operations with the Flow plugin.
This execution function is used to run Maven. The body parameter is supplied as a higher-order function that executes within the scope of a MavenExecutionTemplate object, in which the parameters for Maven can be declared.
This execution function is used to push Git refs to a remote. The body parameter is supplied as a higher-order function that executes within the scope of an GitPushExecutionTemplate object, in which the parameters for the expansion process can be declared.
This execution function is used to create a new Git tag of the current ref. The body parameter is supplied as a higher-order function that executes within the scope of an GitTagExecutionTemplate object, in which the parameters for the expansion process can be declared.