jenkinsci / extension-filter-plugin

https://plugins.jenkins.io/extension-filter/
MIT License
2 stars 7 forks source link

Add codeowner #89

Closed jonesbusy closed 2 months ago

jonesbusy commented 2 months ago

After seeing on one of my plugin

Screenshot from 2024-06-23 11-47-16

I've used the tool https://github.com/jenkinsci/plugin-modernizer-tool

For the moment is rather a manual process because we don't have any git/jgit or github integration but the concept seems to work

# Build it because we don't have releases yet
mvn clean install 

# Clone the forked repo
git clone git@github.com:jonesbusy/extension-filter-plugin.git test-plugins/extension-filter-plugin

# The the recipe
java -jar plugin-modernizer-cli/target/jenkins-plugin-modernizer-999999-SNAPSHOT.jar --plugins extension-filter-plugin --recipes AddCodeOwner

# Commit and push
git -C test-plugins/extension-filter-plugin checkout -b feature/code-owner
git -C test-plugins/extension-filter-plugin add .
git -C test-plugins/extension-filter-plugin commit -m "Add codeowner"
git -C test-plugins/extension-filter-plugin push origin feature/code-owner 

Testing done

Submitter checklist