Jenkins pipeline groovy不能使用eachFileRecurse方法,所以只能使用shell帮忙了。/path和*.txt为可替换参数。
files=sh(returnStdout: true, script: 'find /path -name "*.txt"')
Jenkins pipeline groovy不能使用eachFileRecurse方法,所以只能使用shell帮忙了。/path和*.txt为可替换参数。 files=sh(returnStdout: true, script: 'find /path -name "*.txt"') ...
Jenkins pipeline groovy不能使用eachFileRecurse方法,所以只能使用shell帮忙了。/path和*.txt为可替换参数。
files=sh(returnStdout: true, script: 'find /path -name "*.txt"')
更多推荐
所有评论(0)