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