提交 0c7ff51a 编写于 作者: L liuyq-617

update jenkins

上级 18373ba2
...@@ -441,13 +441,15 @@ pipeline { ...@@ -441,13 +441,15 @@ pipeline {
} }
} }
} }
stage('win') {
stage('build') stage('build'){
agent{label " crashgen "} agent{label " crashgen "}
steps { steps {
pre_test() pre_test()
sleep 600
} }
stage('test') }
stage('test'){
agent{label "win"} agent{label "win"}
steps{ steps{
pre_test_win() pre_test_win()
...@@ -456,7 +458,9 @@ pipeline { ...@@ -456,7 +458,9 @@ pipeline {
test-all.bat CrashGen test-all.bat CrashGen
''' '''
} }
} }
} }
} }
} }
......
...@@ -129,7 +129,7 @@ if __name__ == "__main__": ...@@ -129,7 +129,7 @@ if __name__ == "__main__":
td_clinet = TDSimClient("C:\\TDengine") td_clinet = TDSimClient("C:\\TDengine")
td_clinet.deploy() td_clinet.deploy()
remote_conn = Connection("root@%s"%host) remote_conn = Connection("root@%s"%host)
with remote_conn.cd('/root/TDinternal/community/tests/pytest'): with remote_conn.cd('/var/lib/jenkins/workspace/TDinternal/community/tests/pytest'):
remote_conn.run("python3 ./test.py") remote_conn.run("python3 ./test.py")
conn = taos.connect( conn = taos.connect(
host="%s"%(host), host="%s"%(host),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册