Split stage

This commit is contained in:
PawelDopierala 2024-03-27 01:48:16 +01:00
parent 139f837138
commit 392ef5c6c3

10
Jenkinsfile vendored
View File

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