Jenkinsfile 17.5 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
def mod = [0,1,2,3,4]
L
liuyq-617 已提交
11

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

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

L
recover  
liuyq-617 已提交
23 24 25 26 27 28 29 30 31 32 33 34 35 36
    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)
}
37
def pre_test(){
L
liuyq-617 已提交
38
    sh'hostname'
L
liuyq-617 已提交
39 40 41
    sh '''
    sudo rmtaos || echo "taosd has not installed"
    '''
L
liuyq-617 已提交
42
    sh '''
43 44
    kill -9 $(pidof taosd) ||echo "no taosd running"
    kill -9 $(pidof taosadapter) ||echo "no taosadapter running"
L
fix  
liuyq-617 已提交
45
    killall -9 gdb || echo "no gdb running"
L
liuyq-617 已提交
46
    killall -9 python3.8 || echo "no python program running"
47 48
    cd ${WKC}
    git reset --hard HEAD~10 >/dev/null
L
fix  
liuyq-617 已提交
49 50 51
    '''
    script {
      if (env.CHANGE_TARGET == 'master') {
L
fix  
liuyq-617 已提交
52
        sh '''
53 54
        cd ${WKC}
        git checkout master
L
fix  
liuyq-617 已提交
55
        '''
L
fix  
liuyq-617 已提交
56
        }
57
      else if(env.CHANGE_TARGET == '2.0'){
L
fix  
liuyq-617 已提交
58
        sh '''
59 60
        cd ${WKC}
        git checkout 2.0
L
fix  
liuyq-617 已提交
61
        '''
62
      }
63 64
      else{
        sh '''
65 66
        cd ${WKC}
        git checkout develop
67 68
        '''
      }
L
fix  
liuyq-617 已提交
69 70
    }
    sh'''
L
fix  
liuyq-617 已提交
71
    cd ${WKC}
72
    git remote prune origin
73 74
    [ -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 已提交
75
    git fetch origin +refs/pull/${CHANGE_ID}/merge
76
    git checkout -qf FETCH_HEAD
77
    git clean -dfx
78
    git submodule update --init --recursive
79 80
    cd ${WK}
    git reset --hard HEAD~10
L
fix  
liuyq-617 已提交
81
    '''
82 83 84 85 86 87 88 89 90 91 92 93
    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
        '''
94
      }
95 96 97 98 99
      else{
        sh '''
        cd ${WK}
        git checkout develop
        '''
100
      }
101
    }
L
fix  
liuyq-617 已提交
102
    sh '''
103
    cd ${WK}
104 105
    git pull >/dev/null

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

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

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

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

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

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

L
liuyq-617 已提交
549 550 551 552
        stage('build'){
          agent{label " wintest "}
          steps {
            pre_test()
553
            script{
L
liuyq-617 已提交
554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570
                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
                '''
                }
571
            }
L
liuyq-617 已提交
572 573 574 575 576
            script{
              win_stop=1
            }
          }
        }
Y
Yiqing Liu 已提交
577 578
    }
  }
L
liuyq-617 已提交
579
  }
580
  post {
581 582
        success {
            emailext (
583 584
                subject: "PR-result: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' SUCCESS",
                body: """<!DOCTYPE html>
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599
                <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">
600
                                    <li>构建名称>>分支:${env.BRANCH_NAME}</li>
601 602
                                    <li>构建结果:<span style="color:green"> Successful </span></li>
                                    <li>构建编号:${BUILD_NUMBER}</li>
603
                                    <li>触发用户:${env.CHANGE_AUTHOR}</li>
L
fix  
liuyq-617 已提交
604
                                    <li>提交信息:${env.CHANGE_TITLE}</li>
605 606 607 608 609 610 611 612
                                    <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>
613
                </html>""",
L
liuyq-617 已提交
614
                to: "${env.CHANGE_AUTHOR_EMAIL}",
615 616 617 618 619
                from: "support@taosdata.com"
            )
        }
        failure {
            emailext (
620 621
                subject: "PR-result: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' FAIL",
                body: """<!DOCTYPE html>
622 623 624 625 626 627 628 629 630 631 632 633 634 635 636
                <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">
637
                                    <li>构建名称>>分支:${env.BRANCH_NAME}</li>
L
liuyq-617 已提交
638
                                    <li>构建结果:<span style="color:red"> Failure </span></li>
639
                                    <li>构建编号:${BUILD_NUMBER}</li>
640
                                    <li>触发用户:${env.CHANGE_AUTHOR}</li>
L
fix  
liuyq-617 已提交
641
                                    <li>提交信息:${env.CHANGE_TITLE}</li>
642 643 644 645 646 647 648 649
                                    <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>
650
                </html>""",
L
liuyq-617 已提交
651
                to: "${env.CHANGE_AUTHOR_EMAIL}",
652 653 654
                from: "support@taosdata.com"
            )
        }
655
    }
X
xiaolei li 已提交
656
}
L
liuyq-617 已提交
657