Container naiming test
This commit is contained in:
parent
53dd7535f5
commit
b306292524
@ -1,8 +1,8 @@
|
|||||||
node {
|
node {
|
||||||
docker.image('s478841-image:latest').inside {
|
docker.image('s478841-image:latest').inside('--name stats_giver') {
|
||||||
stage('Data stats in container') {
|
stage('Data stats in container') {
|
||||||
sh 'ls -al'
|
sh 'ls -al'
|
||||||
sh 'chmod +x /app/data_stats.sh && /app/data_stats.sh'
|
sh 'chmod +x stats_giver:/app/data_stats.sh && stats_giver:/app/data_stats.sh'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user