摆脱 Jenkins 和 Hudson Manifest 条目
我得到的内容看起来像 MANIFEST.MF 中的文件
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: operations
Build-Jdk: 1.6.0_24
Hudson-Build-Number: 158
Hudson-Project: my-dev
Hudson-Version: 1.421
Implementation-Build: rev 29299
Implementation-Version: 1.0-158
Jenkins-Build-Number: 158
Jenkins-Project: console-dev
Jenkins-Version: 1.421
Specification-Title: My Webapp
Specification-Vendor: nameit
Specification-Version: 1.0-SNAPSHOT
,但我不希望注入以下文件,或者我不确定从哪里注入该文件,我的 pom xml 文件具有 maven-war 插件,其中提到了上述参数,但不包括下面的内容条目。
Hudson-Build-Number: 158
Hudson-Project: my-dev
Hudson-Version: 1.421
Implementation-Version: 1.0-158
Jenkins-Build-Number: 158
Jenkins-Project: console-dev
I am getting below look like file in the MANIFEST.MF
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: operations
Build-Jdk: 1.6.0_24
Hudson-Build-Number: 158
Hudson-Project: my-dev
Hudson-Version: 1.421
Implementation-Build: rev 29299
Implementation-Version: 1.0-158
Jenkins-Build-Number: 158
Jenkins-Project: console-dev
Jenkins-Version: 1.421
Specification-Title: My Webapp
Specification-Vendor: nameit
Specification-Version: 1.0-SNAPSHOT
But I do not want below files to be injected, or I am not sure from where is this getting injected, my pom xml file has maven-war plugin with above argument mentioned excluding below entries.
Hudson-Build-Number: 158
Hudson-Project: my-dev
Hudson-Version: 1.421
Implementation-Version: 1.0-158
Jenkins-Build-Number: 158
Jenkins-Project: console-dev
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试升级到最新版本的詹金斯。我没有看到版本 1.441 的这些清单条目。显然我希望詹金斯自动填充这些条目。因此,如果有人能找到一种方法来恢复它,那就太好了。
Try upgrading to the latest version of jenkins. I am not seeing these manifest entries with version 1.441. Apparently I would like to have these entries auto populated by Jenkins. So if anyone can figure out a way to get that back in, it would be great.