ium_464906/Jenkinsfile

24 lines
638 B
Plaintext
Raw Normal View History

2024-03-26 20:03:44 +01:00
pipeline {
2024-03-26 20:11:18 +01:00
agent any
stages {
stage('Clone repository') {
steps {
2024-03-26 21:33:27 +01:00
checkout([$class: 'GitSCM', branches: [[name: '*/master']], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s464906/ium_464906.git']]])
2024-03-26 20:11:18 +01:00
}
}
stage('Run shell script') {
steps {
script {
2024-03-26 21:43:32 +01:00
sh 'data_processing.sh'
2024-03-26 20:11:18 +01:00
}
}
post {
always {
archiveArtifacts artifacts: 'results.txt', allowEmptyArchive: true
}
}
}
}
}