Before Use You Need To Know

  • Your API Key From Mend Dashboard

  • Your Project Name

  • Your Agent URL

How To Use

Step 1 : Edit buildspec.yml

Add These To Your buildspec.yml

#### Part Of pre_build ####

pre_build :
  commands:
    - command 1 
	  - command 2
	  - curl -LJO https://<mend_script_donwload_url>
	  
#### Part Of post_build ####
  post_build:
    commands:
	    - command 1 
		  - bash <mend_script>.sh -apiKey $ws_api_key -project gw-demo-codebuild -d <lib_path> -wss.url https://<agent_url>

Looks Like This Screen

Step 2 Go To AWS Codebuild Dashboard Add ENV Value

Step 3 Re-Upload Your File, In This Case I’ll Upload To S3 Bucket.

Step 4 Rebuild Again

Then Wait Until Show Success

Step 5 Go To Mend Dashboard And Verify