-
New Feature
-
Resolution: Postponed
-
Minor
-
None
as Developer
I want to be able to execute a post action depending on how a pipeline-job is triggered
so that I can e.q. send a different slack message if the executing is based on a cron trigger or a upstream project.
In a declarative jenkinsfile I would like to be able to have the knowledge which trigger triggered the execution.
Possible options:
- each trigger gets a unique name which can be queried in the environment
- a trigger can have an 'expression' block which can be used to set a global boolean
Thank in advance for considering
Is this possible?
- relates to
-
JENKINS-52203 Provide a 'prerequisites' sections (like triggers) that allows blocking the execution of a job
-
- Open
-
[JENKINS-67402] Conditional post action depending on which trigger
Link | New: This issue relates to JENKINS-52203 [ JENKINS-52203 ] |
Resolution | New: Postponed [ 6 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |