Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Plugin Information

View AWS SQS Build Trigger on the plugin site for more information.

This plugin is up for adoption. The maintainer is looking for a co-maintainer. Click here to learn more!

Jenkins plugin that triggers builds on events that are published via Amazon Simple Queue Service (SQS)

All documentation can be found here -> https://github.com/jenkinsci/aws-sqs-plugin

2 Comments

  1. Unknown User (ddevassy)

    Hi Experts,

    I'm a newbee to AWS SQS Plugin. I was wondering  if there is way to access the payload from the webhook received from github.

     

     

    Connection: keep-alive
    Content-Length: 190
    Content-Type: application/json
    Date: Thu, 19 Jul 2018 05:17:25 GMT
    Via: 1.1 a9ced60f02a91a154a8631077a254a91.cloudfront.net (CloudFront)
    x-amz-apigw-id: ABCD
    X-Amz-Cf-Id: AEp8-9CfU6A==
    x-amzn-RequestId: 0562f232-
    X-Amzn-Trace-Id: Root=1-5b501ee4-f3;Sampled=0
    X-Cache: Miss from cloudfront

     

    {
      "status" : "success",
      "message" : "enqueued 1 messages",
      "SQSMessageIds": ["51c4aXXXf185"],
      "request_id": "056-XXX-580"
    }

     

    The specific question is "How to access Data from SQSMessageIds inside Jenkins?

     

    Please correct if I'm missing something.

    1. Unknown User (ddevassy)

      Issue got fixed.

      Add parameterized String parameter "sqs_body". After that we can read the env variable using $sqs_body.

      Thanks,

      Disen