Skip to content

Commit

Permalink
[FIXED JENKINS-30531] Set SCMRevisionAction when we do a build, so cl…
Browse files Browse the repository at this point in the history
…ient code can get access to this record.

Has the happy side effect of fixing JENKINS-30222: scm as a global variable can be used unqualified from library code.
Originally-Committed-As: 4e9bd117797620e2f11c03f4053e8210d3086eac
  • Loading branch information
jglick committed Nov 3, 2015
1 parent f1b67bb commit 587f35d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -126,7 +126,7 @@ public Object getProperty(String property) {
return super.getProperty(property);
}

@CheckForNull Run<?,?> $build() throws IOException {
public @CheckForNull Run<?,?> $build() throws IOException {
FlowExecutionOwner owner = execution.getOwner();
Queue.Executable qe = owner.getExecutable();
if (qe instanceof Run) {
Expand Down

0 comments on commit 587f35d

Please sign in to comment.