Skip to content

Commit 503c649

Browse files
committed
creds to republish sbt during ide validation
1 parent 15afb32 commit 503c649

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

recipes/_worker-config-debian.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
{ "#{jenkinsHome}/.credentials-private-repo" => "credentials-private-repo.erb",
5858
"#{jenkinsHome}/.credentials-sonatype" => "credentials-sonatype.erb",
59-
"#{jenkinsHome}/.credentials" => "credentials-sonatype.erb", # TODO: remove after replacing references to it in scripts by `.credentials-sonatype`
59+
"#{jenkinsHome}/.credentials" => "credentials-sonatype.erb", # TODO: remove -- I don't think it's used by the release scripts anymore (and some other tools -- dbuild -- need this file because you can't easily configure where they look)
6060
"#{jenkinsHome}/.sonatype-curl" => "sonatype-curl.erb",
6161
"#{jenkinsHome}/.s3credentials" => "s3credentials.erb",
6262
"#{jenkinsHome}/.s3curl" => "s3curl.erb",

recipes/_worker-config-rhel.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
end
1919
end
2020

21-
{ "#{jenkinsHome}/.m2/settings.xml" => "m2-settings-public-jobs.xml.erb"
21+
{ "#{jenkinsHome}/.m2/settings.xml" => "m2-settings-public-jobs.xml.erb",
22+
"#{jenkinsHome}/.credentials" => "credentials-public-jobs.erb"
2223
}.each do |target, templ|
2324
template target do
2425
source templ
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
realm=<%=node['repos']['private']['realm']%>
2+
host=<%=node['repos']['private']['host']%>
3+
user=<%= @privateRepoUser %>
4+
password=<%= @privateRepoPass %>

0 commit comments

Comments
 (0)