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'
}
}
}
}