• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      The documentation in trigger builds remotely says

      Optionally append &cause=Cause+Text to provide text that will be included in the recorded build cause.

      The cause doesn't work for parameterized builds.

      Also the documentation should state that the trigger URL in that case has buildWithParameters not build...

      Already requested in wiki

          [JENKINS-7004] cause not working in parameterized projects

          anshnd created issue -

          anshnd added a comment -

          assigning to parameters and not to unrelated parameterized-trigger

          anshnd added a comment - assigning to parameters and not to unrelated parameterized-trigger
          anshnd made changes -
          Component/s New: parameters [ 15594 ]
          Component/s Original: parameterized-trigger [ 15592 ]
          Alan Harder made changes -
          Assignee Original: huybrechts [ huybrechts ] New: Alan Harder [ mindless ]

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/AbstractProject.java
          trunk/hudson/main/core/src/main/java/hudson/model/ParametersDefinitionProperty.java
          trunk/hudson/main/core/src/main/resources/hudson/model/BuildAuthorizationToken/config.jelly
          trunk/www/changelog.html
          http://jenkins-ci.org/commit/33032
          Log:
          [FIXED JENKINS-7004] Make /buildWithParameters support remote cause and
          user supplied cause text for build via authentication token, just as /build does.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/main/core/src/main/java/hudson/model/AbstractProject.java trunk/hudson/main/core/src/main/java/hudson/model/ParametersDefinitionProperty.java trunk/hudson/main/core/src/main/resources/hudson/model/BuildAuthorizationToken/config.jelly trunk/www/changelog.html http://jenkins-ci.org/commit/33032 Log: [FIXED JENKINS-7004] Make /buildWithParameters support remote cause and user supplied cause text for build via authentication token, just as /build does.
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          anshnd made changes -
          Status Original: Resolved [ 5 ] New: Verified [ 10000 ]
          anshnd made changes -
          Status Original: Verified [ 10000 ] New: Closed [ 6 ]

          Adam Monsen added a comment -

          FYI, it appears cause must follow token in the query string or cause is discarded. For example:

          ?token=x&cause=y

          works, but

          ?cause=y&token=x

          discards cause.

          Adam Monsen added a comment - FYI, it appears cause must follow token in the query string or cause is discarded. For example: ?token=x&cause=y works, but ?cause=y&token=x discards cause .
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: parameters [ 15594 ]

            mindless Alan Harder
            anshnd anshnd
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: