jenkinsci / jenkinsci/slack-plugin

Notifying a single user in a declarative pipeline

Open
#652 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
672
Forks
396
Avg merge
2d 23h
Merged PRs (30d)
5

Description

Is it possible to retrieve the slack userid from the jenkins user who started the build in a declarative pipe ?
![Screenshot from 2019-12-20 15-38-07](https://user-images.githubusercontent.com/1293033/71261930-dd8a6300-233e-11ea-9a54-c41f13cecdaa.png)
Using @slack-user-id implies you already have the slack user id, what if we want to use the one saved in the jenkins user profile

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by reviewing the issue discussion and tracing how declarative pipeline notifications access the build-starting Jenkins user and profile data; done means the initiating user's saved Slack identity can be used for a single-user notification.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.