Skip to content

Commit

Permalink
[INFRA-3066] Try using a Bearer token rather than Basic auth
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Sep 10, 2021
1 parent b11e736 commit 5b91369
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
<servers>
<server>
<id>maven.jenkins-ci.org</id>
<username>${env.MAVEN_USERNAME}</username>
<password>${env.MAVEN_TOKEN}</password>
<configuration>
<httpHeaders>
<property>
<name>Authorization</name>
<value>Bearer ${env.MAVEN_TOKEN}</value>
</property>
</httpHeaders>
</configuration>
</server>
</servers>
</settings>

0 comments on commit 5b91369

Please sign in to comment.