Fix the s5cmd to put instead of cp
This commit is contained in:
parent
a1f42a79b6
commit
a8afd592c1
|
@ -25,13 +25,13 @@
|
||||||
export COV_INT_FILENAME=cov-int-$(date +"%Y%m%d%H%M").tar.gz
|
export COV_INT_FILENAME=cov-int-$(date +"%Y%m%d%H%M").tar.gz
|
||||||
tar cfz $COV_INT_FILENAME cov-int
|
tar cfz $COV_INT_FILENAME cov-int
|
||||||
echo "Submitting scan results"
|
echo "Submitting scan results"
|
||||||
s5cmd/s5cmd cp $COV_INT_FILENAME s3://$KICAD_CI_R2_BUCKET/coverity
|
s5cmd/s5cmd put $COV_INT_FILENAME s3://$KICAD_CI_R2_BUCKET/coverity
|
||||||
export FILE_URL=$KICAD_CI_R2_PUBLIC_BASE/coverity/$COV_INT_FILENAME
|
export FILE_URL="$KICAD_CI_R2_PUBLIC_BASE/coverity/$COV_INT_FILENAME"
|
||||||
export KICAD_VERSION=$(sed 's/[()]//g' kicad_build_version.txt)
|
export KICAD_VERSION=$(sed 's/[()]//g' kicad_build_version.txt)
|
||||||
curl https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME \
|
curl https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME \
|
||||||
--form token=$COVERITY_SCAN_TOKEN \
|
--form token=$COVERITY_SCAN_TOKEN \
|
||||||
--form email=$GITLAB_USER_EMAIL \
|
--form email=$GITLAB_USER_EMAIL \
|
||||||
--form url=$FILE_URL \
|
--form url="$FILE_URL" \
|
||||||
--form version="$KICAD_VERSION" \
|
--form version="$KICAD_VERSION" \
|
||||||
--form description="$KICAD_VERSION / $CI_COMMIT_TITLE" 2>&1 \
|
--form description="$KICAD_VERSION / $CI_COMMIT_TITLE" 2>&1 \
|
||||||
| tee curl-response.txt
|
| tee curl-response.txt
|
||||||
|
@ -65,7 +65,7 @@ Coverity:
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
-DKICAD_STDLIB_LIGHT_DEBUG=ON
|
-DKICAD_STDLIB_LIGHT_DEBUG=ON
|
||||||
-DKICAD_SCRIPTING_WXPYTHON=ON
|
-DKICAD_SCRIPTING_WXPYTHON=ON
|
||||||
- coverity/bin/cov-build --dir cov-int make -j8
|
- coverity/bin/cov-build --dir cov-int make -j10
|
||||||
- *coverity_submit
|
- *coverity_submit
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 year
|
expire_in: 1 year
|
||||||
|
|
Loading…
Reference in New Issue