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

Commit

Permalink
maven repo - more
Browse files Browse the repository at this point in the history
  • Loading branch information
tfennelly committed Sep 23, 2016
1 parent 031cc20 commit 01cad0a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ node {
// Expose the port on which the ATH Jenkins instance runs (12345), allowing the
// Firefox browser (running in the selenium container) to make requests back
// in etc.
athImg.inside("--expose=12345 -v m2repo:/bouser/.m2repo") {
athImg.inside("--expose=12345 -v m2repo:/home/bouser/.m2repo") {
withEnv(['GIT_COMMITTER_EMAIL=me@hatescake.com', 'GIT_COMMITTER_NAME=Hates', 'GIT_AUTHOR_NAME=Cake', 'GIT_AUTHOR_EMAIL=hates@cake.com']) {
try {
writeFile file: 'settings.xml', text: "<settings><localRepository>/bouser/.m2repo</localRepository></settings>"
// Use the m2 repo cache from the host by creating a settings.xml.
writeFile file: 'settings.xml', text: "<settings><localRepository>/home/bouser/.m2repo</localRepository></settings>"

// Build blueocean and the ATH
stage 'build'
dir('blueocean-plugin') {
Expand Down

0 comments on commit 01cad0a

Please sign in to comment.