Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
[FIXED JENKINS-39532] Do not access the workspace for pipelines.
  • Loading branch information
uhafner committed Nov 30, 2016
1 parent a2b59ce commit af4723277b22eed1b1c776865ed9d1f510546c0c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/analysis/core/PluginDescriptor.java
@@ -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) {

0 comments on commit af47232

Please sign in to comment.