Skip to content

Commit b33e83e

Browse files
committed
New image
1 parent e7115ee commit b33e83e

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

CI/Jenkinsfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,19 @@ node {
44
stage('Clone repository') {
55
/* Let's make sure we have the repository cloned to our workspace */
66

7-
checkout scm
7+
checkout scm CI
88

99
sh 'docker volume create vol-in'
1010
sh 'docker volume create vol-out'
1111
sh 'docker volume ls'
12-
sh 'docker volume inspect vol-in'
13-
sh 'ls /var/lib/docker/volumes/vol-in/_data'
14-
sh 'touch /var/lib/docker/volumes/vol-in/_data/test.txt'
15-
sh 'ls /var/lib/docker/volumes/vol-in/_data'
12+
// sh 'docker volume inspect vol-in'
13+
// sh 'ls $HOME'
14+
15+
docker.image('node').inside {
16+
sh 'make test'
17+
}
18+
// sh 'touch /var/lib/docker/volumes/vol-in/_data/test.txt'
19+
// sh 'ls /var/lib/docker/volumes/vol-in/_data'
1620
}
1721

1822
stage('Build image') {

0 commit comments

Comments
 (0)