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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

JENKINS-50026 Hubot Steps 2.0.0 #11

Merged
merged 12 commits into from Apr 7, 2018
Merged

JENKINS-50026 Hubot Steps 2.0.0 #11

merged 12 commits into from Apr 7, 2018

Conversation

nrayapati
Copy link
Member

@nrayapati nrayapati commented Apr 6, 2018

  • JENKINS-50608 - Global site configuration to support multiple hubot servers.
  • JENKINS-50609 - Folder Level site configuration.
  • JENKINS-50610 - Build Notifications. Hooray!
  • JENKINS-50611 - Support Token Macros.
  • JENKINS-50612 - Support sending custom data to hubot server.
  • JENKINS-50613 - Send envVars to hubot to support more smart messages.
  • JENKINS-50614 - Provide hubot examples for slack attachments.
  • JENKINS-50615 - Plugin documentation update.
  • JENKINS-44401 - Enhance hubotApprove to allow more fields that input step supports
    • Now hubotApprove supports id, submitter, ok, submitterParameter and parameters.
  • 馃敶 Few breaking changes.
    • failOnError - Changed type from boolean to String
    • failOnError - Global environment variable HUBOT_FAIL_ON_ERROR takes lower precedence for hubotSend and hubotApprove.
    • hubotSend, hubotApprove - The message not being appended with BUILD_URL and User Name anymore, instead these variable being sent through JSON, so hubot script can have some massaging.
      • Not just these variables but lot more being sent through POST call to hubot, refer to hubot_slack.coffee in scripts folder for sample example and notes.

@nrayapati nrayapati changed the title JENKINS-44401 Hubot Steps 2.0.0 JENKINS-50026 Hubot Steps 2.0.0 Apr 6, 2018
README.adoc Outdated
* *site* `optional`, hubot site name either it is from Folder Level or Global Level, Only used when *url*, *room* and *failOnError* are not present. Optional, it will fallback to first default site that it found while searching from immediate folder to Global site configurations.
* *url* `optional`, if it is provided as global environment variable *HUBOT_URL* or provided by `withEnv` step, this should always end with `/`, environment variable takes the lower precedence.
* *room* `optional`, if it is provided as global environment variable *HUBOT_DEFAULT_ROOM* or provided by `withEnv` step, and room doesn't require `#`, it is added in the code, environment variable takes the lower precedence.
* *failOnError* `optional` and by default it is `true`, if any error it won't abort the job., it can also be provided as global environment variable *HUBOT_FAIL_ON_ERROR*, environment variable takes the lower precedence.
Copy link

@bhram999 bhram999 Apr 7, 2018

Choose a reason for hiding this comment

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

.,
馃樁

@nrayapati nrayapati merged commit 2de2c25 into master Apr 7, 2018
@nrayapati nrayapati deleted the JENKINS-50026 branch April 7, 2018 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants