~starkingdoms/starkingdoms

ref: 6e02c5ebc051d0af04645d6ead28e75252b1261c starkingdoms/Jenkinsfile -rw-r--r-- 450 bytes
6e02c5eb — c0repwn3r jenkins CI pt.10 (fix the custom build image) 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 ' c0repwn3r2/stk-rust-builder' }
    }

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