Skip to content

AGDIGGER-59 trigger jenkins job - 2 - #3

Merged
aliok merged 1 commit into
aerogear-attic:masterfrom
aliok:AGDIGGER-59-trigger-jenkins-job-2
Dec 12, 2016
Merged

AGDIGGER-59 trigger jenkins job - 2#3
aliok merged 1 commit into
aerogear-attic:masterfrom
aliok:AGDIGGER-59-trigger-jenkins-job-2

Conversation

@aliok

@aliok aliok commented Dec 12, 2016

Copy link
Copy Markdown
Contributor

Follow up of #2

  • make services stateless
  • make the delays parametrizable in services

@aliok

aliok commented Dec 12, 2016

Copy link
Copy Markdown
Contributor Author

ping @wtrocki @matzew @josemigallas

.build();
}

public static DiggerClientBuilder builder() {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

IMO there's no point on having this method since DiggerClientBuilder is already public.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Well, right..

I personally think that DiggerClient.builder().foo().bar().build() is more fluent than new DiggerClientBuilder().foo().bar().build().
I am inspired by Guava in this idea.

I prefer keeping it for now, unless more objections arise.

Comment thread README.md

Build a customized client:
```
DiggerClient client = DiggerClient.builder()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Awesome idea!

}

public static class DiggerClientBuilder {
private JenkinsAuth auth;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Like it. That would be easy to test.

@wtrocki wtrocki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed and verified. Good to merge

@aliok
aliok merged commit 641cd1b into aerogear-attic:master Dec 12, 2016
@aliok
aliok deleted the AGDIGGER-59-trigger-jenkins-job-2 branch May 30, 2017 08:46
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.

3 participants