-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathJenkinsfile
25 lines (22 loc) · 857 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pipeline{
agent any
stages{
stage("git checkout"){
steps{
checkout scmGit(branches: [[name: '*/main']], extensions: [], userRemoteConfigs: [[url: 'https://github.com/bablooswiftnav/HelloUniverse']])
}
}
stage("Run docker image"){
steps{
script{
echo 'Hey I am here !!'
// sh 'mount --bind /media/daten/home/hellouniverse /home/hellouniverse'
// sh 'docker run babloojangoo/hello0'
sh 'docker run babloojangoo/hello0'
// sh 'docker run -it --home=/ babloojangoo/hellouniverse'
// sh 'docker run --mount type=bind,source=/home/hellouniverse,target=/data hellouniverse-image'
}
}
}
}
}