- Introduction
- BIOS Auto Build
- BIOS Auto Release
- BIOS Dairy Report Mechanism
- BIOS Check Setup Item Mechanism
- Project Directory Janitor
- Send Mail Mechanism
- BIOS Team Mail Address
Please refer to http://10.6.75.10:8081/
This build code server is based on Jenkins agent, It's a job proxy server, build on docker container.
- Agent Connect
- Click Launch agent from browser button, will download the slave-agent.jnlp
- Run slave-agent.jnlp to connect the master server.
- Permanently accept the application access.
- When status changed to connected, Enjoy it!
D:\Jenkins\workspace
D:\python_script
D:\Veb30_7
-
Job View:
-
Schedule:
- A.M. 01:00
-
Build Directory
e.g., D:\Jenkins\workspace\KINGLER1P-BUILD-BIOS-DAIRY
-
Python Tools:
- Rebuild.bat
- ProjectSelector.py
- BuildResult.py
- BuildRetry.py
- CheckSetup.py
- EnvironInjector.py
-
Job View:
-
Build Directory
e.g., D:\Jenkins\workspace\KINGLER1P-BUILD-BIOS-RELEASE
-
Afu Tools:
- D:\afu_tools
- case1 - KINGLER
- case2 - AS60G1
- case3 - EXEGGCUTE
-
Python Tools:
- Rebuild.bat
- ProjectSelector.py
- BuildResult.py
- EnvironInjector.py
- Func7zip.py
- ArchivePackage.py
When all the project scheduled build finished, the job PROJECT-BUILD-BIOS-CHECK will start to check the file build_message below each dairy build project directory, to generate a data for groovy script: groovy-html-report.template, more detail to refer to Jenkins Send Mail Mechanism.
-
Job View:
-
Schedule:
- A.M. 05:00
-
Collect Tool:
- CollectResults.py
-
Collect File:
- build_message
e.g., D:\Jenkins\workspace\KINGLER1P-BUILD-BIOS-DAIRY\build_message
-
Backup Cache:
D:\Jenkins\cache
- The path will backup the last check build_message use to while project build failed, it will to read this file to prevent data losing.
-
Pipeline:
D:\Jenkins_script\Jenkinsfile.server.reports
-
Physical Path:
D:\Jenkins\workspace\PROJECT-BUILD-BIOS-CHECK
Auto compare the Setup.Type between backup and build directory (contains all struct), currently work project only KINGLER1P.
-
Backup Directory:
D:\SetupBackup
- The path will backup the last check * currently build Setup.Type*, the backup is use to compare with next build Setup.Type.
-
Check Tool:
- CheckSetup.py
The Janitor job will scheduled clean the directory that not be in used, To keep the workspace neatly clean.
-
Job View:
-
Schedule:
- A.M. 05:30
-
Clean Tool:
- JobsJanitor.py
-
Workspace:
D:\Jenkins\workspace
-
Pipeline:
D:\Jenkins_script\Jenkinsfile.server.janitor
-
Physical Path:
D:\Jenkins\workspace\PROJECT-DIR-JANITOR
Settings: Editable Email Template Management
-
Groovy Script:
D:\Jenkins_script
-
Result Template:
- template_svn.jelly
- According build result, if fail then send result mail to BIOS team, else not.
-
Collect Result Pipline:
- Jenkinsfile.server.reports
- The job on jenkins use to collect each dairy build result and arrange these results to groovy variables.
- At last send the report list to BIOS team.
-
Report Template:
- groovy-html-report.template
- The template will decorate the result data from CollectResults.py then parse to job environment variables.