Began Jenkinsfile pipeline writing
Some checks failed
autoBIGS.galaxy/pipeline/head There was a failure building this commit
Some checks failed
autoBIGS.galaxy/pipeline/head There was a failure building this commit
This commit is contained in:
27
Jenkinsfile
vendored
Normal file
27
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
pipeline {
|
||||
agent {
|
||||
kubernetes {
|
||||
cloud 'rsys-devel'
|
||||
defaultContainer 'pip'
|
||||
}
|
||||
}
|
||||
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)]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user