-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-26100] Change buildEnvVars to take Run #102
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<parent> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>plugin</artifactId> | ||
<version>2.19</version> | ||
<version>2.27</version> | ||
<relativePath /> | ||
</parent> | ||
<artifactId>mercurial</artifactId> | ||
|
@@ -16,7 +16,7 @@ | |
<properties> | ||
<jenkins.version>1.642.3</jenkins.version> | ||
<no-test-jar>false</no-test-jar> | ||
<scm-api-plugin.version>2.0.8</scm-api-plugin.version> | ||
<scm-api-plugin.version>2.1.0</scm-api-plugin.version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I doubt it is required, but it won't hurt |
||
</properties> | ||
|
||
<developers> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -881,7 +881,11 @@ private void clone(Run<?, ?> build, Launcher launcher, FilePath repository, Node | |
} | ||
|
||
@Override | ||
public void buildEnvVars(AbstractBuild<?,?> build, Map<String, String> env) { | ||
public void buildEnvVars(AbstractBuild<?,?> build, Map<String,String> env) { | ||
buildEnvironment(build, env); | ||
} | ||
|
||
public void buildEnvironment(Run<?,?> build, Map<String, String> env) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as for SVN plugin. It is better to reference the incoming method in the Core API. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isn't that literally what I just did here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure WDYM. I was talking about Javadoc and TODO comment There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, yeah, doing so. |
||
buildEnvVarsFromActionable(build, env); | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
java.level
→ 8