-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit fefcac6 Author: Praqma Service User <[email protected]> Date: Fri Jan 19 14:11:44 2018 +0100 Add string parameter to integration. For #114 commit 063aa64 Author: Praqma Service User <[email protected]> Date: Fri Jan 19 13:59:35 2018 +0100 Removed shell command for now. For #114
- Loading branch information
1 parent
3e5c7fb
commit e36eeb5
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,9 @@ def descriptionForPipJob = """<h3>Pretested Integration Plugin</h3> | |
""" | ||
job(pipJobName) { | ||
description("Runs pretested integration for Pretested Integration ") | ||
parameters { | ||
stringParam("BRANCH") | ||
} | ||
scm { | ||
git { | ||
branch("\${BRANCH}") //TODO: Switch to ready when done | ||
|
@@ -55,6 +58,7 @@ job("pretested-integration-plugin-release-beta") { | |
} | ||
} | ||
wrappers { | ||
|
||
maskPasswords() | ||
injectPasswords { | ||
injectGlobalPasswords() | ||
|
@@ -64,7 +68,7 @@ job("pretested-integration-plugin-release-beta") { | |
steps { | ||
//run -v ~/.m2:/var/maven/.m2 -v $(pwd):/usr/app -w /usr/app -t --rm -u 1000:1000 -e MAVEN_CONFIG=/var/maven/.m2 | ||
//shell("docker run -w /usr/src/mymaven --rm -t -v \$(pwd):/usr/src/mymaven -v pretested-integration-plugin-volume:/root/.m2 -e PWFORPRAQMAMVNUSER=${PWFORPRAQMAMVNUSER} maven:3.5.2-jdk-8 /bin/bash -c \"git config --global user.email \\\"[email protected]\\\" && git config --global user.name \\\"Praqma Release User\\\" && mvn -s settings.xml -B -Dusername=ReleasePraqma -Dpassword=${PW_HTTPS_RELEASE_PRAQMA} clean release:clean release:prepare release:perform\"") | ||
shell("docker run -w /usr/src/app -u 1000:1000 --rm -t -v \$(pwd):/usr/src/app -v ~/.m2:/var/maven/.m2 -e PWFORPRAQMAMVNUSER=${PWFORPRAQMAMVNUSER} -e MAVEN_CONFIG=/var/maven/.m2 maven:3.5.2-jdk-8 /bin/bash -c \"git config --global user.email \\\"[email protected]\\\" && git config --global user.name \\\"Praqma Release User\\\" && mvn -s settings.xml -B -Dusername=ReleasePraqma -Dpassword=${PW_HTTPS_RELEASE_PRAQMA} -Duser.home=/var/maven clean release:clean release:prepare release:perform\"") | ||
//shell("docker run -w /usr/src/app -u 1000:1000 --rm -t -v \$(pwd):/usr/src/app -v ~/.m2:/var/maven/.m2 -e PWFORPRAQMAMVNUSER=${PWFORPRAQMAMVNUSER} -e MAVEN_CONFIG=/var/maven/.m2 maven:3.5.2-jdk-8 /bin/bash -c \"git config --global user.email \\\"[email protected]\\\" && git config --global user.name \\\"Praqma Release User\\\" && mvn -s settings.xml -B -Dusername=ReleasePraqma -Dpassword=${PW_HTTPS_RELEASE_PRAQMA} -Duser.home=/var/maven clean release:clean release:prepare release:perform\"") | ||
} | ||
} | ||
|
||
|