Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Feb 7, 2021

I have noticed the lack of ability to send additional environment variables, and so I added an ability to pass a HashMap<String,String> of additional params

@ghost ghost changed the title added aditional params option WIP: added aditional params option Feb 7, 2021
Copy link

@jakub-bochenski jakub-bochenski left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, can you please remove the unnecessary formatting changes to make review easier?

@ghost
Copy link
Author

ghost commented Feb 8, 2021 via email

@ghost ghost changed the title WIP: added aditional params option Added aditional params option Feb 9, 2021
@ghost
Copy link
Author

ghost commented Feb 11, 2021

Thanks for the PR, can you please remove the unnecessary formatting changes to make review easier?

Yes I fixed it

@ghost ghost requested a review from jakub-bochenski February 11, 2021 13:50
@jakub-bochenski
Copy link

sorry for the delay, I will try to review this by EOW

this(build, currentTime, listener, null);
}
// Freestyle project build
public BuildData(AbstractBuild<?, ?> build, Date currentTime, TaskListener listener, Map<String, String> additionalParams) {

Choose a reason for hiding this comment

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

it seems there is no way to use this additional params in freestile builds, right?

Copy link
Author

Choose a reason for hiding this comment

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

why not?

Choose a reason for hiding this comment

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

I don't see any stapler bindings updated, how would it be configured?

Copy link
Author

Choose a reason for hiding this comment

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

For now it won't be implemented in freestyle builds

Choose a reason for hiding this comment

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

OK, can you please remove those extra constructors?
Otherwise LGTM

Copy link

@jakub-bochenski jakub-bochenski left a comment

Choose a reason for hiding this comment

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

Can you please add documentation/example to readme on how to use thix

@ghost ghost requested a review from jakub-bochenski February 21, 2021 13:20
@jakub-bochenski
Copy link

@zivOrLive do you intend to finish work on this.

Do you need help?

@ghost
Copy link
Author

ghost commented Mar 22, 2021

@zivOrLive do you intend to finish work on this.

Do you need help?

Im not sure how to adjust it so you could use it in freestyle builds, if you could direct me it would be of much help (Im pretty new to jenkins)

@jakub-bochenski
Copy link

It's OK, it can be a Pipeline only feature at first.
I just needs some short update to the documentation with example use in pipeline (and a notice that it doesn't work in Freestyle)

@ghost ghost requested a review from jakub-bochenski March 22, 2021 14:26
Copy link

@jakub-bochenski jakub-bochenski left a comment

Choose a reason for hiding this comment

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

Please apply those 2 more corrections, otherwise LGTM

@jakub-bochenski
Copy link

@mwinter69 please take a look if you have time/feel like it :)

@ghost ghost requested a review from jakub-bochenski April 6, 2021 05:36
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.

1 participant