There are differences of environment variables between bash and node. | param | bash | node | |---|---|---| | branch | BUILD_SOURCEBRANCHNAME | BUILD_SOURCEBRANCH | | build | BUILD_BUILDNUMBER | BUILD_BUILDID | | pr | PULL_REQUEST_NUMBER | SYSTEM_PULLREQUEST_PULLREQUESTNUMBER |
There are differences of environment variables between bash and node.