Jenkins (3) Parametric Construction process
Parameterized build is a way to provide interaction with users by selecting different parameters passed in to perform different tasks, such as selecting different project names and publishing to different environments. Parametric construction is implemented and completed through the Extended Choice Parameter plug-in. The specific installation configuration is as follows:
1. Install the Extended Choice Parameter plug-in. Jenkins-- system Management-plug-in Management-optional plug-ins-Click to install
2. Configuration related parameterized configuration options
3. Related configuration of Extended Choice Parameter plug-in
4. Build and execute.
You can see if the build is complete.
Second, interact through configuration files
1. Configure the corresponding items.
2. Configure the corresponding configuration file on the jenkins server:
Jenkins@cfd461f82683:~$ cat / var/jenkins_home/jenkins.conf abc=test1,test2,test3,test4,test5,master1,master2
3. Execute the build
Just click execute.