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

Job should provide doDescription to allow easy manipulation over http

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      It would be great if it were easy to set the description over http, so events
      that occur that might change something about the build can easily update the
      description for everyone to see! An example that would be useful here is when
      deploying a branch, update the description of the project for that branch with
      the revision, timestamp, and environment it was deployed to.

      Attached is a patch which implements this! Now you can easily do:

      wget http://localhost:8080/job/test/description --post-data="description=new"

          [JENKINS-4802] Job should provide doDescription to allow easy manipulation over http

          mcrooney added a comment -

          Created an attachment (id=998)
          patch implementing doDescription

          mcrooney added a comment - Created an attachment (id=998) patch implementing doDescription

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/Job.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=23626
          Log:
          [FIXED JENKINS-4802] in 1.334. The patch was slightly modified.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/model/Job.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=23626 Log: [FIXED JENKINS-4802] in 1.334. The patch was slightly modified.

            Unassigned Unassigned
            mcrooney mcrooney
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: