简体   繁体   English

从jenkins部署到jboss EAP 6.4

[英]Deploy in to jboss EAP 6.4 from jenkins

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? 我想从jenkins部署到jboss eap。我配置了一个工作,使用存储库连接器插件将工件从nexus存储库中拉到工作区中。我想从jenkins部署到jboss EAP中。实现吗?

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? 我认为一种方法可能是使用jboss-as-maven-plugin。我有什么办法可以告诉jboss-as-maven-plugin从工作区位置发动战争吗?

is there any other option available? 还有其他选择吗?

You can configure maven plugin like as: 您可以按如下方式配置Maven插件:

<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>

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

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