Changed to whitespaces
Some checks failed
autoBIGS.galaxy/pipeline/head There was a failure building this commit

This commit is contained in:
Harrison Deng 2025-02-25 15:16:37 +00:00
parent 3320b6fc43
commit ddb98514fb
2 changed files with 88 additions and 90 deletions

16
Jenkinsfile vendored
View File

@ -2,29 +2,27 @@ pipeline {
agent {
kubernetes {
cloud 'rsys-devel'
defaultContainer 'miniforge3'
inheritFrom 'miniforge'
defaultContainer 'pip'
inheritFrom 'pip'
}
}
stages {
stage ("install") {
steps {
sh 'conda env update -n base --file environment.yml'
sh 'useradd galaxy -m'
sh 'apt-get update'
sh 'apt-get install sudo -y'
sh 'pip install -r requirements.txt'
sh 'planemo ci_setup'
}
}
stage ("lint") {
steps {
sh "sudo -u galaxy planemo lint autobigs-cli.xml"
sh "planemo lint autobigs-cli.xml"
}
}
stage ("test") {
steps {
sh 'sudo -u galaxy 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 '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)]
}
}