Failed to transfer file: Return code is: 401, ReasonPhrase: Unauthorized. Please, assist

33 views
Skip to first unread message

Dzmitry Kashlach

unread,
Nov 20, 2017, 6:00:08 AM11/20/17
to Jenkins Developers
Hi,

Need assistance with 
mvn release:prepare release:perform

Used this guide:

~/.m2/settings.xml
                      http://maven.apache.org/xsd/settings-1.0.0.xsd">
 
  <servers>
    <server>
      <id>maven.jenkins-ci.org</id> <!-- For parent 1.397 or newer; this ID is used for historical reasons and independent of the actual host name -->
      <username>zmicerkashlach</username>
      <password>{validpassword}</password>
    </server>
  </servers>
 
</settings>


GITHUB is configued:
Hi dzmitrykashlach! You've successfully authenticated, but GitHub does not provide shell access.

I have upload permissions:

I've also tried
mvn release:prepare release:perform -Dusername=zmicerkashlach -Dpassword={validpassword}
but with the same result.

Thank you!

Robert Sandell

unread,
Nov 20, 2017, 6:27:06 AM11/20/17
to jenkin...@googlegroups.com
The id of the distribution repository in the blazemeter pom is "repo.jenkins-ci.org" but the id in your settings.xml is "maven.jenkins-ci.org" .

/B

--
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 jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/7f66a081-3eee-4977-8ba3-e89a0f8e9f38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Robert Sandell
Software Engineer
CloudBees Inc.

Dzmitry Kashlach

unread,
Nov 20, 2017, 8:01:33 AM11/20/17
to Jenkins Developers
Thanks, you're right.
Reply all
Reply to author
Forward
0 new messages