30 lines
722 B
Groovy
30 lines
722 B
Groovy
pipeline {
|
|
agent {
|
|
dockerfile true
|
|
}
|
|
stages {
|
|
stage('checkout: Check out from version control') {
|
|
steps {
|
|
git 'https://git.wmi.amu.edu.pl/s434700/ium_s434700.git'
|
|
}
|
|
}
|
|
stage('sh: Shell Script') {
|
|
steps {
|
|
sh 'chmod +x ./data/data.sh'
|
|
sh './data/data.sh'
|
|
}
|
|
}
|
|
stage('archiveArtifacts') {
|
|
steps {
|
|
archiveArtifacts 'train_set.csv'
|
|
archiveArtifacts 'dev_set.csv'
|
|
archiveArtifacts 'test_set.csv'
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
success {
|
|
build job: 's434700-training'
|
|
}
|
|
}
|
|
} |