How to trigger Jenkins builds remotely and to pass parameters

前端 未结 7 1546
傲寒
傲寒 2020-11-27 03:05

I am invoking a Jenkins job remotely using:

wget http://:8080/job/Test-Jenkins/build?token=DOIT

Here Test-Jenkins

7条回答
  •  一整个雨季
    2020-11-27 03:16

    See Jenkins documentation: Parameterized Build

    Below is the line you are interested in:

    http://server/job/myjob/buildWithParameters?token=TOKEN&PARAMETER=Value
    

提交回复
热议问题