aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
blob: 62941cc7f707fe491dc8b70d541291aee9a348d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
pipeline {
    agent {
        kubernetes {
            yamlFile 'fedora.yaml'
            defaultContainer 'fedora'
        }
    }

    triggers {
        pollSCM('H * * * *')
    }

    stages {
        stage('Run shell') {
            steps {
                sh '''
                    set -x
                    cat /etc/os-release
                    uname -a
                '''
            }
        }
    }
}