简体   繁体   English

如何在每个作业中从 config-file-provider 插件设置 Jenkins 配置(默认)

[英]How can I set Jenkins configuration from config-file-provider plugin in every job (per default)

In our company, we have a project using a very old jenkins installation (1.658) with a very old version of the config-file-provider plugin.在我们公司,我们有一个项目使用非常旧的 jenkins 安装(1.658)和非常旧版本的 config-file-provider 插件。 I am currently migrating this to a new jenkins instance, using jenkins 2.203 and config-file-provider 3.6.2 version.我目前正在使用 jenkins 2.203 和 config-file-provider 3.6.2 版本将此迁移到新的 jenkins 实例。

It works well, but one of my users is complaining, that he must select the jenkins settings.xml and global config in every single jenkins project under "Build -> Advanced -> settings file / global settings file". It works well, but one of my users is complaining, that he must select the jenkins settings.xml and global config in every single jenkins project under "Build -> Advanced -> settings file / global settings file".

With the old versions, he was able to select this once under "Configure jenkins -> configure system -> Maven Configuration" globally for the wohle jenkins instance and the selection was then added to every new project by default. With the old versions, he was able to select this once under "Configure jenkins -> configure system -> Maven Configuration" globally for the wohle jenkins instance and the selection was then added to every new project by default. But this seems to be disappeared in the new versions of jenkins and/or the plugin.但这似乎在 jenkins 和/或插件的新版本中消失了。

Can someone tell me, if I am doing something wrong or if the possibility to select the maven settings globally for all projects is really gone (and if it is really gone, why one would disable this feature)?有人可以告诉我,如果我做错了什么,或者 select 的可能性,所有项目的全局 maven 设置真的消失了(如果真的消失了,为什么要禁用此功能)?

I found it.我找到了。 It has been moved to "Manage Jenkins -> Configure Tools".它已移至“管理 Jenkins -> 配置工具”。 Just in case anyone needs this info sometimes.以防万一有人有时需要这些信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Jenkins 配置文件提供程序插件如何工作? - How does the Jenkins config file provider plugin work? 问:我可以通过Maven插件触发Jenkins作业吗? - Q: Can I trigger a Jenkins job from a Maven plugin? 如何在Jenkins全局设置每个作业的JVM选项? - How to set a JVM option in Jenkins globally for every job? 我怎么能告诉jenkins我确实想要maven工作的完整错误跟踪? - How can I tell jenkins I do want the full error trace from a maven job? 如何停止默认插件执行? - How can I stop a default plugin execution? 如何配置Maven,以便Maven exec插件可以访问“ src /”外部目录中的配置文件 - How do I configure maven so that the maven exec plugin can access a config file in a directory outside 'src/' 如何从groovy Postbuild插件访问Jenkins构建工件? - How can I access Jenkins build artifacts from the groovy Postbuild plugin? 我可以在 jar 文件中设置新的 config.properties 文件吗? - Can i set new config.properties file in jar file? 如何使用Artifactory插件和Credentials插件将Jenven的Maven工件部署到Artifactory时解决401失败? - How can I resolve a 401 failure when deploying a Maven artifact from Jenkins to Artifactory using the Artifactory Plugin and the Credentials Plugin? 如何在Jenkins上配置Maven构建作业以告诉SonarQube构建作业的URL? - How can I configure Maven build job on Jenkins to tell SonarQube the build job's URL?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM