Skip to content
Permalink
Browse files
Merge pull request #79 from jenkinsci/revert-73-fix-no-scm-in-promotion
[FIXED JENKINS-32006] - Revert "[FIXED JENKINS-13751] - PromotionProcess returns SCM of its owner"
  • Loading branch information
oleg-nenashev committed Dec 17, 2015
2 parents f0bbda7 + 2c3a25e commit 8497c85d1a1974d32edad34ab9d39301ca6b5e31
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/main/java/hudson/plugins/promoted_builds/PromotionProcess.java
@@ -30,7 +30,6 @@
import hudson.model.labels.LabelAtom;
import hudson.model.labels.LabelExpression;
import hudson.plugins.promoted_builds.conditions.ManualCondition.ManualApproval;
import hudson.scm.SCM;
import hudson.security.ACL;
import hudson.tasks.BuildStep;
import hudson.tasks.BuildStepDescriptor;
@@ -111,11 +110,6 @@ public static PromotionProcess fromJson(StaplerRequest req, JSONObject o) throws
return p;
}

@Override
public SCM getScm() {
return this.getOwner().getScm();
}

@Override
public void doSetName(String name) {
super.doSetName(name);

0 comments on commit 8497c85

Please sign in to comment.