zoukankan      html  css  js  c++  java
  • Pipeline build step with parameters

    build step

    https://jenkins.io/doc/pipeline/steps/pipeline-build-step/#build-build-a-job

    一个任务的执行触发,另外一个任务的执行,以代码的形式。

    build: Build a job

    Triggers a new build for a given job.
      • job
        Name of a downstream job to build. May be another Pipeline job, but more commonly a freestyle or other project. Use a simple name if the job is in the same folder as this upstream Pipeline job; otherwise can use relative paths like ../sister-folder/downstream or absolute paths like /top-level-folder/nested-folder/downstream.
        • Type: String
      • parameters (optional)Array/List
        Nested Choice of Objects
        • booleanParam

    带参数build

    http://cncc.bingj.com/cache.aspx?q=pipeline+build+step+parameters&d=4804322095007877&mkt=en-US&setlang=en-US&w=fn4nvhTzHFKIwO3r_iUrVDTe_qO5yxzP

    uild job: 'jenkins-test-project-build', parameters: [string(name: 'param1', value:"some-value")]

  • 相关阅读:
    iOS8.1 To iOS8.2
    OAuth授权验证说明
    iOS消息推送
    Swift2
    Swift1
    数据结构,每次看都有不一样的体会
    修改CS、IP的指令(学习汇编)
    C,C++中的堆与栈
    12864显示菜单处理编程
    C编程常见的内存错误
  • 原文地址:https://www.cnblogs.com/lightsong/p/8724889.html
Copyright © 2011-2022 走看看