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
    Preview
    Preview
    Preview
    Preview
  • 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
    Preview
    Preview

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
    Preview
  • Get the credentials from the mail trap
  • Now Navigate to Manage Jenkins => Configure System => Email Notification and configure SMTP
    Preview
    Preview
  • Configure Email Notifications
    Preview
    Preview

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 Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube