Skip to content
Snippets Groups Projects

CI: Record test report/logs as artifacts

Merged Esben Haabendal requested to merge esben/meta-openharmony:test-artifacts into kirkstone
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
+ 6
0
@@ -147,6 +147,7 @@ stages:
@@ -147,6 +147,7 @@ stages:
echo "BB_NUMBER_THREADS = \"$CI_ONIRO_NUM_CPUS\"" ;
echo "BB_NUMBER_THREADS = \"$CI_ONIRO_NUM_CPUS\"" ;
echo "BB_NUMBER_PARSE_THREADS = \"$CI_ONIRO_NUM_CPUS\"" ;
echo "BB_NUMBER_PARSE_THREADS = \"$CI_ONIRO_NUM_CPUS\"" ;
fi >> conf/auto.conf
fi >> conf/auto.conf
 
- echo "RM_WORK_EXCLUDE += \"${RECIPE}\"" >> conf/auto.conf
script:
script:
- bitbake "${RECIPE}"
- bitbake "${RECIPE}"
after_script:
after_script:
@@ -277,6 +278,11 @@ test:
@@ -277,6 +278,11 @@ test:
- DISTRO: [oniro-openharmony-linux]
- DISTRO: [oniro-openharmony-linux]
MACHINE: [qemuarma7]
MACHINE: [qemuarma7]
RECIPE: [openharmony-standard-image-tests]
RECIPE: [openharmony-standard-image-tests]
 
artifacts:
 
paths:
 
- build/tmp-*/work/*/*/*/testimage
 
expire_in: 1 month
 
when: always
# Build OpenHarmony images using CI runner in China.
# Build OpenHarmony images using CI runner in China.
#
#
Loading