This is an automated email from the ASF dual-hosted git repository.

bbannier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 7e30597  Prevented logging of coverity token in CI.
7e30597 is described below

commit 7e30597783f9501faab02b930f26a19eeb666989
Author: Benjamin Bannier <[email protected]>
AuthorDate: Mon Sep 2 11:10:38 2019 +0200

    Prevented logging of coverity token in CI.
    
    Review: https://reviews.apache.org/r/70566/
---
 support/docker-build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/support/docker-build.sh b/support/docker-build.sh
index 0c6988d..3b8017e 100755
--- a/support/docker-build.sh
+++ b/support/docker-build.sh
@@ -168,9 +168,10 @@ if [ -n "$COVERITY_TOKEN" ]
 
     # Download coverity tools, build using coverity wrapper and upload results.
     append_dockerfile "ENV MESOS_VERSION $(grep "AC_INIT" configure.ac | sed 
's/AC_INIT[(]\[mesos\], \[\(.*\)\][)]/\1/')"
+    append_dockerfile "ENV TOKEN $COVERITY_TOKEN"
     append_dockerfile "RUN wget https://scan.coverity.com/download/linux64  
--post-data \"token=$COVERITY_TOKEN&project=Mesos\" -O coverity_tool.tgz"
     append_dockerfile "RUN tar xvf coverity_tool.tgz; mv cov-analysis-linux* 
cov-analysis"
-    append_dockerfile "CMD ./bootstrap && ./configure $CONFIGURATION &&  
cov-analysis/bin/cov-build -dir cov-int make -j$JOBS && tar czcf mesos.tgz 
cov-int && tail cov-int/build-log.txt && curl --form \"token=$COVERITY_TOKEN\" 
--form \"[email protected]\"  --form \"[email protected]\" --form 
\"version=$MESOS_VERSION\" --form \"description='Continious Coverity Build'\"   
https://scan.coverity.com/builds?project=Mesos";
+    append_dockerfile "CMD ./bootstrap && ./configure $CONFIGURATION &&  
cov-analysis/bin/cov-build -dir cov-int make -j$JOBS && tar czcf mesos.tgz 
cov-int && tail cov-int/build-log.txt && curl --form "'"token=$TOKEN"'" --form 
\"[email protected]\"  --form \"[email protected]\" --form 
\"version=$MESOS_VERSION\" --form \"description='Continious Coverity Build'\"   
https://scan.coverity.com/builds?project=Mesos";
 else
     # Build and check Mesos.
     case $BUILDTOOL in

Reply via email to