question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add option to exclude long description

See original GitHub issue

Could an option be added to exclude ghprbPullLongDescription from the build. This seems to be the field that we hit escaping issues with. The issue we see is sometimes the escaping results in commands executing from the description. In our internal PR descriptions, we have started adding testing or verification notes / suggestions, which in one case included a tail -f /var/log/messages command, which executed.

Observed on ghprb-plugin 1.39.0

From what I can tell, we personally don’t use the long description in our build process. Till execution of descriptions is resolved, perhaps give us the option to not attempt to pass it through?

Similar issues: #410, which was closed as a duplicate of #327 https://issues.jenkins-ci.org/browse/JENKINS-29919

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:4
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
akoeplingercommented, Jan 10, 2018

We’ve worked around this problem by using the EnvInject plugin and setting the ghprbPullLongDescription and ghprbPullTitle variables to empty before the build:

image

0reactions
akhabalicommented, Mar 1, 2022

I have faced the same issue with the double quotes in the PR description. more details in https://github.com/jenkinsci/ghprb-plugin/issues/364#issuecomment-1055508888

Read more comments on GitHub >

github_iconTop Results From Across the Web

Alternate Methods of Excluding a Specific Value
Option 1: Create a Set. Right-click on the desired dimension and select Create Set. Name the set. Exclude the desired members. Click OK....
Read more >
HIDE vs EXCLUDE dimension values in Tableau
The option to 'Hide' or 'Exclude' will appear in a drop-down menu when you right-click on a dimension value in your view. In...
Read more >
Tableau Workaround Part 2: Exclude Values from Filter
Filters can either include or exclude values, and simply applying an include filter will allow any value present in the data to be...
Read more >
"Find and Replace" add options to EXCLUDE lines "With a ...
1) Create a list of results returned from current search engine · 2) Loop this list and do left trim and verify if...
Read more >
Use data exclusions - Google Ads Help
Select the Data exclusions option at the top. Select Advanced Controls from the ... Before you create an exclusion, confirm that the information...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found