[英]How to hardcode Jenkins job configuration file
I need to create job in Jenkins. 我需要在詹金斯(Jenkins)工作。 But I don't have the configurations XML with all the plugins information with me.
但是我没有所有插件信息的配置XML。 I want to hard-code the XML.
我想对XML进行硬编码。 Please help me understanding the XML sheet tags.
请帮助我了解XML工作表标签。 And also please help me with a XML sheet having a demo project with few plugins like GIT, Ant, Sonarqube.
另外,请帮我处理一个XML演示文稿,该演示文稿带有一个演示项目,其中包含一些插件,如GIT,Ant,Sonarqube。
TIA. TIA。
In general, there's no documentation for the job config XML , so it is best to proceed as follows: 通常, 没有关于工作配置XML的文档 ,所以最好按以下步骤进行:
In some rare cases, the job configuration is scattered among several XML files (one example that I'm aware of is the Promoted Builds plugin ). 在极少数情况下,作业配置分散在多个XML文件中(我知道的一个示例是Promoted Builds插件 )。 This will require special handling when operating on XML level.
在XML级别上操作时,这将需要特殊处理。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.