Skip to content

Commit

Permalink
EREQ-85 Use basic auth for P2 repos (same setup as dev env)
Browse files Browse the repository at this point in the history
  • Loading branch information
jblievremont committed Dec 9, 2024
1 parent 6c02fb4 commit e6d3b92
Showing 1 changed file with 28 additions and 12 deletions.
40 changes: 28 additions & 12 deletions .cirrus/settings-public-auth.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,40 @@
<!-- Authenticated P2 repo part 1 -->
<server>
<id>reddeerLatest</id>
<username>${env.ARTIFACTORY_PRIVATE_USERNAME}</username>
<password>${env.ARTIFACTORY_PRIVATE_PASSWORD}</password>
<configuration>
<httpHeaders>
<property>
<name>Authorization</name>
<value>Bearer ${env.ARTIFACTORY_ACCESS_TOKEN}</value>
</property>
</httpHeaders>
<wagonProvider>httpclient</wagonProvider>
<httpConfiguration>
<all>
<params>
<param>
<name>http.authentication.preemptive</name>
<value>%b,false</value>
</param>
</params>
<usePreemptive>true</usePreemptive>
</all>
</httpConfiguration>
</configuration>
</server>
<server>
<id>reddeer420</id>
<username>${env.ARTIFACTORY_PRIVATE_USERNAME}</username>
<password>${env.ARTIFACTORY_PRIVATE_PASSWORD}</password>
<configuration>
<httpHeaders>
<property>
<name>Authorization</name>
<value>Bearer ${env.ARTIFACTORY_ACCESS_TOKEN}</value>
</property>
</httpHeaders>
<wagonProvider>httpclient</wagonProvider>
<httpConfiguration>
<all>
<params>
<param>
<name>http.authentication.preemptive</name>
<value>%b,false</value>
</param>
</params>
<usePreemptive>true</usePreemptive>
</all>
</httpConfiguration>
</configuration>
</server>
<!-- /Authenticated P2 repo part 1 -->
Expand Down

0 comments on commit e6d3b92

Please sign in to comment.