从jenkins部署到jboss EAP 6.4 [英] Deploy in to jboss EAP 6.4 from jenkins

查看:221
本文介绍了从jenkins部署到jboss EAP 6.4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从jenkins部署到jboss eap.我配置了一个作业,使用存储库连接器插件将工件从nexus仓库中拉到工作区中.我想从jenkins部署到jboss EAP中.我能做到吗?

I wanted to deploy in to jboss eap from jenkins.I have configured a job which pulls the artifact from nexus repository in to workspace using repository connector plugin.I wanted to do the deployment in to jboss EAP from jenkins.Is there any way i can acheive it?

我认为一种方法可能是使用jboss-as-maven-plugin.我有什么办法可以告诉jboss-as-maven-plugin从工作区转移战争?

I think one way could be to use the jboss-as-maven-plugin.is there any way i could tell jboss-as-maven-plugin to take the war from workspace location?

还有其他选择吗?

推荐答案

您可以将maven插件配置为:

You can configure maven plugin like as:

<plugin>
<groupId>org.jboss.as.plugins</groupId>
<artifactId>jboss-as-maven-plugin</artifactId>
<version>7.9.Final</version>
<configuration>
    <execute-commands>
        <commands>
            <command>deploy target/core-services.war</command>
    </execute-commands>
     <hostname>localhost</hostname>
     <username>{your username}</username>
     <password>{your passwprd}</password>
</configuration>
</plugin>

这篇关于从jenkins部署到jboss EAP 6.4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆