簡體   English   中英

從jenkins部署到jboss EAP 6.4

[英]Deploy in to jboss EAP 6.4 from jenkins

我想從jenkins部署到jboss eap。我配置了一個工作,使用存儲庫連接器插件將工件從nexus存儲庫中拉到工作區中。我想從jenkins部署到jboss EAP中。實現嗎?

我認為一種方法可能是使用jboss-as-maven-plugin。我有什么辦法可以告訴jboss-as-maven-plugin從工作區位置發動戰爭嗎?

還有其他選擇嗎?

您可以按如下方式配置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