在AntXML文件中,hudsonenv.properties代表什么?
我是ANT的新手,我有一个XML文件,它有一些我不熟悉的属性在AntXML文件中,hudsonenv.properties代表什么?,xml,ant,build,jenkins,clearcase,Xml,Ant,Build,Jenkins,Clearcase,我是ANT的新手,我有一个XML文件,它有一些我不熟悉的属性 <property file="${env.CLEARCASE_VIEWPATH}/${vobtag}/${sub.vob.component}/hudsonenv.properties"/> <property name="filePath" value="/${env.CLEARCASE_VIEWPATH}/${vobtag}/${sub.vob.component}/hudsonenv.properties"/
<property file="${env.CLEARCASE_VIEWPATH}/${vobtag}/${sub.vob.component}/hudsonenv.properties"/>
<property name="filePath" value="/${env.CLEARCASE_VIEWPATH}/${vobtag}/${sub.vob.component}/hudsonenv.properties"/>
<echo>File Path: ${filePath}</echo>
如果有人能帮我解决这个问题,我将不胜感激。据我所知,没有名为“hudsonenv.properties”的文件。它必须是某个人创建的自定义文件。使用属性文件指定属性名称及其对应的值是一种很好的做法。希望XML文件中有一个名为“property file”的字符串。比如:
<property file="build.properties"/>
如果它在那里,那么检查这个文件,您可能会发现在echo
语句中打印的路径中设置了“hudsonenv.properties”
值是多少,或者哪个目录是hudsonenv.properties
它位于clearcase视图/vob/a组件/
:hudsonenv.properties
这意味着,根据Jenkins/Hudson视图使用的配置规范,您可以在配置为加载(快照)或装载(动态)相同vob的视图中访问相同的文件
<property file="build.properties"/>