making the /data/web directory available in the pod for publishing static web sites.
[pipelinelib] / resources / podtemplates / java8.yaml
index c1ef5643e5ff17efb6056100e7178771263c05d6..551d62580d5315eb1584a33e6f12d5f7c87acdfa 100644 (file)
@@ -12,6 +12,8 @@ spec:
         - name: jenkins-m2settings
           mountPath: /home/ci/.m2/settings.xml
           subPath: settings.xml
+        - name: web-static
+          mountPath: /data/www
   volumes:
     - name: jenkins-m2repo
       persistentVolumeClaim:
@@ -19,3 +21,6 @@ spec:
     - name: jenkins-m2settings
       configMap:
         name: jenkins-m2settings
+    - name: web-static
+      persistentVolumeClaim:
+        claimName: web-static