- Create Project on Jenkins, create a token
- Create local .jenkins file with your Jenkins credentials and the product info TBC
Create a token for your user and use it in .jenkins.conf file
JENKINS_URL=jenkins.admiralcloud.com
JENKINS_USER_TOKEN=YOUR-USER-TOKEN-FROM-JENKINS
JENKINS_USER=YOUR-JENKINS-USER-NAME
# Project info from Jenkins
JENKINS_JOB="AC-Workflow-Demo"
JENKINS_TOKEN=JENKINS-TRIGGER-TOKEN
- Pull develop branch
- Create your working/feature branch from develop branch
- Commit your changes on that working branch - use ac-semantic-release (make commit)
- If you have prepared all changes, rebase them with develop branch and fix all conflicts
- Create a Pull Request using ./node_modules/ac-jenkins/bin/createpr.sh (Make file)
- The pull request is created and set to draft
- Tests are started
- If tests are successfull, the reviewer is set (TODO)
- The Pull Request is marked ready
- Review online
- Start Jenkins project AC-Github-PR-Release
- Done
Install Github CLI (gh)
- what if tests fail
- select reviewer
- handle misc errors