jenkinsci / jenkinsci/http-request-plugin

[JENKINS-55193] request body json not reading variables

Open
#285 0 comments 0 reactions 0 assignees View on GitHub
component:http-request-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
176
Forks
158
Avg merge
1d 16h
Merged PRs (30d)
3

Description

We are using this plugin to hit the internal application with POST request by passing JSON payload in request body.

When we tried to pass build parameters in the JSON payload of request body in the freestyle job its working as expected.

But when we tried to create declarative pipeline with the same configuration similar to the above mentioned freestyle job its not working as expected.

In the pipeline job plugin is not reading the build variables in JSON payload of the request body. 

---
Originally reported by gajulapalli, imported from: request body json not reading variables


  • assignee: janario
  • status: Open
  • priority: Minor
  • component(s): http-request-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20260702-081740

Raw content of original issue

We are using this plugin to hit the internal application with POST request by passing JSON payload in request body.

When we tried to pass build parameters in the JSON payload of request body in the freestyle job its working as expected.

But when we tried to create declarative pipeline with the same configuration similar to the above mentioned freestyle job its not working as expected.

In the pipeline job plugin is not reading the build variables in JSON payload of the request body. 

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.