2021-04-11 19:37:47 +02:00
|
|
|
pipeline {
|
2021-04-11 20:12:36 +02:00
|
|
|
agent {
|
|
|
|
dockerfile true
|
|
|
|
}
|
2021-04-11 19:37:47 +02:00
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
// Get some code from a GitHub repository
|
|
|
|
git 'https://git.wmi.amu.edu.pl/s434749/ium_434749.git'
|
|
|
|
|
|
|
|
sh 'ls'
|
|
|
|
sh 'ls ..'
|
|
|
|
sh 'python3 create_dataset.py'
|
|
|
|
|
|
|
|
// To run Maven on a Windows agent, use
|
|
|
|
// bat "mvn -Dmaven.test.failure.ignore=true clean package"
|
|
|
|
}
|
|
|
|
|
|
|
|
post {
|
|
|
|
// If Maven was able to run the tests, even if some of the test
|
|
|
|
// failed, record the test results and archive the jar file.
|
|
|
|
success {
|
|
|
|
archiveArtifacts 'in_alphabet,out_alphabet,preprocessed.tsv'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|