Skip to content

Commit 9aa13dc

Browse files
committed
Dependency image
1 parent 4238b99 commit 9aa13dc

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

CI/Jenkinsfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
node {
22
def app
3+
def dep
34

45
stage('Clone repository') {
5-
/* Let's make sure we have the repository cloned to our workspace */
6-
76
checkout scm CI
87

98
sh 'docker volume create vol-in'
@@ -15,6 +14,12 @@ node {
1514
sh 'docker stop dummy'
1615
}
1716

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+
1823
stage('Build image') {
1924
/* This builds the actual image; synonymous to
2025
* docker build on the command line */

0 commit comments

Comments
 (0)