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 ability for environment variables and parameters #80

Closed
wants to merge 61 commits into from
Closed

Adding ability for environment variables and parameters #80

wants to merge 61 commits into from

Conversation

Brantone
Copy link
Contributor

@Brantone Brantone commented Apr 9, 2015

Adding ability for environment variables and parameters: #31

grantmd and others added 30 commits January 24, 2014 10:50
Fix for Issue #4, Inline html in slack output.
Merge in community changes
Using username/password for auth if specified.
Send message using attachment with color.
The checkbox is shown along with other options in the build configuration
page. If selected, the test summary will be shown in build notifications.
When sending the 'started' notification, no test summary needs to be
included.
Tests were failing on my development system Ubuntu 14.04.
Fixed Bug: If global configuration then the slack configuration that exists in
current jobs isn't updated.
samrocketman and others added 17 commits February 9, 2015 20:06
failure.  This is also related to the request in #15.
New features:

* Advanced settings
  * Team domain and token can be specified per project; falls back to
    global config if not specified (#19)
  * Post a list of commits with the build notification (title and author
    of commit) (#30, #44, #45)
  * Include JUnit test summary in build notifications (#25)
* Use colors when sending a message using slack (#20, #24).  Also, the
  start notifications use the color of the last build result (#43)
* Support for authenticated proxies (#14)
* Test Connection button (#46, #28)
* Option to disable subsequent notifications on build failures (#46, #15)

Improvements:

* Report 'return to normal' on transition from unstable to success (#21)
* Improved logging.

Bug fixes:

* When changing the global slack settings the slack config in jobs are
  updated as well (#26, #12)
* Fix NullPointerException and output log message if slack is not
  configured (#35, JENKINS-26066)
It makes sense to group the test connection button with the settings
it is actually testing in the advanced section of the slack job
config.
space(s) and/or semi-colons as a separator

fixes #55
Move test connection button to advanced section
Clarification for newbies like me
@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@samrocketman
Copy link
Member

Thanks for the pull request. I don't actively develop this plugin. I maintain releases and pull requests. I'm going to open this up for code review.

@Brantone
Copy link
Contributor Author

Well shoot. That wasn't the right git push. Damn.

@samrocketman
Copy link
Member

That's partially my fault. I meant to merge this last week.

KreAch3R added a commit to KreAch3R/slack-plugin that referenced this pull request Dec 24, 2018
Without this, Notifier#perform runs the Slack message publish code too early,
resulting in messages like this:
```
test - jenkinsci#68 Success after 6.9 sec and counting (Open)
```
`isBuilding()` should be true in this instance.

Instead, always run the plugin with `runAfterFinalised=true.`
This restores the older behavior, (before jenkinsci#361, jenkinsci#125) where SlackListener run
the publish code after `isBuilding()` was false and the end message was:
```
test - jenkinsci#80 Success after 6 sec (Open)
```
timja pushed a commit that referenced this pull request Jan 3, 2019
Without this, Notifier#perform runs the Slack message publish code too early,
resulting in messages like this:
```
test - #68 Success after 6.9 sec and counting (Open)
```
`isBuilding()` should be true in this instance.

Instead, always run the plugin with `runAfterFinalised=true.`
This restores the older behavior, (before #361, #125) where SlackListener run
the publish code after `isBuilding()` was false and the end message was:
```
test - #80 Success after 6 sec (Open)
```
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.