Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat taskdef.json | jq '
- .taskDefinition.containerDefinitions[].environment
- | map(if .name == "ARTIFACT_LOCATION"
- then . + {"value" : "2"}
- else . end)'
- cat taskdef.json | jq '
- .taskDefinition.containerDefinitions[].environment
- | map(if .name == "ARTIFACT_LOCATION"
- then . + {"value" : "**$NEW_ARTIFACTORY_LOCATION**"}
- else . end)'
Add Comment
Please, Sign In to add comment