Changing pipeline to use pip container instead of homebrew
This commit is contained in:
parent
9b8e448512
commit
b893d853a7
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -2,15 +2,14 @@ pipeline {
|
|||||||
agent {
|
agent {
|
||||||
kubernetes {
|
kubernetes {
|
||||||
cloud 'rsys-devel'
|
cloud 'rsys-devel'
|
||||||
defaultContainer 'homebrew'
|
defaultContainer 'pip'
|
||||||
inheritFrom 'homebrew'
|
inheritFrom 'pip'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage("install") {
|
stage("install") {
|
||||||
steps {
|
steps {
|
||||||
sh 'brew install python@3.11 sphinx-doc'
|
sh 'python -m pip install -r requirements.txt'
|
||||||
sh 'python3.11 -m pip install -r requirements.txt'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("unit tests") {
|
stage("unit tests") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user