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是什么。
  • 相关阅读:
    洛谷P2444 病毒【AC自动机】
    AC自动机
    洛谷试炼场2-5---字符串处理【字符串】
    洛谷试炼场1-5---简单字符串【字符串】
    poj2185 Milking Grid【KMP】
    poj3630 Phone List【Trie树】
    CH1809匹配统计【KMP】
    打包命令
    django_auth模块
    mongodb-Configuration
  • 原文地址:https://www.cnblogs.com/liuyitan/p/15181161.html
Copyright © 2011-2022 走看看