Skip to content

Commit

Permalink
fix: groovy.lang.MissingPropertyException: No such property: file for…
Browse files Browse the repository at this point in the history
… class: groovy.lang.Binding
  • Loading branch information
definite committed Mar 6, 2017
1 parent 4c4e2bf commit 52a4dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Expand Up @@ -202,7 +202,7 @@ void withPorts(Closure wrapped) {
// from https://issues.jenkins-ci.org/browse/JENKINS-27395?focusedCommentId=256459&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-256459
void setJUnitPrefix(prefix, files) {
// add prefix to qualified classname
sh "find . -path \"*/${file}\" -exec sed -i \"s/\\(<testcase .*classname=['\\\"]\\)\\([a-z]\\)/\\1${prefix}.\\2/g\" '{}' +"
sh "find . -path \"*/${files}\" -exec sed -i \"s/\\(<testcase .*classname=['\\\"]\\)\\([a-z]\\)/\\1${prefix}.\\2/g\" '{}' +"
}

void archiveTestFilesIfUnstable() {
Expand Down

0 comments on commit 52a4dd7

Please sign in to comment.