View automated_version_bump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Automated Version Bump | |
id: version-bump | |
uses: 'phips28/gh-action-bump-version@v9.0.16' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
commit-message: 'CI: Bump version to v{{version}}' |
View manual_gate.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def LABEL_ID = "yourappname-${UUID.randomUUID().toString()}" | |
def BRANCH_NAME = "<Your branch name>" | |
def GIT_URL = "<Your git url>" | |
// Start Agent | |
node(LABEL_ID) { | |
stage('Checkout') { | |
doCheckout(BRANCH_NAME, GIT_URL) | |
} | |
stage('Build') { | |
... |