We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4238b99 commit 9aa13dcCopy full SHA for 9aa13dc
1 file changed
CI/Jenkinsfile
@@ -1,9 +1,8 @@
1
node {
2
def app
3
+ def dep
4
5
stage('Clone repository') {
- /* Let's make sure we have the repository cloned to our workspace */
6
-
7
checkout scm CI
8
9
sh 'docker volume create vol-in'
@@ -15,6 +14,12 @@ node {
15
14
sh 'docker stop dummy'
16
}
17
+ stage('Dependencies') {
18
+ checkout scm CI
19
+
20
+ dep = docker.build("dependency-image", "./CI/dependency -v vol-in:/vi -v vol-out:/vo")
21
+ }
22
23
stage('Build image') {
24
/* This builds the actual image; synonymous to
25
* docker build on the command line */
0 commit comments