-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: NXP-6.0, NXP-7.x, NXP-8.x
-
Component/s: Continuous Integration
-
Epic Link:
-
Sprint:nxsupport 9.2.3
-
Story Points:2
The script is named generatePom.sh
Assumed
- the initialization script will prepare the branch for HF building.
- integration-scripts-priv is correctly checked out on the branch
- nuxeo-dm-hotfixes is correctly checked out on the right temporary branch
First checks
- double-check the temporary branch name format is correct else it will fail returning an error code greater than 0. The temporary branches have the following format:
tmp-<BRANCH>-<HF>-<REVISION>
- retrieve the latest package published on Connect for the current branch (see
NXBT-1660) and double-check it is not the same as the temporary branch (compare the product, HF version, and revision)
Generate pom.xml
- the script will fill in the current product version, hf version, and revision based on the branch name
- the script will fill in the previous HF version based on the latest package retrieved on connect
Output:
- full pom.xml file
Once done, the initialisation script will have to be updated to generate the pom.xml file using:
<SOME_LOCATION>/integration-scripts-priv/hfBuilder/genPom.sh > pom.xml