fix:use dedicate environment python3.9 instead of python3.8
This commit is contained in:
parent
e71df1aca6
commit
8de9876d47
|
@ -407,7 +407,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('linux test') {
|
stage('linux test') {
|
||||||
agent{label " slave1_47 || slave1_48 || slave1_49 || slave1_52 || worker03 || slave215 || slave217 || slave219 "}
|
agent{label " slave219 "}
|
||||||
options { skipDefaultCheckout() }
|
options { skipDefaultCheckout() }
|
||||||
when {
|
when {
|
||||||
changeRequest()
|
changeRequest()
|
||||||
|
|
|
@ -81,7 +81,12 @@ pip3 list|grep taospy
|
||||||
pip3 uninstall taospy -y
|
pip3 uninstall taospy -y
|
||||||
pip3 install taospy==2.7.6
|
pip3 install taospy==2.7.6
|
||||||
|
|
||||||
|
apt install -y python3 python3-dev python3-venv
|
||||||
|
/usr/bin/python3 -m venv /udfenv
|
||||||
|
source /udfenv/bin/activate
|
||||||
pip3 install taospyudf
|
pip3 install taospyudf
|
||||||
|
ldconfig
|
||||||
|
deactivate
|
||||||
|
|
||||||
$TIMEOUT_CMD $cmd
|
$TIMEOUT_CMD $cmd
|
||||||
RET=$?
|
RET=$?
|
||||||
|
|
Loading…
Reference in New Issue