Split stage
This commit is contained in:
parent
139f837138
commit
392ef5c6c3
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user