Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software.
Dashboard:
"Dashboard" is the default view shown when you open Jenkins and shows an overview of all projects configured on a Jenkins instance.
Step 3 − The following screen will come up in which you can specify the details of the job.
Note − If you repository if hosted on Github, you can also enter the url of that repository here. In addition to this, you would need to click on the Add button for the credentials to add a user name and password to the github repository so that the code can be picked up from the remote repository.
Step 4− Now go to the Build section and click on Add build step → Execute Windows batch command
Before Executing and building a file. Let me describe the task which we need to do.
Our Task is to execute a python file present in our system.
- We may have python installed in our system, but there is no guarantee that everyone in our team has installed python in their own systems.
- So it is better to set up environment variables before building
- For that purpose we need to go back to dashboard->Manage jenkins ->Configurations -> Global Properties
- After setting up environment variables come back to your configuration page of your job.
Comments
Post a Comment