简体   繁体   中英

Jenkins - Passing parameter to other job without triggering it for freestyle project

I am trying to pass a parameter to another job. But after selecting "Trigger parameterized build on other projects". It auto triggering that downstream job. But I need that job to be triggered by me and the only parameter needs to be pass.

Can someone help me here, please? thanks in advance.

Hope you are passing predefined parameters in your upstream project.

Under Post build actions:- Add Parameter > Predefined Parameters in reference to your downstream project.

Now Building your upstream project will automatically trigger your downstream project, with the parameter you are passing from the upstream project.

Step by step VIDEO

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM