aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows/python.ps1
Commit message (Collapse)AuthorAgeFilesLines
* Unify Windows provisioning scripts & improve error handlingOliver Wolff2018-04-201-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | While Coin should also see exit codes != 0 as error, we should stick to one way of handling script errors. As Power Shell cmdlets signal an error by throwing an exception we should do the same (and that approach also works in Coin). Additionally extracting 7zip files was unified across scripts by using the existing helper function instead of reinventing the wheel again and again. A similar helper function was introduced for starting an external application (and handling its errors). Also echo and other "cmd" commands were replaced by their PowerShell equivalents to have a unified approach across our Windows provisioning scripts. Change-Id: I70129ce38692f1396c33c13b33a2918485fa5271 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> (cherry picked from commit cb6709ce5c48a31ba1170c71494c1a3869ffa5bb) Reviewed-by: Simo Fält <simo.falt@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Set proxy on Windows VMs while provisioningTony Sarajärvi2018-04-181-0/+4
| | | | | | | Task-number: QTQAINFRA-1669 Change-Id: Ia6b5b668051642a3729d7c7c83c69d8797045847 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 54d8396d681c97ace18e2710394b8b34fa8f0411)
* Split Common folder based on operating system familiesHeikki Halmet2018-01-101-0/+66
This change will split common folder to four different folders: Linux, Unix, Windows and MacOS. Each of these folders includes scripts which are common for their operating system familes Task-number: QTQAINFRA-1451 Change-Id: Ic93b2183052335dee875d1452b21e38d268b6474 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>