码迷,mamicode.com
首页 > 其他好文 > 详细

Pipeline build step with parameters

时间:2018-04-06 00:14:02      阅读:279      评论:0      收藏:0      [点我收藏+]

标签:参数   may   build   otherwise   param   blog   type   etl   UI   

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")]

 

Pipeline build step with parameters

标签:参数   may   build   otherwise   param   blog   type   etl   UI   

原文地址:https://www.cnblogs.com/lightsong/p/8724889.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!