简体   繁体   English

Jenkins Pipeline Utility 步骤插件

[英]Jenkins Pipeline Utility steps plugin

I installed pipeline utility plugin in my jenkins in windows system and tried using read properties command as below我在 windows 系统的 jenkins 中安装了管道实用程序插件,并尝试使用如下读取属性命令

        steps {

 script {
    def buildNumberProps = readProperties file: "(C:\\common\\\build.properties)"

}
        }

But, i am getting the below error " C:\common\\build.properties does not exist, omitting from properties gathering"但是,我收到以下错误“C:\common\\build.properties 不存在,从属性收集中省略”

Request your help请求您的帮助

The file argument does not specify a valid file path. file参数未指定有效的文件路径。 Try this instead:试试这个:

def buildNumberProps = readProperties file: "C:\\common\\build.properties"

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

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