mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 00:25:50 +00:00
web user root
This commit is contained in:
parent
42983bedee
commit
5404aaadb5
2 changed files with 2 additions and 2 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -35,7 +35,7 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
withCredentials([file(credentialsId: 'ngx', variable: 'ROOT_CERT')]) {
|
||||
docker.image('maven:3.8.1-jdk-8').inside("--network=jenkins_default") {
|
||||
docker.image('maven:3.8.1-jdk-8').inside("-u root --network=jenkins_default") {
|
||||
sh 'cp $ROOT_CERT /usr/local/share/ca-certificates/ && update-ca-certificates'
|
||||
sh 'mvn -B clean package'
|
||||
}
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -353,7 +353,7 @@
|
|||
<repository>
|
||||
<id>maven-central</id>
|
||||
<name>maven-central</name>
|
||||
<url>https://172.19.0.4/</url>
|
||||
<url>https://web</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
|
|
Loading…
Reference in a new issue