generate and run planemo testing on separate user
Some checks reported errors
autoBIGS.galaxy/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
Harrison Deng 2025-02-22 16:45:33 +00:00
parent 72f7af1879
commit d2dfbb9464

6
Jenkinsfile vendored
View File

@ -10,9 +10,11 @@ pipeline {
stages { stages {
stage ("install") { stage ("install") {
steps { steps {
sh 'useradd galaxy -m'
sh 'apt update'
sh 'apt install sudo -y'
sh 'pip install -r requirements.txt' sh 'pip install -r requirements.txt'
sh 'pip install standard-imghdr' sh 'pip install standard-imghdr'
sh 'useradd galaxy -m'
} }
} }
stage ("lint") { stage ("lint") {
@ -23,7 +25,7 @@ pipeline {
stage ("test") { stage ("test") {
steps { steps {
sh 'mkdir test_results' 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" 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"
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)]
} }
} }