Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-11864

Add BB_PROJECT_TYPE to Hook Scripts

XMLWordPrintable

    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      It would be very useful to know if the repo is in a PERSONAL or NORMAL project from within a hook script.

       

      This would basically map:

      "BB_PROJECT_TYPE", String.valueOf(repo.getProject().getType())

       

      Currently BB_PROJECT_KEY, BB_REPO_IS_FORK and other variables are provided, and can be used to approximate knowing the type of the project, but having it directly available would be useful.

              Unassigned Unassigned
              b014594f3780 nickbroon
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: