Jenkinsfile 17.4 KB
Newer Older
L
liuyq-617 已提交
1
import hudson.model.Result
L
liuyq-617 已提交
2
import hudson.model.*;
L
liuyq-617 已提交
3
import jenkins.model.CauseOfInterruption
4 5 6
node {
}

L
liuyq-617 已提交
7 8 9
def skipbuild = 0
def win_stop = 0
def scope = []
L
liuyq-617 已提交
10

L
recover  
liuyq-617 已提交
11 12 13 14 15
def abortPreviousBuilds() {
  def currentJobName = env.JOB_NAME
  def currentBuildNumber = env.BUILD_NUMBER.toInteger()
  def jobs = Jenkins.instance.getItemByFullName(currentJobName)
  def builds = jobs.getBuilds()
16

L
recover  
liuyq-617 已提交
17 18 19 20
  for (build in builds) {
    if (!build.isBuilding()) {
      continue;
    }
L
liuyq-617 已提交
21

L
recover  
liuyq-617 已提交
22 23 24 25 26 27 28 29 30 31 32 33 34 35
    if (currentBuildNumber == build.getNumber().toInteger()) {
      continue;
    }

    build.doKill()    //doTerm(),doKill(),doTerm()
  }
}
//  abort previous build
abortPreviousBuilds()
def abort_previous(){
  def buildNumber = env.BUILD_NUMBER as int
  if (buildNumber > 1) milestone(buildNumber - 1)
  milestone(buildNumber)
}
36
def pre_test(){
L
liuyq-617 已提交
37
    sh'hostname'
L
liuyq-617 已提交
38 39 40
    sh '''
    sudo rmtaos || echo "taosd has not installed"
    '''
L
liuyq-617 已提交
41
    sh '''
42 43
    kill -9 $(pidof taosd) ||echo "no taosd running"
    kill -9 $(pidof taosadapter) ||echo "no taosadapter running"
L
fix  
liuyq-617 已提交
44
    killall -9 gdb || echo "no gdb running"
L
liuyq-617 已提交
45
    killall -9 python3.8 || echo "no python program running"
46 47
    cd ${WKC}
    git reset --hard HEAD~10 >/dev/null
L
fix  
liuyq-617 已提交
48 49 50
    '''
    script {
      if (env.CHANGE_TARGET == 'master') {
L
fix  
liuyq-617 已提交
51
        sh '''
52 53
        cd ${WKC}
        git checkout master
L
fix  
liuyq-617 已提交
54
        '''
L
fix  
liuyq-617 已提交
55
        }
56
      else if(env.CHANGE_TARGET == '2.0'){
L
fix  
liuyq-617 已提交
57
        sh '''
58 59
        cd ${WKC}
        git checkout 2.0
L
fix  
liuyq-617 已提交
60
        '''
61
      }
62 63
      else{
        sh '''
64 65
        cd ${WKC}
        git checkout develop
66 67
        '''
      }
L
fix  
liuyq-617 已提交
68 69
    }
    sh'''
L
fix  
liuyq-617 已提交
70
    cd ${WKC}
71
    git remote prune origin
72 73
    [ -f src/connector/grafanaplugin/README.md ] && rm -f src/connector/grafanaplugin/README.md > /dev/null || echo "failed to remove grafanaplugin README.md"
    git pull >/dev/null
L
liuyq-617 已提交
74
    git fetch origin +refs/pull/${CHANGE_ID}/merge
75
    git checkout -qf FETCH_HEAD
76
    git clean -dfx
77
    git submodule update --init --recursive
78 79
    cd ${WK}
    git reset --hard HEAD~10
L
fix  
liuyq-617 已提交
80
    '''
81 82 83 84 85 86 87 88 89 90 91 92
    script {
      if (env.CHANGE_TARGET == 'master') {
        sh '''
        cd ${WK}
        git checkout master
        '''
        }
      else if(env.CHANGE_TARGET == '2.0'){
        sh '''
        cd ${WK}
        git checkout 2.0
        '''
93
      }
94 95 96 97 98
      else{
        sh '''
        cd ${WK}
        git checkout develop
        '''
99
      }
100
    }
L
fix  
liuyq-617 已提交
101
    sh '''
102
    cd ${WK}
103 104
    git pull >/dev/null

105 106
    export TZ=Asia/Harbin
    date
107
    git clean -dfx
108 109
    mkdir debug
    cd debug
110
    cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true > /dev/null
111 112 113
    make > /dev/null
    make install > /dev/null
    cd ${WKC}/tests
114
    pip3 install ${WKC}/src/connector/python/
L
update  
liuyq-617 已提交
115 116 117 118 119 120
    '''
    return 1
}
def pre_test_noinstall(){
    sh'hostname'
    sh'''
121 122
    cd ${WKC}
    git reset --hard HEAD~10 >/dev/null
L
update  
liuyq-617 已提交
123 124 125 126
    '''
    script {
      if (env.CHANGE_TARGET == 'master') {
        sh '''
127 128
        cd ${WKC}
        git checkout master
L
update  
liuyq-617 已提交
129 130 131 132
        '''
        }
      else if(env.CHANGE_TARGET == '2.0'){
        sh '''
133 134
        cd ${WKC}
        git checkout 2.0
L
update  
liuyq-617 已提交
135
        '''
136
      }
L
update  
liuyq-617 已提交
137 138
      else{
        sh '''
139 140
        cd ${WKC}
        git checkout develop
L
update  
liuyq-617 已提交
141 142 143 144 145
        '''
      }
    }
    sh'''
    cd ${WKC}
146
    git remote prune origin
147 148
    [ -f src/connector/grafanaplugin/README.md ] && rm -f src/connector/grafanaplugin/README.md > /dev/null || echo "failed to remove grafanaplugin README.md"
    git pull >/dev/null
L
update  
liuyq-617 已提交
149 150
    git fetch origin +refs/pull/${CHANGE_ID}/merge
    git checkout -qf FETCH_HEAD
151
    git clean -dfx
L
update  
liuyq-617 已提交
152
    git submodule update --init --recursive
153 154
    cd ${WK}
    git reset --hard HEAD~10
L
update  
liuyq-617 已提交
155
    '''
156 157 158 159 160 161 162 163 164 165 166 167
    script {
      if (env.CHANGE_TARGET == 'master') {
        sh '''
        cd ${WK}
        git checkout master
        '''
        }
      else if(env.CHANGE_TARGET == '2.0'){
        sh '''
        cd ${WK}
        git checkout 2.0
        '''
168
      }
169 170 171 172 173
      else{
        sh '''
        cd ${WK}
        git checkout develop
        '''
174
      }
175
    }
L
update  
liuyq-617 已提交
176
    sh '''
177
    cd ${WK}
178 179
    git pull >/dev/null

L
update  
liuyq-617 已提交
180 181
    export TZ=Asia/Harbin
    date
182
    git clean -dfx
L
update  
liuyq-617 已提交
183 184
    mkdir debug
    cd debug
185
    cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=false > /dev/null
186
    make
L
liuyq-617 已提交
187
    '''
188 189
    return 1
}
L
liuyq-617 已提交
190 191 192
def pre_test_mac(){
    sh'hostname'
    sh'''
193 194
    cd ${WKC}
    git reset --hard HEAD~10 >/dev/null
L
liuyq-617 已提交
195 196 197 198
    '''
    script {
      if (env.CHANGE_TARGET == 'master') {
        sh '''
199 200
        cd ${WKC}
        git checkout master
L
liuyq-617 已提交
201 202 203 204
        '''
        }
      else if(env.CHANGE_TARGET == '2.0'){
        sh '''
205 206
        cd ${WKC}
        git checkout 2.0
L
liuyq-617 已提交
207
        '''
208
      }
L
liuyq-617 已提交
209 210
      else{
        sh '''
211 212
        cd ${WKC}
        git checkout develop
L
liuyq-617 已提交
213 214 215 216 217
        '''
      }
    }
    sh'''
    cd ${WKC}
218
    git remote prune origin
219 220
    [ -f src/connector/grafanaplugin/README.md ] && rm -f src/connector/grafanaplugin/README.md > /dev/null || echo "failed to remove grafanaplugin README.md"
    git pull >/dev/null
L
liuyq-617 已提交
221 222
    git fetch origin +refs/pull/${CHANGE_ID}/merge
    git checkout -qf FETCH_HEAD
223
    git clean -dfx
L
liuyq-617 已提交
224
    git submodule update --init --recursive
225 226
    cd ${WK}
    git reset --hard HEAD~10
L
liuyq-617 已提交
227
    '''
228 229 230 231 232 233 234 235 236 237 238 239
    script {
      if (env.CHANGE_TARGET == 'master') {
        sh '''
        cd ${WK}
        git checkout master
        '''
        }
      else if(env.CHANGE_TARGET == '2.0'){
        sh '''
        cd ${WK}
        git checkout 2.0
        '''
240
      }
241 242 243 244 245
      else{
        sh '''
        cd ${WK}
        git checkout develop
        '''
246
      }
247
    }
L
liuyq-617 已提交
248
    sh '''
249
    cd ${WK}
250 251
    git pull >/dev/null

L
liuyq-617 已提交
252 253
    export TZ=Asia/Harbin
    date
254
    git clean -dfx
L
liuyq-617 已提交
255 256
    mkdir debug
    cd debug
257
    cmake .. -DBUILD_TOOLS=false > /dev/null
258 259
    go env -w GOPROXY=https://goproxy.cn,direct
    go env -w GO111MODULE=on
L
liuyq-617 已提交
260 261 262 263
    cmake --build .
    '''
    return 1
}
264 265
def pre_test_win(){
    bat '''
L
update  
liuyq-617 已提交
266
    taskkill /f /t /im python.exe
267 268
    cd C:\\
    rd /s /Q C:\\TDengine
269 270 271
    cd C:\\workspace\\TDinternal
    rd /s /Q C:\\workspace\\TDinternal\\debug
    cd C:\\workspace\\TDinternal\\community
272
    git reset --hard HEAD~10
273 274 275 276
    '''
    script {
      if (env.CHANGE_TARGET == 'master') {
        bat '''
277 278
        cd C:\\workspace\\TDinternal\\community
        git checkout master
279 280 281 282
        '''
        }
      else if(env.CHANGE_TARGET == '2.0'){
        bat '''
283 284
        cd C:\\workspace\\TDinternal\\community
        git checkout 2.0
285
        '''
286
      }
287 288
      else{
        bat '''
289 290
        cd C:\\workspace\\TDinternal\\community
        git checkout develop
291 292 293 294 295
        '''
      }
    }
    bat'''
    cd C:\\workspace\\TDinternal\\community
296 297
    git remote prune origin
    git pull
L
liuyq-617 已提交
298
    git fetch origin +refs/pull/%CHANGE_ID%/merge
299
    git checkout -qf FETCH_HEAD
300
    git clean -dfx
301
    git submodule update --init --recursive
302 303
    cd C:\\workspace\\TDinternal
    git reset --hard HEAD~10
304
    '''
305 306 307 308 309 310 311 312 313 314 315 316
    script {
      if (env.CHANGE_TARGET == 'master') {
        bat '''
        cd C:\\workspace\\TDinternal
        git checkout master
        '''
        }
      else if(env.CHANGE_TARGET == '2.0'){
        bat '''
        cd C:\\workspace\\TDinternal
        git checkout 2.0
        '''
317
      }
318 319 320 321 322
      else{
        bat '''
        cd C:\\workspace\\TDinternal
        git checkout develop
        '''
323
      }
324
    }
325 326
    bat '''
    cd C:\\workspace\\TDinternal
327
    git pull
328

329
    date
330
    git clean -dfx
331 332
    mkdir debug
    cd debug
L
liuyq-617 已提交
333
    call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat" amd64
334
    cmake ../ -G "NMake Makefiles"
L
liuyq-617 已提交
335
    set CL=/MP nmake nmake || exit 8
L
update  
liuyq-617 已提交
336
    nmake install || exit 8
L
liuyq-617 已提交
337
    xcopy /e/y/i/f C:\\workspace\\TDinternal\\debug\\build\\lib\\taos.dll C:\\Windows\\System32 || exit 8
338 339
    cd C:\\workspace\\TDinternal\\community\\src\\connector\\python
    python -m pip install .
340

341 342 343
    '''
    return 1
}
Y
Yiqing Liu 已提交
344
pipeline {
L
liuyq-617 已提交
345
  agent none
346
  options { skipDefaultCheckout() }
L
liuyq-617 已提交
347 348 349 350
  environment{
      WK = '/var/lib/jenkins/workspace/TDinternal'
      WKC= '/var/lib/jenkins/workspace/TDinternal/community'
  }
Y
Yiqing Liu 已提交
351
  stages {
L
change  
liuyq-617 已提交
352
      stage('pre_build'){
L
liuyq-617 已提交
353
          agent{label 'catalina'}
354
          options { skipDefaultCheckout() }
L
liuyq-617 已提交
355 356 357
          when {
              changeRequest()
          }
358
          steps {
L
change  
liuyq-617 已提交
359 360 361
            script{
              abort_previous()
              abortPreviousBuilds()
L
liuyq-617 已提交
362
              println env.CHANGE_BRANCH
L
liuyq-617 已提交
363
              if(env.CHANGE_FORK){
364
                scope = ['connector','query','insert','other','tools','taosAdapter']
L
liuyq-617 已提交
365 366 367
              }
              else{
                sh'''
L
liuyq-617 已提交
368 369 370 371
                  cd ${WKC}
                  git fetch
                  git checkout ${CHANGE_BRANCH}
                  git pull
L
liuyq-617 已提交
372
                '''
L
liuyq-617 已提交
373 374 375
                dir('/var/lib/jenkins/workspace/TDinternal/community'){
                  gitlog = sh(script: "git log -1 --pretty=%B ", returnStdout:true)
                  println gitlog
L
liuyq-617 已提交
376
                  if (!(gitlog =~ /\((.*?)\)/)){
L
liuyq-617 已提交
377 378 379
                    autoCancelled = true
                    error('Aborting the build.')
                  }
L
liuyq-617 已提交
380
                  temp = (gitlog =~ /\((.*?)\)/)
L
liuyq-617 已提交
381 382 383
                  temp = temp[0].remove(1)
                  scope = temp.split(",")
                }
384

L
liuyq-617 已提交
385 386
              }
            }    
387 388
          }
      }
L
change  
liuyq-617 已提交
389
      stage('Parallel test stage') {
L
liuyq-617 已提交
390
        //only build pr
391
        options { skipDefaultCheckout() }
L
liuyq-617 已提交
392
        when {
L
liuyq-617 已提交
393
          allOf{
L
liuyq-617 已提交
394
              changeRequest()
395
              not{ expression { env.CHANGE_BRANCH =~ /docs\// }}
L
liuyq-617 已提交
396
            }
L
liuyq-617 已提交
397
          }
Y
Yiqing Liu 已提交
398
      parallel {
L
liuyq-617 已提交
399
        stage('python_1') {
L
liuyq-617 已提交
400
          agent{label " slave1 || slave6 || slave11 || slave16 "}
L
liuyq-617 已提交
401
          steps {
402
            pre_test()
L
liuyq-617 已提交
403
            timeout(time: 55, unit: 'MINUTES'){
L
liuyq-617 已提交
404 405 406 407 408
              script{
                scope.each {
                  sh """
                    date
                    cd ${WKC}/tests
L
liuyq-617 已提交
409
                    ./test-CI.sh ${it} 5 1 
L
liuyq-617 已提交
410 411 412 413
                    date"""
                  }
                }
            }            
L
liuyq-617 已提交
414 415
          }
        }
L
liuyq-617 已提交
416 417
        stage('python_2') {
          agent{label " slave2 || slave7 || slave12 || slave17 "}
L
liuyq-617 已提交
418 419
          steps {
            pre_test()
L
liuyq-617 已提交
420
            timeout(time: 55, unit: 'MINUTES'){
L
liuyq-617 已提交
421 422 423 424 425
                 script{
                  scope.each {
                    sh """
                      date
                      cd ${WKC}/tests
L
liuyq-617 已提交
426
                      ./test-CI.sh ${it} 5 2 
L
liuyq-617 已提交
427 428 429
                      date"""
                    }
                }
L
liuyq-617 已提交
430
            }
L
liuyq-617 已提交
431 432
          }
        }
L
liuyq-617 已提交
433 434
        stage('python_3') {
          agent{label " slave3 || slave8 || slave13 ||slave18 "}
435
          steps {
436
            timeout(time: 105, unit: 'MINUTES'){
L
liuyq-617 已提交
437
              pre_test()
L
liuyq-617 已提交
438 439 440 441 442
              script{
              scope.each {
                sh """
                  date
                  cd ${WKC}/tests
L
liuyq-617 已提交
443
                  ./test-CI.sh ${it} 5 3 
L
liuyq-617 已提交
444 445
                  date"""
                }
446
              }
L
liuyq-617 已提交
447
            }
Y
Yiqing Liu 已提交
448 449
          }
        }
L
liuyq-617 已提交
450 451
        stage('python_4') {
          agent{label " slave4 || slave9 || slave14 || slave19 "}
452 453
          steps {
            timeout(time: 55, unit: 'MINUTES'){
L
liuyq-617 已提交
454
              pre_test()
L
liuyq-617 已提交
455 456 457 458 459
              script{
              scope.each {
                sh """
                  date
                  cd ${WKC}/tests
L
liuyq-617 已提交
460
                  ./test-CI.sh ${it} 5 4 
L
liuyq-617 已提交
461 462 463 464
                  date"""
                }
              }
          
L
liuyq-617 已提交
465 466 467
            }
          }
        }
L
liuyq-617 已提交
468 469
        stage('python_5') {
          agent{label " slave5 || slave10 || slave15 || slave20 "}
470 471
          steps {
            timeout(time: 55, unit: 'MINUTES'){
L
liuyq-617 已提交
472
              pre_test()
L
liuyq-617 已提交
473 474 475 476 477
              script{
              scope.each {
                sh """
                  date
                  cd ${WKC}/tests
L
liuyq-617 已提交
478
                  ./test-CI.sh ${it} 5 0
L
liuyq-617 已提交
479 480 481 482
                  date"""
                }
              }
          
L
liuyq-617 已提交
483 484
            }
          }
485
        }
L
liuyq-617 已提交
486 487
        stage('arm64centos7') {
          agent{label " arm64centos7 "}
488 489
          steps {
              pre_test_noinstall()
L
liuyq-617 已提交
490 491 492 493
            }
        }
        stage('arm64centos8') {
          agent{label " arm64centos8 "}
494 495
          steps {
              pre_test_noinstall()
L
liuyq-617 已提交
496 497 498 499
            }
        }
        stage('arm32bionic') {
          agent{label " arm32bionic "}
500 501
          steps {
              pre_test_noinstall()
L
liuyq-617 已提交
502 503 504 505
            }
        }
        stage('arm64bionic') {
          agent{label " arm64bionic "}
506 507
          steps {
              pre_test_noinstall()
L
liuyq-617 已提交
508 509 510 511
            }
        }
        stage('arm64focal') {
          agent{label " arm64focal "}
512 513
          steps {
              pre_test_noinstall()
L
liuyq-617 已提交
514 515
            }
        }
L
liuyq-617 已提交
516 517
        stage('centos7') {
          agent{label " centos7 "}
518 519
          steps {
              pre_test_noinstall()
L
liuyq-617 已提交
520 521 522 523
            }
        }
        stage('ubuntu:trusty') {
          agent{label " trusty "}
524 525
          steps {
              pre_test_noinstall()
L
liuyq-617 已提交
526 527 528 529
            }
        }
        stage('ubuntu:xenial') {
          agent{label " xenial "}
530 531
          steps {
              pre_test_noinstall()
L
liuyq-617 已提交
532 533 534 535
            }
        }
        stage('ubuntu:bionic') {
          agent{label " bionic "}
536 537
          steps {
              pre_test_noinstall()
L
liuyq-617 已提交
538 539
            }
        }
L
liuyq-617 已提交
540 541
        stage('Mac_build') {
          agent{label " catalina "}
542 543
          steps {
              pre_test_mac()
L
liuyq-617 已提交
544 545
            }
        }
L
liuyq-617 已提交
546

L
liuyq-617 已提交
547 548 549 550
        stage('build'){
          agent{label " wintest "}
          steps {
            pre_test()
551
            script{
L
liuyq-617 已提交
552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568
                while(win_stop == 0){
                  sleep(1)
                  }
              }
            }
        }
        stage('test'){
          agent{label "win"}
          steps{
            catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
                pre_test_win()
                timeout(time: 20, unit: 'MINUTES'){
                bat'''
                cd C:\\workspace\\TDinternal\\community\\tests\\pytest
                .\\test-all.bat wintest
                '''
                }
569
            }
L
liuyq-617 已提交
570 571 572 573 574
            script{
              win_stop=1
            }
          }
        }
Y
Yiqing Liu 已提交
575 576
    }
  }
L
liuyq-617 已提交
577
  }
578
  post {
579 580
        success {
            emailext (
581 582
                subject: "PR-result: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' SUCCESS",
                body: """<!DOCTYPE html>
583 584 585 586 587 588 589 590 591 592 593 594 595 596 597
                <html>
                <head>
                <meta charset="UTF-8">
                </head>
                <body leftmargin="8" marginwidth="0" topmargin="8" marginheight="4" offset="0">
                    <table width="95%" cellpadding="0" cellspacing="0" style="font-size: 16pt; font-family: Tahoma, Arial, Helvetica, sans-serif">
                        <tr>
                            <td><br />
                                <b><font color="#0B610B"><font size="6">构建信息</font></font></b>
                                <hr size="2" width="100%" align="center" /></td>
                        </tr>
                        <tr>
                            <td>
                                <ul>
                                <div style="font-size:18px">
598
                                    <li>构建名称>>分支:${env.BRANCH_NAME}</li>
599 600
                                    <li>构建结果:<span style="color:green"> Successful </span></li>
                                    <li>构建编号:${BUILD_NUMBER}</li>
601
                                    <li>触发用户:${env.CHANGE_AUTHOR}</li>
L
fix  
liuyq-617 已提交
602
                                    <li>提交信息:${env.CHANGE_TITLE}</li>
603 604 605 606 607 608 609 610
                                    <li>构建地址:<a href=${BUILD_URL}>${BUILD_URL}</a></li>
                                    <li>构建日志:<a href=${BUILD_URL}console>${BUILD_URL}console</a></li>
                                </div>
                                </ul>
                            </td>
                        </tr>
                    </table></font>
                </body>
611
                </html>""",
L
liuyq-617 已提交
612
                to: "${env.CHANGE_AUTHOR_EMAIL}",
613 614 615 616 617
                from: "support@taosdata.com"
            )
        }
        failure {
            emailext (
618 619
                subject: "PR-result: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' FAIL",
                body: """<!DOCTYPE html>
620 621 622 623 624 625 626 627 628 629 630 631 632 633 634
                <html>
                <head>
                <meta charset="UTF-8">
                </head>
                <body leftmargin="8" marginwidth="0" topmargin="8" marginheight="4" offset="0">
                    <table width="95%" cellpadding="0" cellspacing="0" style="font-size: 16pt; font-family: Tahoma, Arial, Helvetica, sans-serif">
                        <tr>
                            <td><br />
                                <b><font color="#0B610B"><font size="6">构建信息</font></font></b>
                                <hr size="2" width="100%" align="center" /></td>
                        </tr>
                        <tr>
                            <td>
                                <ul>
                                <div style="font-size:18px">
635
                                    <li>构建名称>>分支:${env.BRANCH_NAME}</li>
L
liuyq-617 已提交
636
                                    <li>构建结果:<span style="color:red"> Failure </span></li>
637
                                    <li>构建编号:${BUILD_NUMBER}</li>
638
                                    <li>触发用户:${env.CHANGE_AUTHOR}</li>
L
fix  
liuyq-617 已提交
639
                                    <li>提交信息:${env.CHANGE_TITLE}</li>
640 641 642 643 644 645 646 647
                                    <li>构建地址:<a href=${BUILD_URL}>${BUILD_URL}</a></li>
                                    <li>构建日志:<a href=${BUILD_URL}console>${BUILD_URL}console</a></li>
                                </div>
                                </ul>
                            </td>
                        </tr>
                    </table></font>
                </body>
648
                </html>""",
L
liuyq-617 已提交
649
                to: "${env.CHANGE_AUTHOR_EMAIL}",
650 651 652
                from: "support@taosdata.com"
            )
        }
653
    }
X
xiaolei li 已提交
654
}
L
liuyq-617 已提交
655