Thanks a lot guys, i was able to perform "mvn release:perform" step successfully, what's the next step inorder to show the plugin in the market place(https://plugins.jenkins.io/)?
On Friday, October 15, 2021 at 6:10:34 PM UTC+5:30 Mohammad Jameel Uddin wrote: > updated the permission file path to "io/jenkins/plugins/autonomiq", but > still getting same 403 error. > > > https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/plugin-autonomiq.yml > > On Fri, Oct 15, 2021 at 4:38 PM Tim Jacomb <[email protected]> wrote: > >> Or update the permission file with the correct path… >> >> On Fri, 15 Oct 2021 at 11:49, Mark Waite <[email protected]> wrote: >> >>> I believe that the pom.xml file >>> <https://github.com/jenkinsci/autonomiq-plugin/blob/41dfda5c0c6257028f0807e05a39f59746450d90/pom.xml#L10> >>> >>> for the plugin declares that the plugin will be uploaded to " >>> io.jenkins.plugins" but the repository permissions updater repository >>> says that you are granted permissions for >>> "org.jenkins-ci.plugins.autonomiq". Those are different locations as far >>> as I understand. >>> >>> If you remove line 10 from pom.xml I believe that will upload the plugin >>> to the location where you have permission. >>> >>> On Fri, Oct 15, 2021 at 4:21 AM Mohammad Jameel Uddin < >>> [email protected]> wrote: >>> >>>> I added one more section in my settings.xml: >>>> >>>> <servers> >>>> >>>> <server> >>>> >>>> <username>puneetchelani_sauce</username> >>>> >>>> <password>password</password> >>>> >>>> <id>maven.jenkins-ci.org</id> >>>> >>>> </server> >>>> >>>> <server> >>>> >>>> <username>puneetchelani_sauce</username> >>>> >>>> <password>password</password> >>>> >>>> <id>central</id> >>>> >>>> </server> >>>> >>>> <server> >>>> >>>> <username>puneetchelani_sauce</username> >>>> >>>> <password>password</password> >>>> >>>> <id>snapshots</id> >>>> >>>> </server> >>>> >>>> </servers> >>>> >>>> >>>> Got 403 error, [ERROR] Failed to execute goal >>>> org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) >>>> on project autonomiq: Failed to deploy artifacts: Could not transfer >>>> artifact io.jenkins.plugins:autonomiq:hpi:1.10 from/to >>>> maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): >>>> Authorization failed for >>>> https://repo.jenkins-ci.org/releases/io/jenkins/plugins/autonomiq/1.10/autonomiq-1.10.hpi >>>> >>>> 403 Forbidden -> [Help 1] >>>> >>>> >>>> pom.xml file : >>>> https://github.com/jenkinsci/autonomiq-plugin/blob/main/pom.xml >>>> >>>> >>>> i could log in to repo.jenkins-ci.org with my credentials, and i have >>>> permission to upload files >>>> https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/plugin-autonomiq.yml >>>> >>>> On Fri, Oct 15, 2021 at 3:25 PM Mark Waite <[email protected]> >>>> wrote: >>>> >>>>> I think that you're missing a configuration in your settings.xml file >>>>> for the Jenkins artifact repository. I have the following section in my >>>>> settings.xml: >>>>> >>>>> <servers> >>>>> <server> >>>>> <id>maven.jenkins-ci.org</id> >>>>> <username>MarkEWaite</username> >>>>> <!-- See >>>>> https://www.jenkins.io/doc/developer/publishing/releasing-manually/#artifactory-credentials-for-maven >>>>> >>>>> --> >>>>> <password>...encrypted and encoded secret stuff >>>>> here...</password> >>>>> </server> >>>>> </servers> >>>>> >>>>> As far as I can see from the file you posted, you only have server >>>>> sections for 'central' and 'snapshots'. >>>>> >>>>> On Fri, Oct 15, 2021 at 3:50 AM Mohammad Jameel Uddin < >>>>> [email protected]> wrote: >>>>> >>>>>> Not sure, which version you are asking about, if it is a release >>>>>> version then it is 1.10. >>>>>> >>>>>> Installing >>>>>> /Users/saucelabs/Desktop/autonomiq-plugin/target/checkout/target/autonomiq.hpi >>>>>> >>>>>> to >>>>>> /Users/saucelabs/.m2/repository/io/jenkins/plugins/autonomiq/1.10/autonomiq-1.10.hpi >>>>>> >>>>>> [INFO] Installing >>>>>> /Users/saucelabs/Desktop/autonomiq-plugin/target/checkout/pom.xml to >>>>>> /Users/saucelabs/.m2/repository/io/jenkins/plugins/autonomiq/1.10/autonomiq-1.10.pom >>>>>> >>>>>> >>>>>> [INFO] Installing >>>>>> /Users/saucelabs/Desktop/autonomiq-plugin/target/checkout/target/autonomiq.jar >>>>>> >>>>>> to >>>>>> /Users/saucelabs/.m2/repository/io/jenkins/plugins/autonomiq/1.10/autonomiq-1.10.jar >>>>>> >>>>>> [INFO] Installing >>>>>> /Users/saucelabs/Desktop/autonomiq-plugin/target/checkout/target/autonomiq-sources.jar >>>>>> >>>>>> to >>>>>> /Users/saucelabs/.m2/repository/io/jenkins/plugins/autonomiq/1.10/autonomiq-1.10-sources.jar >>>>>> >>>>>> >>>>>> >>>>>> [INFO] Installing >>>>>> /Users/saucelabs/Desktop/autonomiq-plugin/target/checkout/target/autonomiq-javadoc.jar >>>>>> >>>>>> to >>>>>> /Users/saucelabs/.m2/repository/io/jenkins/plugins/autonomiq/1.10/autonomiq-1.10-javadoc.jar >>>>>> >>>>>> [INFO] >>>>>> >>>>>> [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ >>>>>> autonomiq --- >>>>>> >>>>>> Uploading to maven.jenkins-ci.org: >>>>>> https://repo.jenkins-ci.org/releases/io/jenkins/plugins/autonomiq/1.10/autonomiq-1.10.hpi >>>>>> >>>>>> Uploading to maven.jenkins-ci.org: >>>>>> https://repo.jenkins-ci.org/releases/io/jenkins/plugins/autonomiq/1.10/autonomiq-1.10.pom >>>>>> >>>>>> >>>>>> >>>>>> for more information, please see the attached screenshot >>>>>> >>>>>> >>>>>> On Friday, October 15, 2021 at 3:13:35 PM UTC+5:30 >>>>>> [email protected] wrote: >>>>>> >>>>>>> What was the exact version you tried to upload? The output of the >>>>>>> perform step should have the URLs it's trying to upload to >>>>>>> >>>>>>> On Fri., Oct. 15, 2021, 2:34 a.m. Mohammad Jameel Uddin, < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> just now changed the password >>>>>>>> >>>>>>>> Thanks & Regards, >>>>>>>> Md Jameel Uddin >>>>>>>> >>>>>>>> On Fri, Oct 15, 2021 at 2:49 PM Jamie Tanna <[email protected]> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Can you please *immediately* change your password? You shouldn't >>>>>>>>> share even the encrypted form below >>>>>>>>> >>>>>>>>> On Fri, 15 Oct 2021, 10:15 Mohammad Jameel Uddin, < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> Hi All, >>>>>>>>>> >>>>>>>>>> I want to release the Jenkins plugin through local machine, but >>>>>>>>>> while performing "mvn release:perform" through command line it says >>>>>>>>>> unauthorized error 401. I tried many things to fix this but didn't >>>>>>>>>> work. >>>>>>>>>> can you help me in fixing this?. >>>>>>>>>> I am attaching the pom.xml file and ~/.m2/settings.xml file. >>>>>>>>>> pom file : >>>>>>>>>> https://github.com/jenkinsci/autonomiq-plugin/blob/main/pom.xml >>>>>>>>>> >>>>>>>>>> settings.xml >>>>>>>>>> >>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?> >>>>>>>>>> >>>>>>>>>> <settings xsi:schemaLocation=" >>>>>>>>>> http://maven.apache.org/SETTINGS/1.2.0 >>>>>>>>>> http://maven.apache.org/xsd/settings-1.2.0.xsd" xmlns=" >>>>>>>>>> http://maven.apache.org/SETTINGS/1.2.0" >>>>>>>>>> >>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> >>>>>>>>>> >>>>>>>>>> <servers> >>>>>>>>>> >>>>>>>>>> <server> >>>>>>>>>> >>>>>>>>>> <username>puneetchelani_sauce</username> >>>>>>>>>> >>>>>>>>>> <password>AP4MWfjX1ktFw8tcTyTqgJcraJ9</password> >>>>>>>>>> >>>>>>>>>> <id>central</id> >>>>>>>>>> >>>>>>>>>> </server> >>>>>>>>>> >>>>>>>>>> <server> >>>>>>>>>> >>>>>>>>>> <username>puneetchelani_sauce</username> >>>>>>>>>> >>>>>>>>>> <password>AP4MWfjX1ktFw8tcTyTqgJcraJ9</password> >>>>>>>>>> >>>>>>>>>> <id>snapshots</id> >>>>>>>>>> >>>>>>>>>> </server> >>>>>>>>>> >>>>>>>>>> </servers> >>>>>>>>>> >>>>>>>>>> <profiles> >>>>>>>>>> >>>>>>>>>> <profile> >>>>>>>>>> >>>>>>>>>> <repositories> >>>>>>>>>> >>>>>>>>>> <repository> >>>>>>>>>> >>>>>>>>>> <snapshots> >>>>>>>>>> >>>>>>>>>> <enabled>false</enabled> >>>>>>>>>> >>>>>>>>>> </snapshots> >>>>>>>>>> >>>>>>>>>> <id>central</id> >>>>>>>>>> >>>>>>>>>> <name>remote-snapshot-repos</name> >>>>>>>>>> >>>>>>>>>> <url> >>>>>>>>>> https://repo.jenkins-ci.org/artifactory/remote-snapshot-repos >>>>>>>>>> </url> >>>>>>>>>> >>>>>>>>>> </repository> >>>>>>>>>> >>>>>>>>>> <repository> >>>>>>>>>> >>>>>>>>>> <snapshots /> >>>>>>>>>> >>>>>>>>>> <id>snapshots</id> >>>>>>>>>> >>>>>>>>>> <name>remote-snapshot-repos</name> >>>>>>>>>> >>>>>>>>>> <url> >>>>>>>>>> https://repo.jenkins-ci.org/artifactory/remote-snapshot-repos >>>>>>>>>> </url> >>>>>>>>>> >>>>>>>>>> </repository> >>>>>>>>>> >>>>>>>>>> </repositories> >>>>>>>>>> >>>>>>>>>> <pluginRepositories> >>>>>>>>>> >>>>>>>>>> <pluginRepository> >>>>>>>>>> >>>>>>>>>> <snapshots> >>>>>>>>>> >>>>>>>>>> <enabled>false</enabled> >>>>>>>>>> >>>>>>>>>> </snapshots> >>>>>>>>>> >>>>>>>>>> <id>central</id> >>>>>>>>>> >>>>>>>>>> <name>remote-snapshot-repos</name> >>>>>>>>>> >>>>>>>>>> <url> >>>>>>>>>> https://repo.jenkins-ci.org/artifactory/remote-snapshot-repos >>>>>>>>>> </url> >>>>>>>>>> >>>>>>>>>> </pluginRepository> >>>>>>>>>> >>>>>>>>>> <pluginRepository> >>>>>>>>>> >>>>>>>>>> <snapshots /> >>>>>>>>>> >>>>>>>>>> <id>snapshots</id> >>>>>>>>>> >>>>>>>>>> <name>remote-snapshot-repos</name> >>>>>>>>>> >>>>>>>>>> <url> >>>>>>>>>> https://repo.jenkins-ci.org/artifactory/remote-snapshot-repos >>>>>>>>>> </url> >>>>>>>>>> >>>>>>>>>> </pluginRepository> >>>>>>>>>> >>>>>>>>>> </pluginRepositories> >>>>>>>>>> >>>>>>>>>> <id>artifactory</id> >>>>>>>>>> >>>>>>>>>> </profile> >>>>>>>>>> >>>>>>>>>> </profiles> >>>>>>>>>> >>>>>>>>>> <activeProfiles> >>>>>>>>>> >>>>>>>>>> <activeProfile>artifactory</activeProfile> >>>>>>>>>> >>>>>>>>>> </activeProfiles> >>>>>>>>>> >>>>>>>>>> </settings> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> 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 [email protected]. >>>>>>>>>> To view this discussion on the web visit >>>>>>>>>> https://groups.google.com/d/msgid/jenkinsci-dev/CAAx0H6xkTTXw7PP0RHOmY8L1KKVz3Zg4QHhp%2BRtQoxLxcMnMAQ%40mail.gmail.com >>>>>>>>>> >>>>>>>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAAx0H6xkTTXw7PP0RHOmY8L1KKVz3Zg4QHhp%2BRtQoxLxcMnMAQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>>>> . >>>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 [email protected]. >>>>>>>>> To view this discussion on the web visit >>>>>>>>> https://groups.google.com/d/msgid/jenkinsci-dev/CAP-iWuSV_UnPezQ2VffnRXrq%2BGwhb7W7%3Dncg6gXPsdgBqYvy0w%40mail.gmail.com >>>>>>>>> >>>>>>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAP-iWuSV_UnPezQ2VffnRXrq%2BGwhb7W7%3Dncg6gXPsdgBqYvy0w%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>>> . >>>>>>>>> >>>>>>>> -- >>>>>>>> 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 [email protected]. >>>>>>>> >>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/jenkinsci-dev/CAAx0H6zdEg4iv1GokUEGvej_r5nfmT1_kMpGAsTc65EvCeAiRw%40mail.gmail.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAAx0H6zdEg4iv1GokUEGvej_r5nfmT1_kMpGAsTc65EvCeAiRw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>> -- >>>>>> 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 [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/jenkinsci-dev/5679f5c7-1b61-4071-91c8-2bca8092d76bn%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/5679f5c7-1b61-4071-91c8-2bca8092d76bn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>>>> 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 [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtEm-GxHjbmSKExy-Bx3XTN68CG2%2BtL-v6zGVUWNJxNoKw%40mail.gmail.com >>>>> >>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtEm-GxHjbmSKExy-Bx3XTN68CG2%2BtL-v6zGVUWNJxNoKw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>>> 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 [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/jenkinsci-dev/CAAx0H6zVHWPqg5ao9pDHFzRwPXD9GsA0ka_s1hORNZ_67LNcgA%40mail.gmail.com >>>> >>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAAx0H6zVHWPqg5ao9pDHFzRwPXD9GsA0ka_s1hORNZ_67LNcgA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtGYyEX6Uy24JknU9ZAydm%3DvfVYLHzXngGgXnNCtR-5Z_g%40mail.gmail.com >>> >>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtGYyEX6Uy24JknU9ZAydm%3DvfVYLHzXngGgXnNCtR-5Z_g%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> 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 [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3Bie3FYa4qTqDuwt1ca-o_tndfxbwxwEmPKHnPBOn6CO5tg%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3Bie3FYa4qTqDuwt1ca-o_tndfxbwxwEmPKHnPBOn6CO5tg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/10ccc089-655e-442e-99e3-09a0210cef6bn%40googlegroups.com.
