Skip to content

Instantly share code, notes, and snippets.

@kingsleyh
Created February 25, 2014 21:58
Show Gist options
  • Save kingsleyh/9218764 to your computer and use it in GitHub Desktop.
Save kingsleyh/9218764 to your computer and use it in GitHub Desktop.
settings.xml for jenkins maven release
<settings>
<servers>
<server>
<id>sonatype-nexus-releases</id>
<username>username</username>
<password>password</password>
</server>
<server>
<id>sonatype-nexus-snapshots</id>
<username>username</username>
<password>password</password>
</server>
<server>
<id>sonatype-nexus-staging</id>
<username>username</username>
<password>password</password>
</server>
<server>
<id>central</id>
<username>username</username>
<password>password</password>
</server>
</servers>
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>public</name>
<url>http://repo.jenkins-ci.org/public</url>
</repository>
<repository>
<snapshots />
<id>snapshots</id>
<name>public</name>
<url>http://repo.jenkins-ci.org/public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>public</name>
<url>http://repo.jenkins-ci.org/public</url>
</pluginRepository>
<pluginRepository>
<snapshots />
<id>snapshots</id>
<name>public</name>
<url>http://repo.jenkins-ci.org/public</url>
</pluginRepository>
</pluginRepositories>
<id>artifactory</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>artifactory</activeProfile>
</activeProfiles>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment