Skip to content

Commit

Permalink
Publish Parent POM during release (#522)
Browse files Browse the repository at this point in the history
While publishing the artifact the POM references the parent POM. However, the parent POM is not being published.

This causes problems for people using Maven/Gradle to resolve the artifact - very common for people using `job-dsl-plugin` or `gradle-jpi-plugin`.

This change publishes the parent POM so those users can get dependency resolution to work.

Fixes #373
Fixes JENKINS-43171
  • Loading branch information
rahulsom authored Dec 1, 2021
1 parent e3c9830 commit f96c40b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,8 @@ jobs:
-Dfile=build-monitor-plugin/target/build-monitor-plugin.hpi \
-DrepositoryId=repo.jenkins-ci.org \
-Durl=https://repo.jenkins-ci.org/releases/
mvn --batch-mode deploy:deploy-file \
-DpomFile=pom.xml \
-Dfile=pom.xml \
-DrepositoryId=repo.jenkins-ci.org \
-Durl=https://repo.jenkins-ci.org/releases/

0 comments on commit f96c40b

Please sign in to comment.