Config.json Not Reading My Circle CI build #205
-
How you guys made the circle ci build work as its not working for my stuff. How can we pass the dynamic value from CircleCi Build to our config.json file.Here is my config.json file; {
"project": "example-playwright-testbeats",
"run": "E2E Tests",
"targets": [
{
"name": "teams",
"inputs": {
"url": "Teams Webhook",
"title": "example-playwright-testbeats - E2E Tests",
"only_failures": true
},
"extensions": [
{
"name": "hyperlinks",
"inputs": {
"links": [
{
"text": "Tests",
"url": "($CIRCLE_BUILD_URL)"
}
]
}
},
{
"name": "quick-chart-test-summary"
},
{
"name": "ci-info"
}
]
}
],
"results": [
{
"type": "junit",
"files": ["test-results/junit.xml"]
}
]
} |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Dynamic values can be passed through environment variables - Docs: https://docs.testbeats.com/others/environment-variables.html |
Beta Was this translation helpful? Give feedback.
-
It reads the config.json file and adds the url if we read from config.yml in pipeline but it does not posts a circle link in Teams' channel
], |
Beta Was this translation helpful? Give feedback.
-
I want a link of circle ci to be added in the above screenshot. Just an FYI i am not using API key |
Beta Was this translation helpful? Give feedback.
Dynamic values can be passed through environment variables -
{<ENV>}
Docs: https://docs.testbeats.com/others/environment-variables.html
Example: