Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow to pass an empty parameters option #25

Conversation

JohnNiang
Copy link
Member

@JohnNiang JohnNiang commented Sep 22, 2021

What this PR dose

  • Allow developers to pass an empty parameters, but nil parameters
  • Add tests against it
  • Rearrange imports using goimports

Why we need it

If we want to trigger a pipeline every time, we can pass an empty parameters option to Jenkins client. Currently, we have no chance to do that.

@JohnNiang JohnNiang added the enhancement New feature or request label Sep 22, 2021
@LinuxSuRen LinuxSuRen merged commit 76f2c74 into jenkins-zh:main Sep 23, 2021
@JohnNiang JohnNiang deleted the refactor/always-trigger-pipeline-with-param branch September 23, 2021 02:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants