I stepped back from maintaining the GitLab plugin a little over a year ago, and in the meantime Marky Jackson-Taulia was maintaining it. He put out one release successfully, but then the release got into a broken state and between that and his limited availability, we didn't make any further progress. Since he is now taking a break from open source work, and since there are some bug fixes on the plugin that users have been waiting on for a long time, I decided to try and get a release out to at least bring it up to date. Currently all tests pass, but when I run 'mvn release:prepare release:perform' it fails with the attached errors.
A couple of other things of note: the last successful release in Artifactory is 1.5.13, which was the first and only one that Marky was able to do. Since then GitHub shows tags/releases up to 1.5.17, but none of these ever made it to the update center. I expect 1.5.18 to be the next valid release. But you'll notice that in the release process we seem to check out the tag 1.5.15 - I have no idea why. Any pointers on how to get this back on track would be appreciated :)
-- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/3c93403c-e73a-446e-9a21-7144903487d7n%40googlegroups.com. |
that output says there's tons of javadoc errors which seems to stop the process half way through. I recommend fixing those errors, or delete the javadoc blocks. On Mon, Feb 15, 2021 at 8:46 PM Owen B. Mehegan <[hidden email]> wrote: I stepped back from maintaining the GitLab plugin a little over a year ago, and in the meantime Marky Jackson-Taulia was maintaining it. He put out one release successfully, but then the release got into a broken state and between that and his limited availability, we didn't make any further progress. Since he is now taking a break from open source work, and since there are some bug fixes on the plugin that users have been waiting on for a long time, I decided to try and get a release out to at least bring it up to date. Currently all tests pass, but when I run 'mvn release:prepare release:perform' it fails with the attached errors. You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DustDf_H69kRwtXpNpUzxJyswX7ZH%2BHphL4M4%2BjLmAw8bQ%40mail.gmail.com. |
Ah yes, so! I pushed this change a little earlier as an experiment to fix one set of those errors:
https://github.com/jenkinsci/gitlab-plugin/commit/e71a9202ce4d7355cae76de2123e9f13d455edcb But the errors for that line/doc remain. And it seems to fail because we are checking out tag 1.5.15 into target/checkout/ : [INFO] Executing: /bin/sh -c cd /Users/owen/source/gitlab-plugin/target && git clone --branch gitlab-plugin-1.5.15 [hidden email]:jenkinsci/gitlab-plugin.git /Users/owen/source/gitlab-plugin/target/checkout But I pushed the fix to master, naturally. On Tuesday, February 16, 2021 at 3:51:35 PM UTC+11 [hidden email] wrote:
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/c4857277-5c3d-4d5c-9ed9-0d517883f684n%40googlegroups.com. |
ah, i think you have left over files and/or your pom is in a weird state. Try rolling back - https://maven.apache.org/maven-release/maven-release-plugin/examples/rollback-release.html then delete tag (git tag -d tagname && git push origin :tagname) then try again. or do another version number. On Mon, Feb 15, 2021 at 9:03 PM Owen B. Mehegan <[hidden email]> wrote: Ah yes, so! I pushed this change a little earlier as an experiment to fix one set of those errors: You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_Dut0jcZv0ep%3DAvs3Mr5t9e1J%3D7FjRhm8KE%3DUu6AxcWhfWQ%40mail.gmail.com. |
Hmm, the last successful release was in 09/2019 though - how do I roll back without messing up all that change history? Not sure what you mean by "do another version number." Rev from 1.5 to 1.6?
On Tuesday, February 16, 2021 at 4:13:43 PM UTC+11 [hidden email] wrote:
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/999370ef-ebb4-4f8a-878c-5ef8c0216411n%40googlegroups.com. |
Your Javadoc is still broken.
-- $ mvn -Dset.changelist -Pquick-build verify … [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on project gitlab-plugin: MavenReportException: Error while generating Javadoc: [ERROR] Exit code: 1 - …/gitlab-plugin/target/generated-sources/annotations/com/dabsquared/gitlabjenkins/gitlab/hook/model/builder/generated/PushHookBuilder.java:144: error: reference not found [ERROR] * Sets the default value for the {@link PushHook#userUserName} property. [ERROR] ^ [ERROR] …/gitlab-plugin/target/generated-sources/annotations/com/dabsquared/gitlabjenkins/gitlab/hook/model/builder/generated/PushHookBuilder.java:149: warning - Tag @link: can't find userUserName in com.dabsquared.gitlabjenkins.gitlab.hook.model.PushHook Now normally CI builds would do this, yet they are passing. It seems that your Maven metadata is incorrect: https://github.com/jenkinsci/gitlab-plugin/pull/1103#discussion_r577567711 There is no 1.5.18 tag, so once Javadoc and Maven metadata is fixed you should be ready to release. You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0r582ihZcURL7Viwe_25yLtKiZtcCQnN37HaHWLH9AoQ%40mail.gmail.com. |
Oh and > Release preparation already completed. You can now continue with release:perform, or start again using the -Dresume=false flag Start with a clean checkout, or use `git clean -fdx`. (You can also use `mvn release:clean`.) maven-release-plugin is a mess; JEP-229 makes it unnecessary to go through this. You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr16Zv5N5JVrOVapF6%3Dk6Ngta9G79P2bS8YuGdEZ70s7iA%40mail.gmail.com. |
Thanks, you were right on both points! Daniel Beck and I worked on it last night and finally figured out that my local checkout was borked ages ago. I fixed that, and then Daniel helped fix the javadoc, and I think that has sorted it out. On Wed, Feb 17, 2021, 11:26 PM Jesse Glick <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAHtcACG8ZtZcb88LFSZDodKeZckwL4jfvKaA1aH9G8X%3D08tXUA%40mail.gmail.com. |
Free forum by Nabble | Edit this page |