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




- 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



- Project definition is stored in
- Now lets try to build the job (Run the pipeline)

- In
~/Workspaces/<project-name>the code of git will be cloned. This folder will be pwd (present working directory) when the job is executing

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.
