Skip to content

Commit

Permalink
Merge pull request #386 from jglick/performDelete
Browse files Browse the repository at this point in the history
Avoid saving disabled status when deleting a project
  • Loading branch information
jglick authored Sep 27, 2023
2 parents 180a63f + ae9aad7 commit 32aaf15
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,8 @@ public void replaceAction(@NonNull Action a) {
}

@Override protected void performDelete() throws IOException, InterruptedException {
makeDisabled(true);
setDisabled(true);
Jenkins.get().getQueue().cancel(this);
// TODO call SCM.processWorkspaceBeforeDeletion
super.performDelete();
}
Expand Down

0 comments on commit 32aaf15

Please sign in to comment.