Download Workflow
To download a software build:
- Login to QPM.
qpm3-cli login --username my-username --password my-password - Use the buildDownload command to download build.
qpm3-cli build-download --software-product-name Test.LA.1.0.r1 --base-build Test.LA.1.0.r1-00195-STD.PROD-1.7822.6 --distro-name "Snapdragon_Premium_High_2021.SPF.1.0|AMSS|Standard|OEM|" --image-name mpss --download-location "C:\Users\qpm\Downloads"
-
For example:
To download all the images
qpm3-cli build-download --software-product-name Test.LA.1.0.r1 --base-build Test.LA.1.0.r1-00195-STD.PROD-1.7822.6 --distro-name "Snapdragon_Premium_High_2021.SPF.1.0|AMSS|Standard|OEM|" --image-name all --download-location "C:\Users\qpm\Downloads"
To download only images with name MPSS in it
qpm3-cli build-download --software-product-name Test.LA.1.0.r1 --base-build Test.LA.1.0.r1-00195-STD.PROD-1.7822.6 --distro-name "Snapdragon_Premium_High_2021.SPF.1.0|AMSS|Standard|OEM|" --image-name mpss --download-location "C:\Users\qpm\Downloads" -
Customized download folder via argument --folder-type
By default Type0 is passed:
qpm3-cli build-download --base-build r00195.1.8172.1
Image download path: <base_location>/<sp_name>/<tag_id>/<distro_name>/<image_name>/
When Type1 is passed:
qpm3-cli build-download --base-build r00195.1.8172.1 --folder-type "Type1"
Image download path: <base_location>/<sp_name>/<tag_id>/<image_name>/
When Type2 is passed:
qpm3-cli build-download --base-build r00195.1.8172.1 --folder-type "Type2"
Image download path: <base_location>/<tag_id>/<image_name>/
When Type3 is passed:
qpm3-cli build-download --base-build r00195.1.8172.1 --folder-type "Type3"
Image download path: <base_location>/<image_name>/
qpm3-cli build-download -bb r00013.1.26513.6 --folder-type Type2 --extract true
Images will be downloaded and then extracted one by one
Step 1: Tar file will be downloaded
Step 2: Tar file will be extracted
Step 3: For all images step 1 / step 2 will happen
Step 4: Re-arrage folders to best possible way.
qpm3-cli build-download -bb r00013.1.26513.6
Images will not be extracted as default value for extract is set to false
- After download is successful, logout from QPM.
qpm3-cli logout