Changed to whitespaces
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:
parent
3320b6fc43
commit
ddb98514fb
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -2,29 +2,27 @@ pipeline {
|
|||||||
agent {
|
agent {
|
||||||
kubernetes {
|
kubernetes {
|
||||||
cloud 'rsys-devel'
|
cloud 'rsys-devel'
|
||||||
defaultContainer 'miniforge3'
|
defaultContainer 'pip'
|
||||||
inheritFrom 'miniforge'
|
inheritFrom 'pip'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage ("install") {
|
stage ("install") {
|
||||||
steps {
|
steps {
|
||||||
sh 'conda env update -n base --file environment.yml'
|
sh 'pip install -r requirements.txt'
|
||||||
sh 'useradd galaxy -m'
|
sh 'planemo ci_setup'
|
||||||
sh 'apt-get update'
|
|
||||||
sh 'apt-get install sudo -y'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ("lint") {
|
stage ("lint") {
|
||||||
steps {
|
steps {
|
||||||
sh "sudo -u galaxy planemo lint autobigs-cli.xml"
|
sh "planemo lint autobigs-cli.xml"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ("test") {
|
stage ("test") {
|
||||||
steps {
|
steps {
|
||||||
sh 'sudo -u galaxy mkdir test_results'
|
sh 'mkdir test_results'
|
||||||
sh "sudo -u galaxy 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"
|
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)]
|
xunit checksName: '', tools: [JUnit(excludesPattern: '', pattern: 'test_results/junit_report.xml', stopProcessingIfError: true)]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user