Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35872

API for editing pipeline settings

XMLWordPrintable

      In Scope

      Modify for any job type:

      • enable or disable the job
      • change it's name
      • look up if its enabled or disabled
      • pass an "organization" name with every request

      Modify for multi-branch pipelines:

      • Enable/disable automatically building branches
      • Set a pattern (ant glob or regex) for building branches that match the pattern
        • e.g. feature/* will only build branches starting with the feature/ prefix.
      • Enable/disable automatically building pull requests
      • Enable/disable building Pull Requests originating from forked repositories
        • Use case: we only build PRs who's branches are in the same source repo for security purposes
      • change credentials used
      • change repo details (url, or owner/name in the case of github/bitbucket)
      • Change api endpoint (or bitbucket ssh port)

      Future extensibility

      • As there are other branch source and repo types, the api should be able to cope with config specific to different branch sources, avoid assuming the world is git

      Out of scope:

      • Add multiple branch sources
      • Changing the job type
      • Deleting the job
      • Create a freestyle job type
      • Changing the branch source type from, say, github to bitbucket

            Unassigned Unassigned
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: