简体   繁体   English

Jenkins 在没有 websphere 部署插件的情况下部署到 webshpere

[英]Jenkins deploy to webshpere without websphere deployment plugin

Is there a way to deploy from jenkins to websphere 8.5 ND without the websphere deployment plugin ?有没有办法在没有 websphere 部署插件的情况下从 jenkins 部署到 websphere 8.5 ND?

Do I need to install websphere on the jenkins server in order to use the wsadmin scripting tool or there is a way I can only install the wsadmin cli ?我是否需要在 jenkins 服务器上安装 websphere 才能使用 wsadmin 脚本工具,或者有一种方法我只能安装 wsadmin cli?

This is a remote deployment.这是远程部署。

Not sure it is still relevant, but you can do it with websphere auto deployment.不确定它是否仍然相关,但您可以通过 websphere 自动部署来实现。 You can find more in the link below: https://studylib.net/doc/18267118/monitored-deployment-auto-deployment您可以在以下链接中找到更多信息: https : //studylib.net/doc/18267118/monitored-deployment-auto-deployment

The flow should look something like this.流程应该是这样的。

Enable monitored directory on Websphere server:在 Websphere 服务器上启用受监控的目录:

在此处输入图片说明

  1. Click Applications > Global deployment settings.单击应用程序 > 全局部署设置。 To enable monitored directory deployment, select Monitor directory to automatically deploy applications.要启用受监控的目录部署,请选择“监控目录”以自动部署应用程序。 Ensure that the directory that you specified for Monitored directory exists.确保您为受监控目录指定的目录存在。 The product does not create the directory for you.该产品不会为您创建目录。 To change the polling interval, specify the number of seconds for Polling interval.要更改轮询间隔,请指定轮询间隔的秒数。
  2. Click Apply.单击应用。
  3. Restart the application server.重启应用服务器。

Result The product sets monitored directory deployment attributes to the values that you specified.结果产品将受监视的目录部署属性设置为您指定的值。

What to do next If you enabled monitored directory deployment, deploy your applications by adding files to a monitored directory.下一步做什么如果您启用了受监控目录部署,请通过将文件添加到受监控目录来部署您的应用程序。

This step is based on your Jenkins application.此步骤基于您的 Jenkins 应用程序。 If your Jenkins instance running on the same server as applications, just copy files after build to the monitored folder.如果您的 Jenkins 实例与应用程序在同一台服务器上运行,只需在构建后将文件复制到受监控的文件夹即可。 If it's not you may use SSH plugins to push files to monitored directory.如果不是,您可以使用 SSH 插件将文件推送到受监控目录。

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

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