Changed all commands to be run by the galaxy user
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
40f49a48ac
commit
bb1a7dfe38
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -11,15 +11,15 @@ pipeline {
|
|||||||
stage ("install") {
|
stage ("install") {
|
||||||
steps {
|
steps {
|
||||||
sh 'useradd galaxy -m'
|
sh 'useradd galaxy -m'
|
||||||
sh 'apt update'
|
sh 'apt-get update'
|
||||||
sh 'apt install sudo -y'
|
sh 'apt-get install sudo -y'
|
||||||
sh 'pip install -r requirements.txt'
|
sh 'sudo -u galaxy pip install -r requirements.txt'
|
||||||
sh 'pip install standard-imghdr'
|
sh 'sudo -u galaxy pip install standard-imghdr'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ("lint") {
|
stage ("lint") {
|
||||||
steps {
|
steps {
|
||||||
sh "planemo lint autobigs-cli.xml"
|
sh "sudo -u galaxy planemo lint autobigs-cli.xml"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ("test") {
|
stage ("test") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user