2025-02-21 18:31:34 +00:00
pipeline {
agent {
kubernetes {
cloud 'rsys-devel'
defaultContainer 'pip'
2025-02-21 19:04:32 +00:00
inheritFrom 'pip'
2025-02-21 18:31:34 +00:00
}
}
2025-02-21 19:04:32 +00:00
2025-02-21 18:31:34 +00:00
stages {
stage ("install") {
steps {
sh 'pip install -r requirements.txt'
}
}
stage ("lint") {
steps {
sh "planemo lint autobigs-cli.xml"
}
}
stage ("test") {
steps {
sh 'mkdir test_results'
sh "planemo test autobigs-cli.xml --test_output_junit test_results/junit_results.xml --test_output_json test_results/results.json --test_output test_results/human.html"
xunit checksName: '', tools: [JUnit(excludesPattern: '', pattern: 'test_results/junit_report.xml', stopProcessingIfError: true)]
}
}
}
}