Skip to content

Commit e0388ac

Browse files
committed
update Jenkinsfile
1 parent 3189e91 commit e0388ac

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.ci/Jenkinsfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ def envCreate(Map ctxt) {
2828
if (ctxt.isInsideDocker) {
2929
// Alternate implementation because of https://issues.jenkins.io/browse/JENKINS-49076
3030
// Always install latest pre-release
31-
ctxt.shFunction("python -m pip install --upgrade pip")
32-
ctxt.shFunction("pip install ${ctxt.branch.branchInstall} --upgrade")
33-
ctxt.shFunction("pip install meson")
31+
ctxt.shFunction("${binPath}python -m pip install --upgrade pip")
32+
ctxt.shFunction("${binPath}python -m pip uninstall -y conan")
33+
ctxt.shFunction("${binPath}python -m pip install ${ctxt.branch.branchInstall} --upgrade")
34+
ctxt.shFunction("${binPath}python -m pip install meson")
3435
}
3536
else {
3637
ctxt.shFunction("${ctxt.python_host} -m venv $venvDirectory")

0 commit comments

Comments
 (0)