Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
608 B

  1. // https://confluence.atlassian.com/bitbucket/environment-variables-794502608.html
  2. module.exports = {
  3. detect({env}) {
  4. return Boolean(env.BITBUCKET_BUILD_NUMBER);
  5. },
  6. configuration({env}) {
  7. return {
  8. name: 'Bitbucket Pipelines',
  9. service: 'bitbucket',
  10. commit: env.BITBUCKET_COMMIT,
  11. tag: env.BITBUCKET_TAG,
  12. build: env.BITBUCKET_BUILD_NUMBER,
  13. buildUrl: `https://bitbucket.org/${env.BITBUCKET_REPO_SLUG}/addon/pipelines/home#!/results/${
  14. env.BITBUCKET_BUILD_NUMBER
  15. }`,
  16. branch: env.BITBUCKET_BRANCH,
  17. slug: env.BITBUCKET_REPO_SLUG,
  18. root: env.BITBUCKET_CLONE_DIR,
  19. };
  20. },
  21. };