Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63954

Restrict on what to show when running command when using docker build wrapper

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • plugin version 1.7.3 (cloudbees docker custom build environment plugin)

      the console log shows log

      [testjob] $ docker exec --tty --user 1234:1234 d80ce6666666133141 env build_param1=value1 build_param2=value  ENV_1=VAL1 ENV_2=VAL2 [additional env vars] WORKSPACE=/apps/jenkins/workspace/test0job /bin/sh -xe /tmp/jenkinsxxxxx.sh

       

      It logs/shows the job parameter and global environment variables, potentially it exposes sensitive information.

       

      Like an option to completely suppress the log of the command executed or be able to exclude/mask parameter or env vars

            Unassigned Unassigned
            af6140 Dawei Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: