~starkingdoms/starkingdoms

ref: 3ef7a2fac41a7f6e5ab52cdd6633a93450c58a26 starkingdoms/Jenkinsfile -rw-r--r-- 403 bytes
3ef7a2fa — c0repwn3r jenkins CI pt.5 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pipeline {
    agent {
        docker { image 'rust' }
    }

    stages {
        stage('Prepare') {
            steps {
                rustup component add clippy
            }
        }
        stage('Build') {
            steps {
                sh 'cargo build'
            }
        }
        stage('Clippy') {
            steps {
                sh 'cargo clippy'
            }
        }
    }
}