Jenkins- Build Date in Jenkins Email

0 votes

I have an env variable called “BUILD_ID” redefined using zentimestamp plugin in my Jenkins setup and I use it in the configured jobs for various reasons.

I’m now trying to display the build date in the format “YYYY-MM-DD” in emails triggered by email extn plugin as part of post build. 

Aug 8, 2018 in Jenkins by Hannah
• 14,080 points
390 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Install the zentimestamp plugin. This plugin exports a BUILD_TIMESTAMP variable. You'll see the option called "change date pattern for the BUILD_TIMESTAMP (build timestamp) variable"

You can then edit the desired date pattern as yyyy-mm-dd.

Now use $BUILD_TIMESTAMP in your Email-ext plugin.

answered Nov 14, 2018 by Kalgi
• 35,800 points

Related Questions In Jenkins

+2 votes
5 answers
+1 vote
2 answers

What possible return values are there in Jenkins plugin “Sonarqube scanner”

Use Webhooks in SonarQube Administration setup to ...READ MORE

answered Aug 3, 2018 in Jenkins by Nilesh
• 6,900 points
1,083 views
0 votes
1 answer

How can I create global macros and templates in jenkins job builder?

you can append the path to the ...READ MORE

answered Apr 2, 2018 in Jenkins by ajs3033
• 7,000 points
192 views
0 votes
1 answer

Why is it displaying Jenkins build failure for Android app

I think you should try this. Try Uninstalling ...READ MORE

answered Apr 12, 2018 in Jenkins by shubham
• 6,480 points
159 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Jenkins - simply robocopy in Jenkins finishes marks build with failure

robocopy returns a bit map This is the ...READ MORE

answered Aug 6, 2018 in Jenkins by Kalgi
• 35,800 points
205 views
+2 votes
3 answers

Permission denied error while running a simple job in Jenkins

Hey @Hannah, try changing the permissions using ...READ MORE

answered Oct 25, 2018 in Jenkins by krishti
2,956 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.