Split stage
This commit is contained in:
parent
139f837138
commit
392ef5c6c3
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -2,14 +2,22 @@ pipeline {
|
|||||||
agent any
|
agent any
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Stage 1') {
|
stage('Git') {
|
||||||
steps {
|
steps {
|
||||||
git(
|
git(
|
||||||
url: "https://git.wmi.amu.edu.pl/s495719/ium_495719.git",
|
url: "https://git.wmi.amu.edu.pl/s495719/ium_495719.git",
|
||||||
branch: "main"
|
branch: "main"
|
||||||
)
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Shell') {
|
||||||
|
steps {
|
||||||
sh 'chmod 777 ./data_processing.sh'
|
sh 'chmod 777 ./data_processing.sh'
|
||||||
sh './data_processing.sh'
|
sh './data_processing.sh'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Artifacts') {
|
||||||
|
steps {
|
||||||
archiveArtifacts artifacts: 'processed_data.txt'
|
archiveArtifacts artifacts: 'processed_data.txt'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user