简体   繁体   English

Maven 发布插件未在 Jenkins 中显示

[英]Maven Release Plugin not showing in Jenkins

I installed Maven Release Plugin for Jenkins and Release plugin for Jenkins Maven Release Plugin Release Plugin I restarted Jenkins many times after installation is done.我安装了 Maven Release Plugin for Jenkins 和 Release plugin for Jenkins Maven Release Plugin Release Plugin安装完成后我重新启动了 Jenkins 很多次。

The problem is in a Maven Project Job, under "Build Environment" section I dont find the Maven Release Item.问题出在 Maven 项目作业中,在“构建环境”部分下,我没有找到 Maven 发布项。

在此处输入图片说明

在此处输入图片说明 Why I cant find the "perform maven release" item?为什么我找不到“执行 Maven 发布”项?

Can you help please?你能帮忙吗?

I guess the reason is that your job is not of type Maven Project.我想原因是你的工作不是 Maven 项目类型。

When creating the project please select the type to be Maven Project:创建项目时请选择类型为Maven Project:

创建 Maven 项目作业

and then you will be able to see "Perform Maven Release" an extra menu option to start your Release Build:然后你将能够看到“Perform Maven Release”一个额外的菜单选项来启动你的发布构建:

执行 Maven 发布

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM