问题标签 [udeploy]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
445 浏览

maven - Nexus - 使用 Maven 和 uDeploy 获取多模块项目中的所有模块

我有一个多模块 Java Maven 项目。该项目存储在 Nexus 中。我正在尝试使用 uDeploy 来获取与父 POM 关联的所有工件并部署到目标服务器。

UDeploy 允许配置可以与 Nexus 工件进行 1:1 映射的组件。我不想为我的每个项目工件创建单独的组件,而是简单地使用项目父 POM 的工件 ID 并使用它来拉入所有依赖项。

为了做到这一点,我需要知道是否可以通过简单地使用父 pom 从 Nexus 获取所有多模块项目模块?

也许有人有更好的方法来做到这一点?

0 投票
1 回答
73 浏览

udeploy - uDeploy 审计日志的位置在哪里

我正在尝试在 uDeploy 中查找审核日志,但我能找到的只是更改。有人能指出我在哪里可以找到审计日志吗?我一直在寻找审计选项卡或生成审计日志的链接,但找不到任何信息。

谢谢

0 投票
2 回答
433 浏览

jenkins - 如何通过 MSDeploy 创建增量包

我正在使用 uDeploy 和 MSDeploy 自动化 Web 部署过程。我通过 MSBuild 创建包,然后使用 uDeploy 和 MSDeploy 部署它。

每次我创建包时,它都会将所有文件复制到创建的包中,有没有办法只创建包含更改文件的包。我已经在 J​​enkins 中集成了 TFS,我单击构建它只会在我的工作空间中获取更改的文件并创建包。

Msdeploy 命令如下

下面给出了 msbuild 参数

0 投票
1 回答
193 浏览

git - 标记部署版本

0 投票
1 回答
89 浏览

windows - 安装一个带有 servicename 的 jar

我必须开始,停止流中的 jar 1。如果它已经在运行,我必须停止它,然后再启动 2。所有这些都在 Udeploy 中进行。3. 我正在使用以下命令安装 jar。java -jar jarname.jar

当我使用 sc query servicename 时,它​​说该服务未作为 Windows 服务安装。所以,如果它只是一个 Windows 服务,我可以检查、停止和启动。

如何将其安装为具有服务名称的 Windows 服务来识别?

0 投票
1 回答
185 浏览

windows-installer - uDeploy process executes in isolation but not when grouped with other processes...

I'm currently working on the setup of uDeploy for one of our web applications.

For our Development environment, I have established an Install component with associated Deploy process. The Deploy process in turn consists of three processes: Uninstall, Install & Copy web.config as shown below:

enter image description here

I am experiencing some unexpected issues when attempting to execute the Deploy process...

If the application MSI is already installed on the target server, the Uninstall process executes successfully as expected; the uDeploy process log screen shows the successful execution, as does a visit to the now empty application folder on the target server.

However, when the Deploy process progresses to the Install stage, nothing happens - the Install process does not execute, showing "Already Installed" status, despite the successful Uninstall process completed previously (see below), before progressing onto and successfully executing the web.config copy process.

The end result is an application folder on the server containing nothing but the web.config.

enter image description here

To recap: each of the three (sub)processes in the Deploy process function correctly and as expected when executed in isolation; when these processes are chained together, the Install process will not execute, indication a status of "Already Installed" despite recently completed Uninstall process execution.

Has anyone else who's worked with uDeploy experienced similar issues?

What was the cause of the problem?

How was it resolved?

Any insights would be greatly appreciated; thanks for looking.

0 投票
1 回答
327 浏览

deployment - uDeploy 不包括所有子文件夹(通配符不起作用)

在我的 uDeploy 过程中,我创建了 .zip 文件步骤。下载工件后,我希望 uDeploy 压缩基本目录下的所有文件。

基本目录结构:

为 **/* 设置了包含选项,我假设此通配符应包含要归档的所有子目录 (.zip)

但是在我运行该过程之后,我收到以下警告:

我错过了什么吗?

0 投票
1 回答
125 浏览

jenkins - Jenkins uDeploy 失败

在从 jenkins 创建构建的 tar 之后,我正在尝试使用 uDeploy 将 tar 移动到主服务器。但即使在使用正确的应用程序名称、环境和进程名称后,我也会收到以下错误。我无法进一步调试。

请在图像中找到 uDeploy 设置和日志。

uDeploy Jenkins 设置: 在此处输入图像描述

控制台中的错误: 在此处输入图像描述

0 投票
1 回答
195 浏览

udeploy - udeploy - 环境设置

我正在学习 uDeploy 并尝试部署测试版本(通过引用简单的 HelloWorld 应用程序)

  1. 创建组件、组件进程和应用程序作为下载工件到 c:\UAT_1_Rel(例如 Environmwnt-1)(源配置类型为文件系统)。

    提供样本数据为 T1.txt 和 T2.txt 并成功部署(即在 Environmwnt-1 中)

  2. 现在需要将这两个文件部署到 c:\UAT_2_Rel 中(即在 Environmwnt-2 中)

    为此需要创建另一个组件或任何其他方式(即想知道如何使用单个组件部署到多个环境)

    请帮助移动下一步。非常感谢您的帮助。

笔记:

已经完成的设置如下

名称:CompUAT1 源配置类型:文件系统基本路径:c:\SrcArt_1_Rel 目标目录:c:\UAT_1_Rel

资源:TestReso 代理:PTest1

环境:EnvUAT-1

并通过添加基础资源完成所需的设置

在应用程序设计中作为安装组件和添加组件(CompUAT1)

0 投票
1 回答
642 浏览

jenkins - Jenkins 2 管道部署到 udeploy

我正在创建一个 CI/CD 管道。我正在尝试创建一个 groovy 函数,以便将构建部署到 udeploy。

我知道我需要将用于函数的参数传递给函数,例如:udeployServer、组件、artifactDirectory、版本、deployApplication、环境和deployProcess。

我想知道有没有人试图实现这个,或者有没有人知道我应该如何处理这个?

谢谢