提交 4a2438c2 编写于 作者: L liuyq-617

(full)test

上级 d73be1bc
......@@ -55,10 +55,10 @@ def pre_test(){
git checkout master
'''
}
else if(env.CHANGE_TARGET == '2.4'){
else if(env.CHANGE_TARGET == '2.0'){
sh '''
cd ${WKC}
git checkout 2.4
git checkout 2.0
'''
}
else{
......@@ -87,10 +87,10 @@ def pre_test(){
git checkout master
'''
}
else if(env.CHANGE_TARGET == '2.4'){
else if(env.CHANGE_TARGET == '2.0'){
sh '''
cd ${WK}
git checkout 2.4
git checkout 2.0
'''
}
else{
......@@ -130,10 +130,10 @@ def pre_test_noinstall(){
git checkout master
'''
}
else if(env.CHANGE_TARGET == '2.4'){
else if(env.CHANGE_TARGET == '2.0'){
sh '''
cd ${WKC}
git checkout 2.4
git checkout 2.0
'''
}
else{
......@@ -162,10 +162,10 @@ def pre_test_noinstall(){
git checkout master
'''
}
else if(env.CHANGE_TARGET == '2.4'){
else if(env.CHANGE_TARGET == '2.0'){
sh '''
cd ${WK}
git checkout 2.4
git checkout 2.0
'''
}
else{
......@@ -202,10 +202,10 @@ def pre_test_mac(){
git checkout master
'''
}
else if(env.CHANGE_TARGET == '2.4'){
else if(env.CHANGE_TARGET == '2.0'){
sh '''
cd ${WKC}
git checkout 2.4
git checkout 2.0
'''
}
else{
......@@ -234,10 +234,10 @@ def pre_test_mac(){
git checkout master
'''
}
else if(env.CHANGE_TARGET == '2.4'){
else if(env.CHANGE_TARGET == '2.0'){
sh '''
cd ${WK}
git checkout 2.4
git checkout 2.0
'''
}
else{
......@@ -280,10 +280,10 @@ def pre_test_win(){
git checkout master
'''
}
else if(env.CHANGE_TARGET == '2.4'){
else if(env.CHANGE_TARGET == '2.0'){
bat '''
cd C:\\workspace\\TDinternal\\community
git checkout 2.4
git checkout 2.0
'''
}
else{
......@@ -311,10 +311,10 @@ def pre_test_win(){
git checkout master
'''
}
else if(env.CHANGE_TARGET == '2.4'){
else if(env.CHANGE_TARGET == '2.0'){
bat '''
cd C:\\workspace\\TDinternal
git checkout 2.4
git checkout 2.0
'''
}
else{
......@@ -494,8 +494,6 @@ pipeline {
steps {
pre_test()
timeout(time: 100, unit: 'MINUTES'){
script{
scope.each {
sh """
date
cd ${WKC}/tests
......@@ -504,15 +502,11 @@ pipeline {
}
}
}
}
}
stage('sim_2') {
agent{label " slave7 || slave17 "}
steps {
pre_test()
timeout(time: 100, unit: 'MINUTES'){
script{
scope.each {
sh """
date
cd ${WKC}/tests
......@@ -521,15 +515,11 @@ pipeline {
}
}
}
}
}
stage('sim_3') {
agent{label " slave8 || slave18 "}
steps {
timeout(time: 105, unit: 'MINUTES'){
pre_test()
script{
scope.each {
sh """
date
cd ${WKC}/tests
......@@ -538,15 +528,11 @@ pipeline {
}
}
}
}
}
stage('sim_4') {
agent{label " slave9 || slave19 "}
steps {
timeout(time: 100, unit: 'MINUTES'){
pre_test()
script{
scope.each {
sh """
date
cd ${WKC}/tests
......@@ -556,8 +542,6 @@ pipeline {
}
}
}
}
stage('other') {
agent{label " slave10 || slave20 "}
steps {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册