appcenter-docs
appcenter-docs copied to clipboard
Include $AGENT_JOBSTATUS in documentation
Can you include $AGENT_JOBSTATUS
in the documentation? It's in an example, but it isn't actually documented, so it's super easy to miss.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: ca50588e-c8ad-2b8e-683f-bc5fc612dfe4
- Version Independent ID: 5d9513bd-d179-eaeb-96aa-06bd5ba0224f
- Content: Build Scripts - Visual Studio App Center
- Content Source: docs/build/custom/scripts/index.md
- Service: vs-appcenter
- GitHub Login: @derpixeldan
- Microsoft Alias: daadam
None of the available $Agent_
variables is currently exposed in our documentation. I'm assigning it to my colleague to evaluate if we want to state this here.
@derpixeldan Any update on including $AGENT_JOBSTATUS
in the docs?
I've just seen it and would like to use it to run a post-build script only if the build succeeds
@dipree Would those variables fit here instead? If so, I can help if you can give me a list + short description of what to add https://docs.microsoft.com/en-us/appcenter/build/custom/variables/#pre-defined-variables
@King-of-Spades Yes having them in pre defined variables would be great.
@King-of-Spades a simple link to this doc would be fine https://docs.microsoft.com/fr-fr/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml
@LinFeiLong Hi, I'm actually no longer at Microsoft, sorry that I lost track of this back then. You can open a PR directly, or @lucen-ms might be able to help out.
If you do open the PR directly, make sure to remove the /fr-fr/
part of the link, since that's a localization code, and should be auto-added based on the user's locale.