Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-39532] Do not access the workspace for pipelines.
  • Loading branch information
uhafner committed Nov 30, 2016
1 parent a2b59ce commit af47232
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -200,7 +200,7 @@ public FormValidation doCheckDefaultEncoding(@QueryParameter final String defaul
*/
public FormValidation doCheckPattern(@AncestorInPath final AbstractProject<?, ?> project,
@QueryParameter final String pattern) throws IOException {
if (project != null) { // Workflow jobs have no workspace
if (project != null) { // there is no workspace in pipelines
try {
FilePath workspace = project.getSomeWorkspace();
if (workspace != null) {
Expand Down

0 comments on commit af47232

Please sign in to comment.