Chapter 2. Create Freestyle Jobs
Chapter 3. CI/CD project
Tip:
Unexpected situation in real life occur. Default language in Jenkins was set as Polish. Since way more educational material is in English, I wanted to switch to English.
To change language in Jenkins, You need install plugin: Locale
After instalation plugin, new options appeared.
To fix visibility project, I change theme to dark. To do, go to MANAGE JENKINS. Secondly go to APPEARANCE. In theme tab select DARK theme, and approve selection by SAVE button.
After theme is selected, select PROJECT <my-job> (Freestyle project). In next printscreen we can see project details. In Permalinks section are listed hyperlinks accroding description.
In second step we click CONFIGIRE button. In GENERAL tab, we can see details of project.
To execute shell in Jenskins, go to BUILD SETPS, and click <add build step>. In drop-down menu I selected EXECUTE SHELL. In EXECUTIVE SHELL we can applly all bash commands.
To run next build, click button BUILD NOW. After we click BUILD NOW, we see screen like below.
To see detailed information in You need to select CONSOLE OUTPUT.
Buidls was done successfully, information about this build status is in last line "SUCCESS".
Results of EXECUTE SHELL are present in CONSOLE OUTPUT.
All action has inpact on Workspace. If we create any file it will be present in WORKSPACE. Content of Workspace is consistent with Console output.
When get into into docker, You find directory Workspaces inside docker (with folder) - More info I will share in chapter 5.
To clear workspace before next, checkbox show below need to be selected.
See You in chapter 3.












No comments:
Post a Comment