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

Allow getting log through RunWrapper

XMLWordPrintable

      an example pipeline

      ...
      def myBuild = build ...
      ...
      

      `myBuild` ends up in as `org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper`.

      The way to get downstream build log would be by `myBuild.rawBuild...` but `rawBuild` is not whitelisted in the script security plugin. Also in the console where it can be allowed I see

      signature : method org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper getRawBuild Approving this signature may introduce a security vulnerability! You are advised to deny it.

      So my request is to allow somehow getting the downstream build log without security risks.

      Thank you!

            Unassigned Unassigned
            akostadinov akostadinov
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: