Skip to content

Commit

Permalink
Merge pull request #22883 from arjantijms/gf5build4
Browse files Browse the repository at this point in the history
New infra - Volume for jenkins home
  • Loading branch information
arjantijms authored Jan 24, 2020
2 parents 59f8df6 + 937dc55 commit 3a3bd86
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ kind: Pod
metadata:
spec:
volumes:
- name: "jenkins-home"
emptyDir: {}
- name: maven-repo-shared-storage
persistentVolumeClaim:
claimName: glassfish-maven-repo-storage
- name: settings-xml
secret:
secretName: m2-secret-dir
Expand All @@ -146,9 +151,6 @@ spec:
items:
- key: settings-security.xml
path: settings-security.xml
- name: maven-repo-shared-storage
persistentVolumeClaim:
claimName: glassfish-maven-repo-storage
- name: maven-repo-local-storage
emptyDir: {}
containers:
Expand All @@ -170,6 +172,11 @@ spec:
tty: true
imagePullPolicy: Always
volumeMounts:
- mountPath: "/home/jenkins"
name: "jenkins-home"
readOnly: false
- mountPath: /home/jenkins/.m2/repository
name: maven-repo-shared-storage
- name: settings-xml
mountPath: /home/jenkins/.m2/settings.xml
subPath: settings.xml
Expand All @@ -178,8 +185,6 @@ spec:
mountPath: /home/jenkins/.m2/settings-security.xml
subPath: settings-security.xml
readOnly: true
- mountPath: /home/jenkins/.m2/repository
name: maven-repo-shared-storage
- mountPath: "/home/jenkins/.m2/repository/org/glassfish/main"
name: maven-repo-local-storage
env:
Expand Down

1 comment on commit 3a3bd86

@RohitKumarJain
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arjantijms , we are also working on the fix for stop-domain. Changes can be found under: e03d580

We are also testing a few more approaches like increasing the timeout value at the time of calling stop-domain. Ex: stop-domain --timeout 120000.

We'll keep you updated on the progress.

Please sign in to comment.