Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
use a local nexus repo
Browse files Browse the repository at this point in the history
  • Loading branch information
tfennelly committed Sep 23, 2016
1 parent 5d47a9b commit 0031daa
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ node {
withEnv(['GIT_COMMITTER_EMAIL=me@hatescake.com', 'GIT_COMMITTER_NAME=Hates', 'GIT_AUTHOR_NAME=Cake', 'GIT_AUTHOR_EMAIL=hates@cake.com']) {
try {
// Use the m2 repo cache from the host by creating a settings.xml.
// writeFile file: '/home/bouser/settings.xml', text: "<settings>" +
// " <mirrors>\n" +
// " <mirror>\n" +
// " <id>localnexus</id>\n" +
// " <url>http://192.168.1.3/repository/maven-public/</url>\n" +
// " <mirrorOf>*</mirrorOf>\n" +
// " </mirror>\n" +
// " </mirrors>" +
// " <servers><server><id>localnexus</id><username>admin</username><password>admin123</password></server></servers>" +
// "</settings>";
writeFile (file: '/home/bouser/.m2/settings.xml', text: "<settings>" +
" <mirrors>\n" +
" <mirror>\n" +
" <id>localnexus</id>\n" +
" <url>http://192.168.1.3/repository/maven-public/</url>\n" +
" <mirrorOf>*</mirrorOf>\n" +
" </mirror>\n" +
" </mirrors>" +
" <servers><server><id>localnexus</id><username>admin</username><password>admin123</password></server></servers>" +
"</settings>");

// Build blueocean and the ATH
stage 'build'
Expand Down

0 comments on commit 0031daa

Please sign in to comment.