#190 Improve e2e tests for OpenShift

This commit is contained in:
Tomasz Sęk 2020-03-22 19:25:49 +01:00
parent 7356a5ec49
commit c1c301ec79
No known key found for this signature in database
GPG Key ID: DC356D23F6A644D0
1 changed files with 6 additions and 4 deletions

View File

@ -116,6 +116,12 @@ func createJenkinsWithBackupAndRestoreConfigured(t *testing.T, name, namespace s
Containers: []v1alpha2.Container{
{
Name: resources.JenkinsMasterContainerName,
VolumeMounts: []corev1.VolumeMount{
{
Name: "plugins-cache",
MountPath: "/usr/share/jenkins/ref/plugins",
},
},
},
{
Name: containerName,
@ -140,10 +146,6 @@ func createJenkinsWithBackupAndRestoreConfigured(t *testing.T, name, namespace s
Name: "jenkins-home",
MountPath: "/jenkins-home",
},
{
Name: "plugins-cache",
MountPath: "/usr/share/jenkins/ref/plugins",
},
},
},
},