Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleTask ¶
type SimpleTask struct { VCSClient vcsapi.Client BranchName string // contains filtered or unexported fields }
func New ¶
func New(ctx taskcommon.TaskContext) SimpleTask
New creates a new instance of the basic task helper
func (*SimpleTask) Clone ¶
func (n *SimpleTask) Clone() error
Clone clones the repository and initializes the vcs client
func (*SimpleTask) CommitPushAndMergeRequest ¶
func (n *SimpleTask) CommitPushAndMergeRequest(commitMessage string, mergeRequestTitle string, mergeRequestDescription string, mergeRequestKey string) error
CommitPushAndMergeRequest commits and pushes the changes, additionally creates or updates the merge request
func (*SimpleTask) CreateBranch ¶
func (n *SimpleTask) CreateBranch(branchName string) error
CreateBranch creates a new branch
Click to show internal directories.
Click to hide internal directories.