Skip to content
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

Adding environment variable support to BuildRequest #217

Merged
merged 1 commit into from
Sep 28, 2016

Conversation

jupierce
Copy link
Contributor

In order to support feature request: https://trello.com/c/Yl4qomsw/878-5-additional-jenkins-plugin-enhancement-requests-from-github

Adding environment variable support to restclient on which Jenkins plugin relies.

fyi @gabemontero

@@ -36,7 +35,10 @@
private static final String REVISION_TYPE = REVISION + "." + TYPE;
private static final String TRIGGERED_BY = "triggeredBy";
private static final String MESSAGE = "message";

private static final String ENV = "env";
private static final String ENV_NAME = "name";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NAME and VALUE are available as part of the interface implemented by KubernetesResource

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in latest push. Thanks.

@jcantrill
Copy link
Contributor

[test] LGTM. @jupierce Test for BuildRequest to validate its set properly?

@openshift-bot
Copy link
Contributor

Evaluated for javaclient test up to d4650b3

@openshift-bot
Copy link
Contributor

@jupierce
Copy link
Contributor Author

@jcantrill Added BuildRequestTest.java unit test.

@jcantrill
Copy link
Contributor

[merge]

@openshift-bot
Copy link
Contributor

Evaluated for javaclient merge up to d4650b3

@openshift-bot
Copy link
Contributor

openshift-bot commented Sep 28, 2016

Java Client Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test-openshift-restclient-java/254/)

@openshift-bot openshift-bot merged commit 3056176 into openshift:master Sep 28, 2016
@gabemontero
Copy link
Contributor

cool - thanks @jupierce and @jcantrill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants