Skip to content

Commit

Permalink
midpoint-quick-pipeline: test with persistent volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Jun 1, 2022
1 parent 16d0bc5 commit 81b1f86
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tools/jenkins/midpoint-quick-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ podTemplate(
activeDeadlineSeconds: 7200,
idleMinutes: 1,
// No need for secret volume, no mvn deploy done here.
workspaceVolume: dynamicPVC(requestsSize: "10Gi"),
volumes: [ persistentVolumeClaim(claimName: "midpoint-quick-pipeline-m2repo", mountPath: "/root/.m2/repository")],
//workspaceVolume: dynamicPVC(requestsSize: "10Gi"),
workspaceVolume: persistentVolumeClaimWorkspaceVolume(claimName: "midpoint-quick-pipeline-workspace"),
containers: [
containerTemplate(name: 'jnlp',
image: 'jenkins/inbound-agent:4.13-2-alpine',
Expand Down Expand Up @@ -47,6 +49,11 @@ podTemplate(
fi

mvn -B -ntp -Dmaven.test.failure.ignore clean install -P -dist -DintegrationTestSuite=fast

if [ "${verbose}" -ge 1 ]
then
df -h
fi
"""

step([$class: 'Publisher',
Expand Down

0 comments on commit 81b1f86

Please sign in to comment.