Description: The Git Operations pipeline step currently enables user to perform 2 actions:
Adding a tag to a branch
Creating a PR.
...
‘Create a Tag’ and ‘Create a PR’. Use the following documentation as a guideline to set up a Git Operations pipeline step and analyze corresponding Pipeline Activity Logs.
Prerequisite: Before Git Operation pipeline step configuration can take place, a properly configured SCM tool (currently Bitbucket, Github and Gitlab are supported) must be created in Tool Registry.
Table of Contents | ||||
---|---|---|---|---|
|
Create a Pull Request Step Configuration
Make the following selections to make a pull request using this pipeline step:
SCM Type - Choose a source management type. Choose Bitbucket, Github, Gitlab or Azure Devops. It does not yet support Azure Devops.
SCM Account - Choose configured account
Workspace/Project -
Repository -
Branch - Select a source branch. This branch
Git Action - Choose between Select ‘Create PR’ or ‘Create a Tag’.
Target Branch - Select the destination branch where changes will reflect.
Description - Add a description of the change.
pipeline: https://test.opsera.io/workflow/details/628b482ea764f800b0a346f8/model
jira:
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Git Action: Create a PR
Branch -
Git Action - Choose between ‘Create PR’ or ‘Create a Tag’
Target Branch -
Description -
Git Action: Create a Tag
Pipeline Activity Logs
Monitor the pipeline logs in real time to analyze the status. The following scenarios exist for the Create a Pull Request Git Action:
Successful Pull Request
...
Pull Request Already Exists
...
No Commits Between Branch and Target Branch
...
Create a Tag Step Configuration
Make the following selections to create a tag using this pipeline step.
SCM Type - Choose a source management type. Choose Bitbucket, Github, Gitlab or Azure Devops. It does not yet support Azure Devops.
SCM Account - Choose configured account
Workspace/Project -
Repository -
Branch -
Git Action - Choose between Select ‘Create PR’ or ‘Create a Tag’.
Target Branch -
Description - Dynamic Tag Name - Provide a name. To make the name dynamic, changing for each pipeline run, add the following text: date, timestamp and run_count.
...
...
Pipeline Activity Logs
Monitor the pipeline logs in real time to analyze the status. The following scenarios exist for the Create a Tag Git Action:
Successful Tag Creation
...
Tag Already Exists
...