2021-04-11 18:41:00 +02:00
|
|
|
node {
|
2021-04-11 18:57:28 +02:00
|
|
|
docker.image('kubakonieczny/ium:v1.0').withRun('-t' -e KAGGLE_USERNAME=kubakonieczny -e KAGGLE_KEY=${params.KAGGLE_KEY}) { c ->
|
2021-04-11 18:46:58 +02:00
|
|
|
docker.image('kubakonieczny/ium:v1.0').inside {
|
|
|
|
stage('Test') {
|
|
|
|
sh 'cat /etc/issue'
|
|
|
|
sh 'ls -lah'
|
|
|
|
}
|
2021-03-28 17:41:49 +02:00
|
|
|
}
|
|
|
|
}
|
2021-04-11 18:49:02 +02:00
|
|
|
sh 'docker logs ${c.id}'
|
2021-03-28 17:41:49 +02:00
|
|
|
}
|