forked from liatrio/pipeline-developer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding settings.xml for jenkins to use the default nexus creds for de…
…ploying
- Loading branch information
Benjamin Stein
committed
Nov 22, 2017
1 parent
ad0405b
commit e4934ef
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
FROM liatrio/jenkins-alpine | ||
COPY jobs /usr/share/jenkins/ref/jobs/ | ||
COPY resources/maven-settings.xml /usr/share/jenkins/ref/org.jenkinsci.plugins.configfiles.GlobalConfigFiles.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<org.jenkinsci.plugins.configfiles.GlobalConfigFiles plugin="[email protected]"> | ||
<configs class="sorted-set"> | ||
<comparator class="org.jenkinsci.plugins.configfiles.GlobalConfigFiles$1"/> | ||
<org.jenkinsci.plugins.configfiles.xml.XmlConfig> | ||
<id>nexus</id> | ||
<name>nexus</name> | ||
<comment></comment> | ||
<content><?xml version="1.0" encoding="UTF-8"?> | ||
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<mirrors> | ||
<mirror> | ||
<mirrorOf>central</mirrorOf> | ||
<url>http://nexus:8081/nexus/content/repositories/central/</url> | ||
<id>releases</id> | ||
</mirror> | ||
</mirrors> | ||
<servers> | ||
<server> | ||
<id>releases</id> | ||
<username>nexus</username> | ||
<password>admin123</password> | ||
</server> | ||
<server> | ||
<id>snapshots</id> | ||
<username>nexus</username> | ||
<password>admin123</password> | ||
</server> | ||
<server> | ||
<id>deployment</id> | ||
<username>admin</username> | ||
<password>admin123</password> | ||
</server> | ||
</servers> | ||
</settings></content> | ||
<providerId>org.jenkinsci.plugins.configfiles.xml.XmlConfig</providerId> | ||
</org.jenkinsci.plugins.configfiles.xml.XmlConfig> | ||
<org.jenkinsci.plugins.configfiles.xml.XmlConfig> | ||
<id>nexus</id> | ||
<name>nexus</name> | ||
<comment></comment> | ||
<content><?xml version="1.0" encoding="UTF-8"?> | ||
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<servers> | ||
<server> | ||
<id>releases</id> | ||
<username>admin</username> | ||
<password>admin123</password> | ||
</server> | ||
<server> | ||
<id>snapshots</id> | ||
<username>admin</username> | ||
<password>admin123</password> | ||
</server> | ||
<server> | ||
<id>deployment</id> | ||
<username>admin</username> | ||
<password>admin123</password> | ||
</server> | ||
</servers> | ||
</settings></content> | ||
<providerId>org.jenkinsci.plugins.configfiles.xml.XmlConfig</providerId> | ||
</org.jenkinsci.plugins.configfiles.xml.XmlConfig> | ||
</configs> | ||
</org.jenkinsci.plugins.configfiles.GlobalConfigFiles> |