DevOps Classroomnotes 27/Sep/2022

Jenkins Parameters

  • Jenkins Parameters helps in getting additional information during the build. User can pass options
  • Lets create a choice parameter in freestyle project



  • Lets acheive the same in the Declarative Pipeline
  • Refer Here for the declarative pipeline
  • Refer Here for the parameter documentation
  • Refer Here for the changes done to include parameters
  • Now lets check in the Jenkins UI

Triggers in Declarative Pipeline

  • Lets add the day build trigger i.e. POLL SCM Every minute Refer Here for the changes
  • Please refer classroom video for demonstration purposes

Notifications

Email Notifications

  • For email configurations, we have SMTP servers which we need to configure on the Jenkins
  • Create an account in mail trap Refer Here
  • Create one inbox
  • Get the credentials from the mail trap
  • Now Navigate to Manage Jenkins => Configure System => Email Notification and configure SMTP

  • Configure Email Notifications

Link to upload Activity Completions

  • Refer Here to submit the activity to build the project via scripted, declarative pipeline
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%