diff options
-rw-r--r-- | README | 31 |
1 files changed, 22 insertions, 9 deletions
@@ -2,6 +2,25 @@ 1. py3o.template 2. jenkinsapi + +[Pre-setup] +Create a file for authentication +touch ~/.netrc +Please change the file permissions to 600 +chmod 600 ~/.netrc + + The authentication credential for LAVA/Jenkins server should be put in ~/.netrc + e.g. + machine validation.linaro.org + login USERNAME + password AUTHENTICATION TOKEN + + NOTE: AUTHENTICATION TOKEN is found under https://validation.linaro.org/api/tokens/ + e.g. + machine validation.linaro.org + login firstname.lastname + password abcdefghijklmnopq1234567890 + [How to run the script] 1. Option '-h' shows all options $./report_automation.py -h @@ -10,14 +29,8 @@ [-a MANUAL_LAVA_JOBS [MANUAL_LAVA_JOBS ...]] [-d EXCLUDE_LAVA_JOBS [EXCLUDE_LAVA_JOBS ...]] [-temp TEMPLATE_FILE] [-o OUTPUT_FILE] [-f] - + This script will collect all data and make a report. - The authentication credential for LAVA/Jenkins server should be put in ~/.netrc - e.g. - machine validation.linaro.org - login USERNAME - password AUTHENTICATION TOKEN - optional arguments: -h, --help show this help message and exit -bn BUILD_NO, --build-no BUILD_NO @@ -40,7 +53,7 @@ Default: report_output.odt -f, --force-report Generate report even there're some errors -2. ** The authentication credential for LAVA server MUST be put in ~/.netrc as it showed in help message. +2. ** The authentication credential for LAVA server MUST be put in ~/.netrc as it showed in Pre-setup 3. Only '--build-no' argument is required. Example. - $./report_automation.py --build-no 148 + $./report_automation.py --build-no 52 -job linaro-android_lcr-reference-juno-m |