Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JENKINS-50764 Whitelist ResponseData getData signature in In-process script approval #74

Merged
merged 1 commit into from
Jul 15, 2018

Conversation

nrayapati
Copy link
Member

Description

  • Whitelist ResponseData getData signature in In-process script approval.

See JENKINS-50764.

@nrayapati
Copy link
Member Author

Example:

    def issue = jiraGetIssue idOrKey: 'TEST-1', site: 'localJIRA'
    echo issue.data.toString()    
  • Before Failed this fix:
Scripts not permitted to use method org.thoughtslive.jenkins.plugins.jira.api.ResponseData getData. Administrators can decide whether to approve or reject this signature.
  • After Success and printed the TEST-1 data as a response.

@nrayapati nrayapati merged commit a348ece into master Jul 15, 2018
@nrayapati nrayapati deleted the JENKINS-50764 branch July 15, 2018 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant