Yeah, seem about right, this what I end up doing: def all_rules_file = 'rules.txt' dir(pwd([tmp: true])) { writeFile([file: all_rules_file, text: all_rules_str]); stash includes: all_rules_file, name: 'LogParsingRules' } node('master') { unstash 'LogParsingRules' step([$class: 'LogParserPublisher', parsingRulesPath: "${env.WORKSPACE}/${all_rules_file}", useProjectRule: false, failBuildOnError: true, unstableOnWarning: true, showGraphs: true]); }
So I create the temp file on the slave then stash it, move to the master, unstash iit then run the LogParserPublisher there. It would probably work if step() is executed on the slave through. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/08da045f-e63b-4baa-b735-f0798941490c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.