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.

Reply via email to