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 21, 2016
1 parent 9320667 commit 1e7af61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Expand Up @@ -28,7 +28,7 @@ node {
try {
sh "echo 'writing settings.xml'"
// Use the m2 repo cache from the host by creating a settings.xml.
writeFile (file: '/home/bouser/.m2/settings.xml', text: "<settings>" +
sh ("echo \"<settings>" +
" <mirrors>\n" +
" <mirror>\n" +
" <id>localnexus</id>\n" +
Expand All @@ -37,7 +37,7 @@ node {
" </mirror>\n" +
" </mirrors>" +
" <servers><server><id>localnexus</id><username>admin</username><password>admin123</password></server></servers>" +
"</settings>");
"</settings>\" > /home/bouser/.m2/settings.xml");

sh "echo 'Starting build stage'"
// Build blueocean and the ATH
Expand Down

0 comments on commit 1e7af61

Please sign in to comment.