Container naiming test

This commit is contained in:
MatOgr 2022-04-03 23:56:26 +02:00
parent 53dd7535f5
commit b306292524

View File

@ -1,8 +1,8 @@
node {
docker.image('s478841-image:latest').inside {
docker.image('s478841-image:latest').inside('--name stats_giver') {
stage('Data stats in container') {
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'
}
}
}