appcenter-docs icon indicating copy to clipboard operation
appcenter-docs copied to clipboard

Include $AGENT_JOBSTATUS in documentation

Open nchase opened this issue 5 years ago • 6 comments

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.

nchase avatar Oct 30 '19 17:10 nchase

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.

dipree avatar Oct 31 '19 09:10 dipree

@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

karltaylor avatar Dec 12 '19 16:12 karltaylor

@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 avatar Mar 13 '20 21:03 King-of-Spades

@King-of-Spades Yes having them in pre defined variables would be great.

Jesusrz001 avatar Mar 30 '20 06:03 Jesusrz001

@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 avatar Jul 27 '21 16:07 LinFeiLong

@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.

King-of-Spades avatar Aug 03 '21 22:08 King-of-Spades