Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
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
MadsNielsen authored and Praqma committed Jan 19, 2018
1 parent 3e5c7fb commit e36eeb5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ci/seed.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -55,6 +58,7 @@ job("pretested-integration-plugin-release-beta") {
}
}
wrappers {

maskPasswords()
injectPasswords {
injectGlobalPasswords()
Expand All @@ -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\"")
}
}

Expand Down

0 comments on commit e36eeb5

Please sign in to comment.