jenkinsci / jenkinsci/workflow-support-plugin

[JENKINS-46376] Allow getting log through RunWrapper

Open
#394 8 comments 0 reactions 0 assignees View on GitHub
component:workflow-support-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
23
Forks
75
PR merge metrics
No merged PRs in 30d

Description

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!

---
Originally reported by akostadinov, imported from: Allow getting log through RunWrapper


  • status: Open
  • priority: Major
  • component(s): workflow-support-plugin
  • resolution: Unresolved
  • votes: 3
  • watchers: 5
  • imported: 20260601-173816

Raw content of original issue

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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.