jenkins CI pt.5
1 files changed, 9 insertions(+), 8 deletions(-) M Jenkinsfile
M Jenkinsfile => Jenkinsfile +9 -8
@@ 1,21 1,22 @@ pipeline { agent any agent { docker { image 'rust' } } stages { stage('Build') { stage('Prepare') { steps { echo 'Building..' sh 'cargo build' rustup component add clippy } } stage('Test') { stage('Build') { steps { echo 'Testing..' sh 'cargo build' } } stage('Deploy') { stage('Clippy') { steps { echo 'Deploying....' sh 'cargo clippy' } } }