I’ve got scripts that collect data on errors and sends them into a ticketing system. If any developments occur regarding an existing ticket, I want to be able to access the email inbox to get the ticket number so that I can include this in the reply. This will result in the ticketing system including the new information in the old ticket instead of creating a new ticket every time. Is this possible?
I’ve been looking online for how I might be able to do this but I haven’t yet found anything that looks like bash commands to access the inbox programmatically and save a message’s information to a variable.
Go to Source
Author: Tom Cayton
I have a Jenkins job which does some unit-testing for some code. It can be started in two possible ways:
- By the scheduler – it polls the Perforce server, and starts the job when it detects a code change
- By a user, on demand – it downloads a shelved/stashed code change, and checks whether it breaks the tests
The second way is called “Build Review”:
If the job discovers problems, I want to send emails conditionally, to avoid spam:
- If invoked by the scheduler, send mails to everyone who did check-ins since last successful build (called “developers” in Jenkins jargon)
- If invoked by a specific user, send a mail only to that user
I am using the Any Build Step plugin to add two conditional instances of Editable email Notification into my job settings. But what are the conditions? How can I tell it to send mail only if invoked in a specific way, (1) or (2) above?
Go to Source