To learn more about the architecture of the tool, see the ARCHITECTURE file.
-
Clone the repository
-
Install tools
i. Java 21
ii. Maven 3.9.7
-
Open the project in your favorite IDE.
Once you have installed the tools listed before, you can generate the jar by running the command,
mvn verify
The JAR file will be available at the path plugin-modernizer-cli/target/jenkins-plugin-modernizer-999999-SNAPSHOT.jar
.
This will run all the tests of the application. You can speed up the process by running the command:
mvn package -DskipTests
This project includes a .gitpod.yml configuration file, which allows to easily work on it using Gitpod. When the Gitpod workspace starts, the required versions of Java and Maven are automatically installed. Also, the following command is executed at startup:
mvn clean install -DskipTests
To test the changes, execute the following command:
mvn test
All proposed changes are submitted and reviewed through a GitHub pull request. To submit a pull request:
-
Make sure your changeset is not introducing a regression by running mvn verify
-
Create a branch prefixed with:
i. feature/ for a new enhancement
ii. fix/ for a bugfix
iii. docs/ for documentation changes
-
Commit your changes to this new branch
-
Push the branch to your fork of the repository.
-
In the GitHub Web UI, select the New pull request option
-
Follow the pull request template
-
Click the Create pull request button.
The pull request will be built in ci.jenkins.io