DevOps Classroom notes 22/Nov/2023

Jenkins Workspaces

  • When we run a jenkins project, it needs some folder to
    • clone the git code
    • perform build or other actions
  • This folder is called as workspace
  • Lets create a new project
    Preview
    Preview
    Preview
    Preview
  • This project should clone the git and execute the build steps
  • Lets look into where this project is stored and how
    • Project definition is stored in ~/Jobs/<project-name>
    • config.xml file will have the steps defined in the job written as xml file
      Preview
      Preview
      Preview
  • Now lets try to build the job (Run the pipeline)
    Preview
  • In ~/Workspaces/<project-name> the code of git will be cloned. This folder will be pwd (present working directory) when the job is executing
    Preview

Building the code, Packaging the code

  • As discussed in the class the package is the format that will be used to run the application in enduser environment
  • Building the code: Converting the code into
    • Executable that os understands (C,C++)
    • Bytecode that runtime understands (Java, .net)

Exercise

  • what is makefile and how is used to build simple C program
  • What is ANT and how did it help in building java code.

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