Skip to content

Commit 634012e

Browse files
committed
Point jenkins jobs at our artifactory
Since private-repo is going away tomorrow...
1 parent 5603761 commit 634012e

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,9 +544,24 @@ The jenkins token for scabot has to be configured manually:
544544
```
545545
- do `knife vault update master scabot -J scabot-jenkins.json`
546546

547+
# Artifactory
548+
- Set admin password.
549+
- create repos (TODO: automate)
550+
- Create scala-ci user that can push to scala-release-temp and scala-pr-validation-snapshots,
551+
- coordinate scala-ci credentials with jenkins via
552+
```
553+
knife vault update worker-publish private-repo -J private-repo.json
554+
```
547555

548-
556+
where `private-repo.json`:
549557
```
558+
{
559+
"id": "private-repo",
560+
"user": "scala-ci",
561+
"pass": "???"
562+
}
563+
```
564+
550565

551566
# Misc
552567

attributes/default.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
default['jenkinsEnv']['MAVEN_OPTS'] = workerJavaOpts # doesn't technically need the -Dpartest one, but oh well
1111

1212
default['repos']['private']['realm'] = "Artifactory Realm"
13-
default['repos']['private']['host'] = "private-repo.typesafe.com"
14-
default['repos']['private']['pr-snap'] = "http://private-repo.typesafe.com/typesafe/scala-pr-validation-snapshots/"
15-
default['repos']['private']['release-temp'] = "http://private-repo.typesafe.com/typesafe/scala-release-temp/"
13+
default['repos']['private']['host'] = scalaCiHost
14+
default['repos']['private']['pr-snap'] = "https://#{scalaCiHost}/artifactory/scala-pr-validation-snapshots/"
15+
default['repos']['private']['release-temp'] = "https://#{scalaCiHost}/artifactory/scala-release-temp/"
1616

1717
default['s3']['downloads']['host'] = "downloads.typesafe.com.s3.amazonaws.com"
1818

0 commit comments

Comments
 (0)