Guest User

Untitled

a guest
Jul 17th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. cat taskdef.json | jq '
  2. .taskDefinition.containerDefinitions[].environment
  3. | map(if .name == "ARTIFACT_LOCATION"
  4. then . + {"value" : "2"}
  5. else . end)'
  6.  
  7. cat taskdef.json | jq '
  8. .taskDefinition.containerDefinitions[].environment
  9. | map(if .name == "ARTIFACT_LOCATION"
  10. then . + {"value" : "**$NEW_ARTIFACTORY_LOCATION**"}
  11. else . end)'
Add Comment
Please, Sign In to add comment