我想从jenkins.I部署到jboss eap。我已经配置了一个作业,它使用存储库连接器插件将工件从nexus库拉到工作区。我想从jenkins.Is部署到jboss EAP,有什么方法可以获得它吗?
我认为一种方法是使用jboss-as-maven-plugin,有没有什么方法可以让jboss-as-maven-plugin从工作空间位置接管这场战争?
有没有其他可用的选项?
发布于 2018-01-17 00:55:49
你可以像这样配置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>
https://stackoverflow.com/questions/48290999
复制相似问题