From 392ef5c6c34160bcc4988d03e1ff972f8405bced Mon Sep 17 00:00:00 2001 From: PawelDopierala Date: Wed, 27 Mar 2024 01:48:16 +0100 Subject: [PATCH] Split stage --- Jenkinsfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index ea7a22f..92abe2a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,14 +2,22 @@ pipeline { agent any stages { - stage('Stage 1') { + stage('Git') { steps { git( url: "https://git.wmi.amu.edu.pl/s495719/ium_495719.git", branch: "main" ) + } + } + stage('Shell') { + steps { sh 'chmod 777 ./data_processing.sh' sh './data_processing.sh' + } + } + stage('Artifacts') { + steps { archiveArtifacts artifacts: 'processed_data.txt' } }