24 lines
648 B
Groovy
24 lines
648 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Clone repository') {
|
|
steps {
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s464906/ium_464906.git']]])
|
|
}
|
|
}
|
|
stage('Run shell script') {
|
|
steps {
|
|
script {
|
|
sh './scripts/data_processing.sh'
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
archiveArtifacts artifacts: 'results.txt', allowEmptyArchive: true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|