diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-08-18 15:11:57 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-08-18 15:11:57 +0200 |
commit | f94c4822c465a07ff59a299ff1dfad09c2c7872a (patch) | |
tree | 1c679141a0cd5faacc902a4f1f4cc977f0dd9e47 | |
parent | 742ecd0b46c39f09514cd89c7dd50bb0a775f676 (diff) | |
download | jenkinsfiles-f94c4822c465a07ff59a299ff1dfad09c2c7872a.tar.gz |
use default container
-rw-r--r-- | Jenkinsfile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 50880aa..b6530cc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,14 +2,13 @@ pipeline { agent { kubernetes { yamlFile 'fedora.yaml' + defaultContainer 'fedora' } } stages { stage('Run shell') { steps { - container('fedora') { - sh 'cat /etc/os-release' - } + sh 'cat /etc/os-release' } } } |