Skip to content

Commit

Permalink
Adjust jenkinsfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
skuzzle committed Aug 23, 2019
1 parent c7d4be1 commit b3ba8f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Expand Up @@ -2,7 +2,7 @@ pipeline {
agent {
docker {
image 'maven:3.6.1-jdk-8'
args '-v $HOME/.m2:/root/.m2 -m 3g -e MAVEN_OPTS="-Xmx300m"'
args '-v /home/jenkins/.m2:/var/maven/.m2 -e MAVEN_CONFIG=/var/maven/.m2 -e MAVEN_OPTS=-Duser.home=/var/maven'
}
}
stages {
Expand Down
10 changes: 5 additions & 5 deletions JenkinsfileRelease
@@ -1,19 +1,19 @@
pipeline {
agent {
docker {
image 'maven:3.6.1-jdk-8'
args '-v $HOME/.m2:/root/.m2 -v $HOME/.gnupg:/root/.gnupg -m 3G -e MAVEN_OPTS="-Xmx300m"'
image 'maven:3.6-jdk-8'
args '-v /home/jenkins/.m2:/var/maven/.m2 -v /home/jenkins/.gnupg:/.gnupg -e MAVEN_CONFIG=/var/maven/.m2 -e MAVEN_OPTS=-Duser.home=/var/maven'
}
}
environment {
GPG_SECRET = credentials('gpg_password')
GITHUB = credentials('Github-Username-Pw')
GITHUB = credentials('github')
}
stages {
stage ('Set Git Information') {
steps {
sh 'git config --global user.email "simon.taddiken@gmail.com"'
sh 'git config --global user.name "Simon Taddiken"'
sh 'git config --local user.email "simon.taddiken@gmail.com"'
sh 'git config --local user.name "Simon Taddiken"'
}
}
stage('Prepare') {
Expand Down

0 comments on commit b3ba8f0

Please sign in to comment.