Refactor jenkins script to reuse common code

Registered by Deepti B. Kalakeri

Refactor jenkins script to reuse common code across various scripts.

Blueprint information

Status:
Complete
Approver:
David Zinman
Priority:
Low
Drafter:
Deepti B. Kalakeri
Direction:
Approved
Assignee:
Deepti B. Kalakeri
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
David Zinman
Completed by
Deepti B. Kalakeri

Related branches

Sprints

Whiteboard

[dzin Nov 16, 2011]: If all the work items are completed and integrated, this should be marked as implemented with a milestone set.

Headline: CI kernel build service is automated using the scripts part of lci_build_tools. Now that we have scripts that work correctly, there are many repetitions of the code in the scripts. We need to move such code into a common lib and reuse the same.

Acceptance: All the common code is moved to a common lib file. The new code is used in the scripts. The scripts produce similar JSON files to be submitted to validation lab as before containing all the required fields.

Use the new functions moved into the common lib in the scripts : DONE

Validate that new functions do not cause any regressions: DONE

Validate that the build and kernel test JSON files generated for the linux-linaro, linux-next, linux-arm-soc, linux (linus) contains all the required fields as previously: DONE

Validate that the build and kernel test JSON files generated for the one time build submission job contains all the required fields as previously: DONE

Merge the changes lci_build_tools: DONE

(?)

Work Items

Work items:
Move the repetitive code to a common library file in the form of modular reusable functions: DONE

This blueprint contains Public information 
Everyone can see this information.