Learn about our new features recently updated daily.
AWS CodePipeline is a continuous delivery service you can use to model, visualize, and automate the steps required to release your software. You can quickly model and configure the different stages of a software release process.
Steps
Setting up the Stage
Step 1
  1. Access your CodePipeline from aws and click on Edit
  2. Click on Add stage
  3. Set the name as beagle-test-trigger
  4. Click Add action group on beagle-test-trigger
    • Set Action name to test-trigger
    • Set Action Provider as AWS CodeBuild
    • Set Input Artifacts
    • At Project Name click on Create Project
    • On Environment set Environment Image to Custom Image
    • Set Environment type to Linux
    • Set Image Registry to Other Registry
    • Set External registry URL to beaglesecurity/beagle-test-trigger-common
    • In Additional Configurations Set Environment Variables ACCESS_TOKEN and APPLICATION_TOKEN, to do so click on create parameter -> set name ACCESS_TOKEN value as your access token generated from beagle. Repeat the same for APPLICATION_TOKEN. Now the value field of enviroment will be loaded with parameter reference. Name them as ACCESS_TOKEN and APPLICATION_TOKEN in their respective Name fields
    • In Build Spec select Insert Build Commands, At build commands type trigger-test
    • Set your log preference and click on Continue to CodePipeline
    • Click Done
  5. Now when you build the CodePipeline the beagle-test-trigger stage will be invoked and your test will be automatically triggered!
Walkthrough

Next

You have successfully triggered a test using AWS CodePipeline. Now you can try with other tools as well