dependabot[bot] on maven
chore(deps): bump plugin from 4… (compare)
dependabot[bot] on github_actions
chore(deps): bump actions/check… (compare)
I've a little question about the transient fields for the parameters of the step (https://github.com/jenkinsci/conventional-commits-plugin/blob/7e5e791119287e6e72587836b6205bcf67da650b/src/main/java/io/jenkins/plugins/conventionalcommits/NextVersionStep.java#L111) : why do we put these fields transient ?
And bonus question, after merging code from 0.5.0 I saw that the buildMetadata field is not declared as transient (https://github.com/jenkinsci/conventional-commits-plugin/blob/7e5e791119287e6e72587836b6205bcf67da650b/src/main/java/io/jenkins/plugins/conventionalcommits/NextVersionStep.java#L121)? Is there any reason or is it an oversight ?
@all, After pre-release is merged according to my proposal I had planned to do the following:
Apart from this there were some Stretch Goals:
I am not sure how will I write unittest for "write" functionality...
As the feature is to write to a file, would it make sense to read the written file?
If it does then, for project types like Maven where we use
mvn help:evaluate -Dexpression=project.version command to read the version, a parser for pom.xml would be needed just for the test...
Writing a jenkins tests with a sample maven project with the writeVersion parameter as "true" times out :( Any solution around that?
(I am stuck for hours now 😅)
It's in the JenkinsTest class or in a Jenkins Job ?
mvn hpi-runand create a pipeline job to test the plugin I've the following error :
Cannot run program "git" (in directory "/home/stephane/Developpements/oss/conventional-commits-plugin/work/workspace/test.Obviously git is installed on my device, do I run the test plugin in a real Jenkins instance ?