我在Artifacotry Genereic Deploy
构建服务器上使用Bamboo
任务。
有没有办法配置此任务以在任务找到零工件时产生错误0 artifacts where found.
?
从我的日志输出。
27-Feb-2018 11:21:25完成任务'创建artifactorySettings文件',结果为:成功 27-Feb-2018 11:21:26开始'org.jfrog.bamboo.bamboo- artifactory-plugin:artifactoryGenericTask'类型'发布到artifactory'的任务 27-Feb-2018 11:21:26 Bamboo Artifactory Plugin版本:2.3.0 27-Feb-2018 11:21:27对于模式:内置/ * .tgz找到0个文物。
我发现它不会导致错误0 artifacts were found.
当在同一个任务中使用Job configuration
时,我是否可以在任务中添加变量,有些像这样的sudo代码试图获取?
{
"pattern": "/built/${myVar}",
"location": "some/remote/location"
}