~starkingdoms/starkingdoms

ref: b0623765238cc18f2abc9fd56f03fed81ab1f1fe starkingdoms/Jenkinsfile -rw-r--r-- 426 bytes
b0623765 — c0repwn3r jenkins CI pt.6 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 {
                sh 'rustup component add clippy'
            }
        }
        stage('Build') {
            steps {
                sh 'cargo build --locked'
            }
        }
        stage('Clippy') {
            steps {
                sh 'cargo clippy --locked'
            }
        }
    }
}