zoukankan      html  css  js  c++  java
  • jenkins高级篇 pipeline系列之-—06 Pipeline Utility Steps

    支持的方法清单如下:

    方法 功能
    compareVersions: Compare two version number strings
    findFiles: Find files in the workspace
    nodesByLabel: List of nodes by Label, by default excludes offline nodes.
    readCSV: Read content from a CSV file in the workspace.
    readJSON: Read JSON from files in the workspace.
    readManifest: Read a Jar Manifest
    readMavenPom: Read a maven project file.
    readProperties: Read properties from files in the workspace or text.
    readYaml: Read yaml from files in the workspace or text.
    sha1: Compute the SHA1 of a given file
    sha256: Compute the SHA256 of a given file
    tee: Tee output to file
    touch: Create a file (if not already exist) in the workspace, and set the timestamp
    unzip: Extract Zip file
    writeCSV: Write content to a CSV file in the workspace.
    writeJSON: Write JSON to a file in the workspace.
    writeMavenPom: Write a maven project file.
    writeYaml: Write a yaml from an object or objects.
    zip: Create Zip file

    注意:要使用上述方法,首先需在Jenkins环境插件管理中,安装Pipeline Utility Steps插件

    Pipeline Utility Steps-1-方法findFiles

    Pipeline Utility Steps-2-方法readJSON和writeJSON

    Pipeline Utility Steps-3-方法readProperties

    Pipeline Utility Steps-4-方法readYaml和writeYaml

    参考资料
    官方

    【Quality】 Quality is the value to someone who matters。做测试,首先要找到这个someone是谁,以及这个 someone重视的 value是什么。
  • 相关阅读:
    再谈H2的MVStore与MVMap
    log4j动态日志级别调整
    wireshark抓文件上传的包的结果记录
    struts2对properties资源的处理
    Spring core resourc层结构体系及JDK与Spring对classpath中资源的获取方式及结果对比
    [工具使用] visualvm 通过jmx不能连接
    oracle 安装 启动listener 建库相关
    vscode
    XSSFWorkbook
    TearmQuery()
  • 原文地址:https://www.cnblogs.com/liuyitan/p/15181161.html
Copyright © 2011-2022 走看看