awslabs / awslabs/aws-codebuild-jenkins-plugin

Unable to specify variable type in environment variables override

Open
#117 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
156
Forks
130
PR merge metrics
No merged PRs in 30d

Description

When I try to pass in a name value pair in environment variables, the type gets set to PLAINTEXT even though the type in the job was set to SECRETS_MANAGER. I'd like to be able to specify the type of the variable during the start build envVariables override. This is how it already works on the AWS CLI:
![image](https://user-images.githubusercontent.com/31890596/155584411-c117c255-fd9d-4521-9fcf-db08b108339d.png)

CodeBuild environment variable keys and values cannot be empty and the string must be of the form [{key, value}, {key2, value2}] (Service: null; Status Code: 0; Error Code: null; Request ID: null; Proxy: null

Contributor guide

Open the contributing guide

Research direction

Start at the Jenkins build step's start-build envVariables override handling and compare its accepted environment-variable shape with the AWS CLI syntax shown in the issue. Done means an override can specify a variable type and preserve SECRETS_MANAGER instead of forcing PLAINTEXT, while retaining validation for non-empty keys and values.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java
Domain
ci-cd, cloud, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.