zoukankan      html  css  js  c++  java
  • Jenkins Pipeline

    def resp = httpRequest acceptType: 'APPLICATION_JSON', consoleLogResponseBody: true, timeout: 60, contentType: 'APPLICATION_JSON', httpMode: 'POST', requestBody: email_content, url: url, validResponseCodes: '200'
     
    import groovy.json.JsonOutput
    def email_json = readJSON text: '{}'
    email_json['requestedBy'] = "nobody"
    def email_content = JsonOutput.toJson(email_json)
     
    dir(". est"){
      deleteDir()
    }
     
    error("abort the build now")
    fileExists
    fileOperations
    fineFiles
    load:  load groovy file
    lock: lock share rescource
    logstash
    properties: set job properties
    publishHTML
    readProperties
    retry
    sleep
    stash
    timeout
    touch
    unzip
    waitUntil
    writeFile
    writeJSON
    createSummary("graph.gif").appendText("<table></table>")
    catchError
    zip
    ws
     
    来自杭州西溪。主打Linux系统架构、维优、项目外包
  • 相关阅读:
    广搜 BFS()
    最短路-A
    DFS-C
    codeforces contest
    小技巧
    将博客搬至CSDN
    建树
    codeforces gym102411 Equidistant(图论+乱搞)
    codeforces 1250N wires(简单图论)
    Splay 树
  • 原文地址:https://www.cnblogs.com/tinaleft/p/14190011.html
Copyright © 2011-2022 走看看