DevOps Classroomnotes 21/Jul/2023

Upstream and Downstream projects

  • If the project A triggers the Project B then
    • Project B is downstream of Project A
    • Project A is upstream of Project B
      Preview

Preview
Preview

Parametrized Builds

  • While building the jobs, sometimes we would like users to pass some information.
  • This is called as parameters
  • Lets enable parameters for some jenkins project/job
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview

Jenkins Environmental variables

  • Jenkins injects environmental variables into every job in addition to environmental variables present on node
  • To view environmental variables Naviage to build steps => execute shell
    Preview
    Preview
  • Refer Here for docs on environmental variables
  • Sample using environmetal variables
    Preview
  • Result
    Preview

How to take backup of jenkins

  • One option for backup of configuration files
    Preview
    Preview
    Preview
    Preview

Which plugin should be installed to monitor jenkins

  • Refer Here
    Preview
  • Jenkins Plugins can be installed from

    • Market place
    • Uploading the plugin
  • Jenkins plugin has two extensions
    • jpi (Jenkins plugin interface)
    • hpi (hudson plugin interface)

Exercise

  • Figure out a plugin to chnage Build id
  • Create a folder in /tmp of your node with project name
/tmp/gameoflife
  • In this folder try to create one more folder with build id
/tmp/gameoflife/5
  • to this folder copy the war/jar file

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 Responsive Web Designing 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