This update enhances the Jenkinsfile to include functionality for displaying the names of files changed in the latest commit during the pipeline execution. Specifically:
Added a new stage to identify and list the changed files using git diff --name-only.
Ensured compatibility with the existing pipeline by retaining the buildPlugin() step for building the plugin.
Improved visibility of changes in the repository, aiding debugging and providing additional context during builds.
This change is scoped to improve the utility of the pipeline for developers without impacting existing workflows or requiring additional plugins on the Jenkins controller.
This update enhances the Jenkinsfile to include functionality for displaying the names of files changed in the latest commit during the pipeline execution. Specifically:
Added a new stage to identify and list the changed files using git diff --name-only. Ensured compatibility with the existing pipeline by retaining the buildPlugin() step for building the plugin. Improved visibility of changes in the repository, aiding debugging and providing additional context during builds. This change is scoped to improve the utility of the pipeline for developers without impacting existing workflows or requiring additional plugins on the Jenkins controller.