SQS Message Attributes are not being passed as job params
Opened this issue · 2 comments
An example of a message from beanstalk with message attributes. These are not being passed to Jenkins jobs as params. We also checked error logs for hudson security and there was no mention that they were even attempted.
It is the expectation that sqs_
is prefixed to each of these message attribute Names correct?
Environment -> sqs_Environment ?
Only the default params are being passed:
sqs_body
sqs_messageId
sqs_bodyMD5
sqs_receiptHandle
There definitely seems like something is not functioning appropriately in SQSTrigger.java
When we read the message in the SQS Queue, we get a json with a dict called "Records". Is there a way to get this Message Body as a dict in Jenkins so that we can access Records details ?? That would be very helpful while using the same queue for different jobs.
Never Mind. I got it through a previous issue #16. Im gonna try this and update here.
P.S. the issue 16 is still open