• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • pipeline
    • None

      We want to have a block statement that allows sensitive tokens to be masked from the console output inside the body, such as:

      maskPassword("s3cr3t!") {
        echo "Hello s3cr3t!" // this should produce "Hello ***********" or something
      }
      

      The exact syntax can be anything, but the above one would prove the concept that this can be done in a composable manner.

          [JENKINS-27486] Workflow step to mask console output

          Kohsuke Kawaguchi created issue -
          Kohsuke Kawaguchi made changes -
          Link New: This issue depends on JENKINS-27392 [ JENKINS-27392 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 6 (Web Link)" [ 12204 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-28219 [ JENKINS-28219 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-28719 [ JENKINS-28719 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161695 ] New: JNJira + In-Review [ 196844 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]

            jglick Jesse Glick
            kohsuke Kohsuke Kawaguchi
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: