#190 Improve e2e tests for OpenShift
This commit is contained in:
parent
7356a5ec49
commit
c1c301ec79
|
|
@ -116,6 +116,12 @@ func createJenkinsWithBackupAndRestoreConfigured(t *testing.T, name, namespace s
|
||||||
Containers: []v1alpha2.Container{
|
Containers: []v1alpha2.Container{
|
||||||
{
|
{
|
||||||
Name: resources.JenkinsMasterContainerName,
|
Name: resources.JenkinsMasterContainerName,
|
||||||
|
VolumeMounts: []corev1.VolumeMount{
|
||||||
|
{
|
||||||
|
Name: "plugins-cache",
|
||||||
|
MountPath: "/usr/share/jenkins/ref/plugins",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: containerName,
|
Name: containerName,
|
||||||
|
|
@ -140,10 +146,6 @@ func createJenkinsWithBackupAndRestoreConfigured(t *testing.T, name, namespace s
|
||||||
Name: "jenkins-home",
|
Name: "jenkins-home",
|
||||||
MountPath: "/jenkins-home",
|
MountPath: "/jenkins-home",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
Name: "plugins-cache",
|
|
||||||
MountPath: "/usr/share/jenkins/ref/plugins",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue