Created
July 3, 2023 12:50
-
-
Save Ginxo/3a3c67719055fa6cbc7d588784388771 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# To create a new JenkinsFIle for one-off patch | |
# to create a new BC definition file with extra project-repositories file with gerrit platform | |
# To BC based on INPUT_BRANCH and new definition-file | |
# To push this change to gerrit | |
``` | |
git checkout -b $NEW_BRANCH | |
git remote add upstream [email protected]:$STARTING_PROJECT.git | |
git cherry-pick $INPUT_HASH | |
git push origin $NEW_BRANCH | |
git show --name-only $INPUT_HASH | |
``` | |
# To expose new methods on shared-libraries for | |
* executing PME for updating version something like `java -jar PME_CLIE_PATH -DversionOverride=$NEW_VERSION` (on already existing pmebuild groovy script) | |
* listing affected maven modules (on already existing maven groovy script) | |
# Execute PME for every affected module | |
# execute BC for CURRENT_PROJECT | |
# push changes to gerrit | |
# Distribute the patch | |
# To update JIRA description | |
## to expose a new functionality on new python script from integration-platform-tooling repository to update JIRA description (take a look at release-ticketor.py) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment