简体   繁体   中英

How to add options to gitlab job with user interface before running the job?

i would like to run a gitlab job with different parameters. and i like to choose the values before running from a list or an input in user interface and then pass the values to a yaml file.

Is this possible? if yes how to do that?

Thanks.

It's not possible to do this on a job directly. You can run a pipeline manually and define environment variables directly on the UI. Then use these variables in the job. But again, you need to run the entire pipeline, not just one job.

You can find more information on manual pipelines here:

https://docs.gitlab.com/ee/ci/pipelines/#run-a-pipeline-manually

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