提交 48c1dcb4 编写于 作者: L liuyq-617

change

上级 6555dcf4
...@@ -33,8 +33,11 @@ def abort_previous(){ ...@@ -33,8 +33,11 @@ def abort_previous(){
milestone(buildNumber) milestone(buildNumber)
} }
def pre_test(){ def pre_test(){
abort_previous() script{
abortPreviousBuilds() abort_previous()
abortPreviousBuilds()
}
sh ''' sh '''
sudo rmtaos || echo "taosd has not installed" sudo rmtaos || echo "taosd has not installed"
''' '''
...@@ -81,6 +84,10 @@ pipeline { ...@@ -81,6 +84,10 @@ pipeline {
changeRequest() changeRequest()
} }
steps { steps {
script{
abort_previous()
abortPreviousBuilds()
}
sh''' sh'''
cp -r ${WORKSPACE} ${WORKSPACE}.tes cp -r ${WORKSPACE} ${WORKSPACE}.tes
cd ${WORKSPACE}.tes cd ${WORKSPACE}.tes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册