Disable 'Run pipeline for branch' option when pipeline is not enabled for repository

XMLWordPrintable

      As a user I don't want to see the 'Run pipeline for branch' in /branches view when the pipeline feature is disabled.

      Steps to reproduce:

      1. Go to your repository without pipelines enabled
      2. Navigate to branches
      3. In branch list view, got to three dot menu at the right side and click it
      4. Select 'Run pipeline for branch'

      Result:

      It will show a message telling that pipeline is not enable for current repository
      Expected result:
      No option for running pipelines at all

        1. Screen Shot 2019-04-23 at 5.32.37 PM.png
          23 kB
          Jimmy Garita
        2. Screen Shot 2019-04-23 at 5.33.15 PM.png
          12 kB
          Jimmy Garita

              Assignee:
              Unassigned
              Reporter:
              Jimmy Garita
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: