You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by al...@apache.org on 2018/09/25 11:30:07 UTC

[1/2] brooklyn-library git commit: jenkins: add settings.xml for 'mvn deploy'

Repository: brooklyn-library
Updated Branches:
  refs/heads/master 01cc0b584 -> 6a214e773


jenkins: add settings.xml for 'mvn deploy'


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-library/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-library/commit/35612262
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-library/tree/35612262
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-library/diff/35612262

Branch: refs/heads/master
Commit: 35612262cf8c782d2152049d8b865cdd094c03dd
Parents: 01cc0b5
Author: Aled Sage <al...@gmail.com>
Authored: Tue Sep 25 12:26:29 2018 +0100
Committer: Aled Sage <al...@gmail.com>
Committed: Tue Sep 25 12:26:29 2018 +0100

----------------------------------------------------------------------
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-library/blob/35612262/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 67c1b79..8300127 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -44,7 +44,7 @@ node(label: 'ubuntu') {
             // Conditional stage to deploy artifacts, when not building a PR
             if (env.CHANGE_ID == null) {
                 stage('Deploy artifacts') {
-                    environmentDockerImage.inside('-i --name brooklyn-${DOCKER_TAG} -u 910:910 -v ${WORKSPACE}:/usr/build -w /usr/build') {
+                    environmentDockerImage.inside('-i --name brooklyn-${DOCKER_TAG} -u 910:910 --mount type=bind,source="${HOME}/.m2/settings.xml",target=/var/maven/.m2/settings.xml,readonly -v ${WORKSPACE}:/usr/build -w /usr/build') {
                         sh 'mvn deploy -DskipTests -Duser.home=/var/maven -Duser.name=$(id -un 910)'
                     }
                 }


[2/2] brooklyn-library git commit: This closes #161

Posted by al...@apache.org.
This closes #161


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-library/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-library/commit/6a214e77
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-library/tree/6a214e77
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-library/diff/6a214e77

Branch: refs/heads/master
Commit: 6a214e7733a97ba0ef3cc37e2218225d1c58cfd5
Parents: 01cc0b5 3561226
Author: Aled Sage <al...@gmail.com>
Authored: Tue Sep 25 12:29:56 2018 +0100
Committer: Aled Sage <al...@gmail.com>
Committed: Tue Sep 25 12:29:56 2018 +0100

----------------------------------------------------------------------
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------