Skip to content

Commit 4444cb5

Browse files
committed
DATACASS-821 - Enable Maven caching for Jenkins jobs.
1 parent 7a7132a commit 4444cb5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Jenkinsfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ pipeline {
6161
docker {
6262
image 'springci/spring-data-openjdk8-cassandra-3.11:latest'
6363
label 'data'
64+
args '-v $HOME:/tmp/jenkins-home'
6465
}
6566
}
6667
options { timeout(time: 30, unit: 'MINUTES') }
@@ -85,6 +86,7 @@ pipeline {
8586
docker {
8687
image 'springci/spring-data-openjdk11-8-cassandra-3.11:latest'
8788
label 'data'
89+
args '-v $HOME:/tmp/jenkins-home'
8890
}
8991
}
9092
options { timeout(time: 30, unit: 'MINUTES') }
@@ -107,6 +109,7 @@ pipeline {
107109
docker {
108110
image 'adoptopenjdk/openjdk8:latest'
109111
label 'data'
112+
args '-v $HOME:/tmp/jenkins-home'
110113
}
111114
}
112115
options { timeout(time: 20, unit: 'MINUTES') }
@@ -135,6 +138,7 @@ pipeline {
135138
docker {
136139
image 'adoptopenjdk/openjdk8:latest'
137140
label 'data'
141+
args '-v $HOME:/tmp/jenkins-home'
138142
}
139143
}
140144
options { timeout(time: 20, unit: 'MINUTES') }

0 commit comments

Comments
 (0)