Changed all commands to be run by the galaxy user
Some checks failed
autoBIGS.galaxy/pipeline/head There was a failure building this commit

This commit is contained in:
Harrison Deng 2025-02-24 15:28:31 +00:00
parent 40f49a48ac
commit bb1a7dfe38

10
Jenkinsfile vendored
View File

@ -11,15 +11,15 @@ pipeline {
stage ("install") {
steps {
sh 'useradd galaxy -m'
sh 'apt update'
sh 'apt install sudo -y'
sh 'pip install -r requirements.txt'
sh 'pip install standard-imghdr'
sh 'apt-get update'
sh 'apt-get install sudo -y'
sh 'sudo -u galaxy pip install -r requirements.txt'
sh 'sudo -u galaxy pip install standard-imghdr'
}
}
stage ("lint") {
steps {
sh "planemo lint autobigs-cli.xml"
sh "sudo -u galaxy planemo lint autobigs-cli.xml"
}
}
stage ("test") {