From 0b7af4e3d79de8390fe27e46c7a9369843e1fe2b Mon Sep 17 00:00:00 2001 From: Mutzi Date: Sat, 11 Feb 2023 12:22:46 +0100 Subject: [PATCH] Testing with Jenkins --- Jenkinsfile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 551d922..8d4520c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,13 +1,15 @@ pipeline { agent none - stage('Build') { - agent { - docker { image 'rust:alpine' } - } - steps { - sh 'export' - sh 'cargo --release build' - sh 'ls -la' + stages { + stage('Build') { + agent { + docker { image 'rust:alpine' } + } + steps { + sh 'export' + sh 'cargo --release build' + sh 'ls -la' + } } } } \ No newline at end of file