如何在部署配置中创建工件依赖项?并为工件制定规则?
How in Deploy configuration to create an artifact dependency? And prescribe a rule for artifacts?
我有两个构建配置:1. Bulid。 2.部署。在 Build pointed folder with artifacts (http://prntscr.com/enws67). And in Deploy the dist folder is taken and moved to the server using rsync (the bash script is already written: http://prntscr.com/enwtzr) 中。
( 当我从相同的构建配置创建构建步骤时,在我需要使用我在命令行中指定的脚本部署站点的步骤中:C:\cygwin64\bin\bash.exe/cygdrive/c/cygwin64/home/Team/Startsync.bash)
想法是在配置中设置规则,生成工件(构建)和使用它们的配置(部署)
因此一种配置可以传输其他文件。
如何在 Deploy 配置中创建工件依赖项?并为工件制定规则?
谢谢!
构建工件的配置,最后下载它们并显示在工件中
在部署配置中,转到编辑配置设置 -> 依赖项 -> 添加新的工件依赖项
取决于:指定构建配置
工件规则:*编写规则
+:一=>。
-: 第二
+:表示将文件夹一下载到文件夹 checkout.directory/
-: - 排除第二个文件夹
= = 指checkout.directory
我有两个构建配置:1. Bulid。 2.部署。在 Build pointed folder with artifacts (http://prntscr.com/enws67). And in Deploy the dist folder is taken and moved to the server using rsync (the bash script is already written: http://prntscr.com/enwtzr) 中。
( 当我从相同的构建配置创建构建步骤时,在我需要使用我在命令行中指定的脚本部署站点的步骤中:C:\cygwin64\bin\bash.exe/cygdrive/c/cygwin64/home/Team/Startsync.bash)
想法是在配置中设置规则,生成工件(构建)和使用它们的配置(部署) 因此一种配置可以传输其他文件。
如何在 Deploy 配置中创建工件依赖项?并为工件制定规则? 谢谢!
构建工件的配置,最后下载它们并显示在工件中
在部署配置中,转到编辑配置设置 -> 依赖项 -> 添加新的工件依赖项
取决于:指定构建配置
工件规则:*编写规则
+:一=>。 -: 第二 +:表示将文件夹一下载到文件夹 checkout.directory/
-: - 排除第二个文件夹
= = 指checkout.directory