当前位置:网站首页>Introduction and examples of parameters in Jenkins parametric construction
Introduction and examples of parameters in Jenkins parametric construction
2022-07-29 04:15:00 【Hard working primary school brother】
Jenkins In the process of parametric construction , Introduction and examples of various parameters
Roll call one by one , Hope to supplement and correct , The whole is as follows
One 、 Boolean parameters
Boolean parameters , The corresponding is Boolean result , That is to say 1 And 0;True or False ; Corresponding 【 To configure 】 as well as 【Build with Parameters】 The display of when is as follows
Two 、 Option parameters
Option parameters , That is, the user selects from the list of configured options , Choose one of the options , As assignment , give an example :Color -> Red / Blue, Then you can only choose one of two .
Corresponding 【 To configure 】 as well as 【Build with Parameters】 The display of when is as follows
3、 ... and 、 Credential parameters
Credential parameters , Do not directly disclose credentials , But open credentials ID, Used to set the credentials required by users to perform certain operations , Such as visit git When pulling code , Need git Platform credentials .
Four 、 File parameters
File parameters , Accept a file from the browser form submission ( It means to choose the file to upload after clicking ), As a build parameter . The uploaded file will be placed in the specified location in the workspace , You can access and use it in the build task .
5、 ... and 、JDK Parameters
JDK Parameters , For different job Specify different versions of jdk, Make the environment run , You can use the corresponding jdk Run
6、 ... and 、Jira Issue Parameter
Jira_Issue_Parameter Parameters , And Jira Call... When associating , A series of configuration authentication is required , So there is no introduction here , Self search “jenkins And jira Integrate ”
7、 ... and 、Jira release version Parameter
Jira release version Parameter Parameters ,Jira Release version as input step parameter , And six categories are , And Jira Call... When associating . No introduction
8、 ... and 、List Subversion tags(and more)
List Subversion tags Parameters ,SVN(Subversion) Version control system ( one-item svn There will be trunk,branches,tags Three folders ), The function here is to add SVN Tags Options . Know for yourself , Welcome to add .
Nine 、 Text parameters
Text parameters , Simply speaking , Is to assign a text , It can be multi line content , Such as Text :Text_Parameter Content aaa 123 456, then echo $Text_Parameter , The result is aaa 123 456
Ten 、 Password parameters
Password parameters , Considering the safety factor , The type of password that needs to be passed as a parameter , It's a password style string
11、 ... and 、 Runtime parameters (Run Parameter)
Runtime parameters , Define an operating parameter , Users can choose a certain project ( Run project name ). Website url The address will be exposed as an environment variable ( assignment ) Give parameters , use echo See , Here's the picture
Twelve 、 Character parameters (String Parameter)
Character parameters , Simply put, it is a pure string parameter , Simple text variables , User input string , It can be used during construction .
边栏推荐
- Problems encountered in vscode connection SSH
- Pat a1069/b1019 the black hole of numbers
- Why do I delete the original record (OP d) and then add a new one in Kafka when I update MySQL data
- Database SQL statement realizes function query of data decomposition
- The table of antd hides the pager when there is only one page
- Machine vision Series 2: vs DLL debugging
- 不会就坚持61天吧 最短的单词编码
- When defining an array, the size must be constant
- Codeforces Round #810 (Div. 2) D. Rain (线段树差分)
- 你真的会写Restful API吗?
猜你喜欢
Jenkins 参数化构建中 各参数介绍与示例
Blood cases caused by < meta charset=UTF-8> -- Analysis of common character codes
Why are there so many unknowns when opengauss starts?
AssertionError(“Torch not compiled with CUDA enabled“)
Common components of solder pad (2021.4.6)
Deep learning training strategy -- warming up the learning rate
[paper translation] vectornet: encoding HD maps and agent dynamics from vectorized representation
不会就坚持66天吧 权重生成随机数
11.备份交换机
Machine vision series 3:vs2019 opencv environment configuration
随机推荐
店铺排名问题,如何解决?
Machine vision series 3:vs2019 opencv environment configuration
Rhel8 patch package production
C语言:浅谈各种复杂的声明
Model tuning, training model trick
Change the value of the argument by address through malloc and pointer
Asp. Net MVC, how can the controller in the folder jump to the controller in the root directory?
这个报错是什么鬼啊,不影响执行结果,但是在执行sql时一直报错。。。连接maxComputer是使用
When defining an array, the size must be constant
不会就坚持68天吧 狒狒吃香蕉
不会就坚持64天吧 查找插入位置
数据源是SQL server ,我要配置日期字段 updateDate 最后两天日期的增量数据,做增
Semantic segmentation correlation
Function pointer and callback function
Implementation of jump connection of RESNET (pytorch)
大佬们flink的JDBC SQL Connector现在不支持所有的数据库吗,例如vertica?
Lua language (stm32+2g/4g module) and C language (stm32+esp8266) methods of extracting relevant data from strings - collation
The function "postgis_version" cannot be found when installing PostGIS
[hands on deep learning] environment configuration (detailed records, starting from the installation of VMware virtual machine)
opengauss预检查安装