Skip to content

Commit 52e0507

Browse files
authored
Update screenshot and add bot user guide (jenkinsci#648)
1 parent 4eb91ca commit 52e0507

8 files changed

+510
-463
lines changed

Diff for: .remarkrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"fences": true
3+
}

Diff for: CHANGELOG-old.md

+395
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,395 @@
1+
# Changelog
2+
3+
The CHANGELOG is now maintained on the GitHub releases page:
4+
<https://github.com/jenkinsci/slack-plugin/releases>
5+
6+
## 2.19 release notes (2019-03-16)
7+
8+
### New features
9+
10+
- Folder credential support [PR #541](https://github.com/jenkinsci/slack-plugin/pull/541)
11+
- Simplify and Groovyfy attachment handling [PR #536](https://github.com/jenkinsci/slack-plugin/pull/536)
12+
13+
## 2.18 release notes (2019-02-19)
14+
15+
### New features
16+
17+
- Clarify the messaging around the failure notification options [PR #519](https://github.com/jenkinsci/slack-plugin/pull/519)
18+
- Add additional logging for notification conditions [PR #516](https://github.com/jenkinsci/slack-plugin/pull/516)
19+
20+
### Internal
21+
22+
- Introduce maven-checkstyle-plugin to validate no star imports [PR #521](https://github.com/jenkinsci/slack-plugin/pull/521)
23+
24+
## 2.17 release notes (2019-02-13)
25+
26+
### Bug fixes:
27+
28+
- Fix migration - credentials weren't being saved [PR #513](https://github.com/jenkinsci/slack-plugin/pull/513)
29+
- Use correct scope for migrated credential [PR #515](https://github.com/jenkinsci/slack-plugin/pull/515)
30+
- Remove 1.8 migration code and SlackJobProperty [PR #514](https://github.com/jenkinsci/slack-plugin/pull/514)
31+
32+
## 2.16 release notes (2019-02-07)
33+
34+
### Bug fixes:
35+
36+
- java.lang.NumberFormatException: When using parametrized scheduler [PR #510](https://github.com/jenkinsci/slack-plugin/pull/510)
37+
38+
## 2.15 release notes (2019-02-01)
39+
40+
### Removed functionality
41+
42+
- Integration token text removed from global configuration, it will be automatically migrated into a credential for you. There's upcoming changes for jobs and pipelines in this area as well [PR #493](https://github.com/jenkinsci/slack-plugin/pull/493)
43+
44+
### Bug fixes
45+
46+
- Add null check to extractReplaceLinks [PR #497](https://github.com/jenkinsci/slack-plugin/pull/497)
47+
48+
### New features
49+
50+
- Log response string to assist user [PR #486](https://github.com/jenkinsci/slack-plugin/pull/486)
51+
- Add class name to failed test notification [PR #474](https://github.com/jenkinsci/slack-plugin/pull/474)
52+
53+
### Internal
54+
55+
- Remove overriding plugin pom config [PR #492](https://github.com/jenkinsci/slack-plugin/pull/492)
56+
- Remove deprecated code [PR #491](https://github.com/jenkinsci/slack-plugin/pull/491)
57+
- Bump baseline and parent pom [PR #485](https://github.com/jenkinsci/slack-plugin/pull/485)
58+
- IntelliJ automatic code cleanup [PR #484](https://github.com/jenkinsci/slack-plugin/pull/484)
59+
- Remove token botUser hack [PR #483](https://github.com/jenkinsci/slack-plugin/pull/483)
60+
61+
## 2.14 release notes
62+
63+
### New features:
64+
65+
- Allow broadcasting thread messages to the channel [PR #473](https://github.com/jenkinsci/slack-plugin/pull/473)
66+
67+
### Bug fixes:
68+
69+
- Fix UI fields [PR #471](https://github.com/jenkinsci/slack-plugin/pull/471)
70+
71+
## 2.13 release notes
72+
73+
### Bug fixes:
74+
75+
- Fixed constructor of SlackJobProperty [PR #468](https://github.com/jenkinsci/slack-plugin/pull/468)
76+
- Adding null check on custom message [PR #466](https://github.com/jenkinsci/slack-plugin/pull/466)
77+
- Always runAfterFinalized [PR #462](https://github.com/jenkinsci/slack-plugin/pull/462)
78+
79+
### Docs updates:
80+
81+
- Added note for Global Slack Notifications [PR #470](https://github.com/jenkinsci/slack-plugin/pull/470)
82+
83+
## 2.12 release notes
84+
85+
### Bug fixes:
86+
87+
- Revert 'Don't publish twice, while the build isn't finished yet' [PR #457](https://github.com/jenkinsci/slack-plugin/pull/457)
88+
89+
## 2.11 release notes
90+
91+
### Bug fixes:
92+
93+
- Move optional params to setters and fix constructor compatibility [PR #452](https://github.com/jenkinsci/slack-plugin/pull/452)
94+
95+
## 2.10 release notes
96+
97+
### New features:
98+
99+
- Send only one message with commit list [PR #448](https://github.com/jenkinsci/slack-plugin/pull/448)
100+
- Custom messages per Build result [PR #445](https://github.com/jenkinsci/slack-plugin/pull/445)
101+
102+
### Bug fixes:
103+
104+
- Don't publish twice, while the build isn't finished yet [PR #446](https://github.com/jenkinsci/slack-plugin/pull/446)
105+
- Fix compatibility for getBotUser [PR #449](https://github.com/jenkinsci/slack-plugin/pull/449)
106+
107+
## 2.9 release notes
108+
109+
### Bug fixes:
110+
111+
- Don't hide custom message if var unset [PR #442](https://github.com/jenkinsci/slack-plugin/pull/442)
112+
- Rename base url to slack compatible app url [PR #443](https://github.com/jenkinsci/slack-plugin/pull/443)
113+
114+
## 2.8 release notes
115+
116+
### Bug fixes:
117+
118+
- Make pipeline response object safer [PR #439](https://github.com/jenkinsci/slack-plugin/pull/439)
119+
120+
## 2.7 release notes
121+
122+
### New features:
123+
124+
- Pipeline response object (threading enhancement) [PR #429](https://github.com/jenkinsci/slack-plugin/pull/429)
125+
- Add message when attachments are present [PR #426](https://github.com/jenkinsci/slack-plugin/pull/426)
126+
127+
## 2.6 release notes
128+
129+
### Bug fixes:
130+
131+
- slack send should not require message [PR #434](https://github.com/jenkinsci/slack-plugin/pull/434)
132+
133+
## 2.5 release notes
134+
135+
### Bug fixes:
136+
137+
- replace # with nothing in chat.postMessage [PR #433](https://github.com/jenkinsci/slack-plugin/pull/433)
138+
- Fix serialisation of some fields [PR #430](https://github.com/jenkinsci/slack-plugin/pull/430)
139+
140+
### Internal updates:
141+
142+
- Re-enable windows tests on CI [PR #424](https://github.com/jenkinsci/slack-plugin/pull/424)
143+
144+
## 2.4 release notes
145+
146+
### New Features:
147+
148+
- Support JCasC [PR #404](https://github.com/jenkinsci/slack-plugin/pull/404) [JENKINS-53641](https://issues.jenkins-ci.org/browse/JENKINS-53641)
149+
- [example](/README.md#configuration-as-code)
150+
- Add Token Macro support [PR #401](https://github.com/jenkinsci/slack-plugin/pull/401)
151+
- Add slash command support [PR #345](https://github.com/jenkinsci/slack-plugin/pull/345)
152+
- Add thread support [PR #377](https://github.com/jenkinsci/slack-plugin/pull/377)
153+
154+
### Bug Fixes:
155+
156+
- [JENKINS-50706] Fix permission check for credentials checkbox [PR #372](https://github.com/jenkinsci/slack-plugin/pull/372)
157+
- [JENKINS-37339] Prevent NPE after plugin installation [PR #403](https://github.com/jenkinsci/slack-plugin/pull/403)
158+
- [JENKINS-53450] Rename the variable that fails the tests on Windows [PR #394](https://github.com/jenkinsci/slack-plugin/pull/394)
159+
- added @DataBoundSetter for includeTestSummary [PR #393](https://github.com/jenkinsci/slack-plugin/pull/393)
160+
- Reduce verbosity for standard case when the migrator does nothing [PR #395](https://github.com/jenkinsci/slack-plugin/pull/395)
161+
- Create Jenkinsfile [PR #405](https://github.com/jenkinsci/slack-plugin/pull/405)
162+
- slack outgoing webhook isn't working [PR #344](https://github.com/jenkinsci/slack-plugin/pull/344)
163+
- integration credential logging removed [PR #407](https://github.com/jenkinsci/slack-plugin/pull/407)
164+
165+
### Dependency upgrades:
166+
167+
- jackson-databind -> 2.8.11.2, [PR #400](https://github.com/jenkinsci/slack-plugin/pull/400)
168+
169+
### Documentation updates:
170+
171+
- Added multiple channel comment to slackSend [PR #399](https://github.com/jenkinsci/slack-plugin/pull/399)
172+
- Send to users wording tweak [PR #408](https://github.com/jenkinsci/slack-plugin/pull/408)
173+
174+
### Internal updates:
175+
176+
- Parent pom update, new jenkins baseline (2.60.3) and java 8 required [PR #406](https://github.com/jenkinsci/slack-plugin/pull/406)
177+
178+
## 2.3 release notes
179+
180+
### New Features:
181+
182+
- Send more advanced slack messages v2 [PR #324](https://github.com/jenkinsci/slack-plugin/pull/324)
183+
184+
### Bug Fixes:
185+
186+
- Stop log spam [PR #316](https://github.com/jenkinsci/slack-plugin/pull/316)
187+
188+
## 2.2 release notes
189+
190+
### New Features:
191+
192+
- Implement bot-user support ([#258][#258])
193+
- Use DataBoundSetter for optional params ([#236][#236], [#232][#232])
194+
- Add `Include failed Tests` ([#166][#166])
195+
- Add display failed tests option to slack notifications on job configuration
196+
([#275][#275])
197+
- Add baseUrl parameter to support slack-compatible integrations like Mattermost
198+
or Rocket Chat ([#293][#293])
199+
- Regression notification implemented ([#294][#294])
200+
201+
### Bug Fixes:
202+
203+
- Fix #126 Replace `<a>` tags with Slack `<link|name>` ([#222][#222],
204+
[#126][#126])
205+
- Fix #188 Fixes for configuration migration from 1.8 to 2.0 ([#202][#202],
206+
[#188][#188])
207+
- Changed calculation of `Back to normal` time ([#228][#228], [#225][#225])
208+
- Only send `Back to normal` if `Notify Back To Normal` is enabled
209+
([#164][#164])
210+
- Add custom message for manually triggered builds on build start ([#162][#162])
211+
- Fix #62 by excluding empty affected files collection ([#197][#197],
212+
[#62][#62])
213+
- Moved message to `text` instead of `fields` to resolve truncated message issue
214+
([#274][#274])
215+
216+
[#126]: https://github.com/jenkinsci/slack-plugin/issues/126
217+
218+
[#162]: https://github.com/jenkinsci/slack-plugin/issues/162
219+
220+
[#164]: https://github.com/jenkinsci/slack-plugin/issues/164
221+
222+
[#166]: https://github.com/jenkinsci/slack-plugin/issues/166
223+
224+
[#188]: https://github.com/jenkinsci/slack-plugin/issues/188
225+
226+
[#197]: https://github.com/jenkinsci/slack-plugin/issues/197
227+
228+
[#202]: https://github.com/jenkinsci/slack-plugin/issues/202
229+
230+
[#222]: https://github.com/jenkinsci/slack-plugin/issues/222
231+
232+
[#225]: https://github.com/jenkinsci/slack-plugin/issues/225
233+
234+
[#228]: https://github.com/jenkinsci/slack-plugin/issues/228
235+
236+
[#232]: https://github.com/jenkinsci/slack-plugin/issues/232
237+
238+
[#236]: https://github.com/jenkinsci/slack-plugin/issues/236
239+
240+
[#258]: https://github.com/jenkinsci/slack-plugin/issues/258
241+
242+
[#274]: https://github.com/jenkinsci/slack-plugin/issues/274
243+
244+
[#275]: https://github.com/jenkinsci/slack-plugin/issues/275
245+
246+
[#293]: https://github.com/jenkinsci/slack-plugin/issues/293
247+
248+
[#294]: https://github.com/jenkinsci/slack-plugin/issues/294
249+
250+
[#62]: https://github.com/jenkinsci/slack-plugin/issues/62
251+
252+
## 2.1 release notes
253+
254+
### New Features:
255+
256+
- Added Jenkins Credentials support (#247)
257+
- Added support for display-url-api; will allow Blue Ocean to change display
258+
URLs (#245)
259+
- Added support for @here and other @mentions (#241)
260+
- Reduced log verbosity (#252)
261+
- Updated `@Extension` ordinal value to force earlier migration process (#261)
262+
263+
### UI Improvements:
264+
265+
- Added credentials selection widget (#247)
266+
267+
### Bug Fixes:
268+
269+
- Fixes for Security issue [JENKINS-35503][JENKINS-35503] (#247)
270+
- Fixed documentation for Pipeline step (#220)
271+
272+
[JENKINS-35503]: https://issues.jenkins-ci.org/browse/JENKINS-35503
273+
274+
## 2.0.1 release notes
275+
276+
Bug Fixes:
277+
278+
- Set webhook endpoint to random uuid based string if not set (PR # 190)
279+
- Upgrading to Slack 2.0 outbound webhooks breaks Jenkins (#191)
280+
281+
## 2.0 release notes
282+
283+
### New Features:
284+
285+
- Adding configurable webhook endpoint for exposing jenkins commands with a
286+
Slack outgoing-webhook (#160)
287+
- Added Jenkins Pipeline support via custom step `slackSend`. (#167)
288+
289+
### UI Improvements:
290+
291+
- Job level configuration was moved under post-build actions with support for
292+
migration from previous versions. (#79, #170)
293+
- Use Subdomain instead of Domain (#168)
294+
295+
### Bug Fixes
296+
297+
- Notify for repeated failures doesn't work (#136)
298+
- Workflow plugin integration (#50)
299+
- "Back to normal" message duration is build duration rather than time the job
300+
has been broken for (#129)
301+
- [FIXED JENKINS-30559] Dropdown list to select commit info for notifications
302+
(#133)
303+
- Fix double start message when build is manually started (#96, #137)
304+
- "success" instead of "back to normal" after aborted build (123)
305+
- Doesn't support the Jenkins Inheritance plugin (#6)
306+
307+
## 1.8.1 release notes
308+
309+
This is a backport release which backports features originally intended for
310+
slack-2.0 release. This is meant as a nice fix for people missing critical
311+
bugs. Thanks [@Nooba](https://github.com/Nooba/) for taking the time to
312+
backport all of the changes. Since new features listed here will also be
313+
included in the slack-2.0 release I'm not going to bother mentioning them in the
314+
slack-2.0 release at all.
315+
316+
### New Features:
317+
318+
- Allow simple markup formatting in custom messages. (#127)
319+
320+
### UI Improvements:
321+
322+
- Improves custom message help text. (#97)
323+
324+
### Bug fixes:
325+
326+
- Allow parallel builds. (#122)
327+
- Use textarea for customMessage. This allows custom messages to have new
328+
lines. (#103)
329+
- Set test connection message color correctly. (#101)
330+
- Fix publish to multiple rooms. Add unit tests. (#98, #100)
331+
- Include custom message when changes are found. (#95)
332+
333+
## 1.8.0 release notes
334+
335+
### New Features:
336+
337+
- Option to add a custom message (#49, #78)
338+
- Build Server URL defaults to Jenkins URL when the slack plugin is first
339+
configured (#42, #90)
340+
341+
### UI Improvements:
342+
343+
- Move `Test Connection` button in slack job config to the advanced section
344+
(#64)
345+
- Improvements to `Test Connection` button. It now provides feedback in the
346+
Jenkins UI when it succeeds or fails to connect to the slack instance (#51,
347+
\#81)
348+
349+
### Improvements:
350+
351+
- Improve 'started' message with proper cause (#37)
352+
- The separator for specifying posting to multiple slack channels is more
353+
robust. It now allows spaces, commas, and semicolons as a separator (#56)
354+
- Notifications start with full project name when using Cloudbees folders
355+
plugin. This includes the folder and the project in the notification (#61)
356+
- Search upstream causes when gathering commit list (#67)
357+
- Change repeated failure message improvement with `Still Failing`. Makes it
358+
easier to understand if it is the first or repeated failure in a build (#77)
359+
- Add unit tests for `doTestConnection` method (#82, #84)
360+
361+
### Bug fixes:
362+
363+
- Fix `Include Test Summary` and `Notify Repeated Failure` options being
364+
reversed when saving settings in the UI (#63)
365+
- Change `.getPreviousBuild()` to allow for higher concurrency (#70)
366+
- Solve `java.lang.NoClassDefFoundError` when running unit tests (#82, #83)
367+
- Adding ability for environment variables and parameters (#31, #80, #89)
368+
369+
## 1.7.0 release notes
370+
371+
### New features:
372+
373+
- Advanced settings
374+
- Team domain and token can be specified per project; falls back to global
375+
config if not specified (#19)
376+
- Post a list of commits with the build notification (title and author of
377+
commit) (#30, #44, #45)
378+
- Include JUnit test summary in build notifications (#25)
379+
- Use colors when sending a message using slack (#20, #24). Also, the start
380+
notifications use the color of the last build result (#43)
381+
- Support for authenticated proxies (#14)
382+
- Test Connection button (#46, #28)
383+
- Option to disable subsequent notifications on build failures (#46, #15)
384+
385+
### Improvements:
386+
387+
- Report 'return to normal' on transition from unstable to success (#21).
388+
- Improved logging.
389+
390+
### Bug fixes:
391+
392+
- When changing the global slack settings the slack config in jobs are updated
393+
as well (#26, #12)
394+
- Fix NullPointerException and output log message if slack is not configured
395+
(#35, JENKINS-26066)

0 commit comments

Comments
 (0)