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

Remote API to create/delete/modify promotions

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Remote API to create / delete / modify promotions for a job. Similar to the same API for jobs.

      The same - for Jenkins CLI.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Not bothering with CLI commands, just doing REST API for now.

            Show
            jglick Jesse Glick added a comment - Not bothering with CLI commands, just doing REST API for now.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/hudson/plugins/promoted_builds/JobPropertyImpl.java
            src/main/java/hudson/plugins/promoted_builds/PromotedProjectAction.java
            src/test/java/hudson/plugins/promoted_builds/RemoteApiTest.java
            http://jenkins-ci.org/commit/promoted-builds-plugin/98a79660b82648f21035c1359c7542bc99d2faef
            Log:
            [FIXED JENKINS-8963] Added REST API to create promotion processes.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/hudson/plugins/promoted_builds/JobPropertyImpl.java src/main/java/hudson/plugins/promoted_builds/PromotedProjectAction.java src/test/java/hudson/plugins/promoted_builds/RemoteApiTest.java http://jenkins-ci.org/commit/promoted-builds-plugin/98a79660b82648f21035c1359c7542bc99d2faef Log: [FIXED JENKINS-8963] Added REST API to create promotion processes.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/resources/hudson/plugins/promoted_builds/PromotedProjectAction/_api.jelly
            http://jenkins-ci.org/commit/promoted-builds-plugin/1c726a6a2585fcf3debfdac4796789e159164f3d
            Log:
            JENKINS-8963 Documentation of REST API (CRUD operations).

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/resources/hudson/plugins/promoted_builds/PromotedProjectAction/_api.jelly http://jenkins-ci.org/commit/promoted-builds-plugin/1c726a6a2585fcf3debfdac4796789e159164f3d Log: JENKINS-8963 Documentation of REST API (CRUD operations).
            Hide
            eguess74 eguess74 added a comment -

            Jesse,

            Thank you very much for implementing this long awaited feature!!

            Can you please look into adding a separate permission into matrix-based security allowing to create promotions? Do you want it to be pulled into separated bug?

            Thanks!

            Show
            eguess74 eguess74 added a comment - Jesse, Thank you very much for implementing this long awaited feature!! Can you please look into adding a separate permission into matrix-based security allowing to create promotions? Do you want it to be pulled into separated bug? Thanks!
            Hide
            jglick Jesse Glick added a comment -

            Certainly that would be a separate issue. I would not have time to work on it myself (someone else may).

            Show
            jglick Jesse Glick added a comment - Certainly that would be a separate issue. I would not have time to work on it myself (someone else may).

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                kirill_evstigneev Kirill Evstigneev
              • Votes:
                19 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: