autoBIGS.galaxy/Jenkinsfile
Harrison Deng 52bd3ac07d
Some checks are pending
autoBIGS.galaxy/pipeline/head Build queued...
Added a second test
2025-02-21 22:14:07 +00:00

31 lines
962 B
Groovy

pipeline {
agent {
kubernetes {
cloud 'rsys-devel'
defaultContainer 'rootless-pip'
inheritFrom 'pip'
}
}
stages {
stage ("install") {
steps {
sh 'pip install -r requirements.txt'
sh 'pip install standard-imghdr'
sh 'useradd galaxy -m'
}
}
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)]
}
}
}
}