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

Can't remotely start parameterized build whilst security enabled.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: _unsorted, core
    • Labels:
    • Environment:
      Windows Server 2008R2SP2, Tomcat 7.0.22, Java 1.7
    • Similar Issues:

      Description

      Greetings,

      I have some problem starting parameterized build remotely:
      In Jenkins I have "Project-based Matrix Authorization Strategy" configured, and "Anonymous" use has Job::Read privilege set. In some Job I have "Enable project-based security" enabled and Job::Build privilege set for "Anonymous".
      Now I need to start this Job remotely. - Enabling "Trigger builds remotely" and entering "Authentication Token": D8CB8833B46B4B9D8BCBB7DD4DF1A55B. I can start this Job entering next:
      http://JENKINS/job/Distribute/build?token=D8CB8833B46B4B9D8BCBB7DD4DF1A55B
      link into my browser.
      Now adding parameter to this Job: "This build is parameterized", "String Parameter" - 'BuildName'. Trying to start Job remotely: entering next:
      http:// JENKINS /job/Distribute/build?token=D8CB8833B46B4B9D8BCBB7DD4DF1A55B\&BuildName=aaa
      link into the same browser. - By some reason Login Form appears, which asks me for User/Password.

      Best regards...

        Attachments

          Activity

          _hunter Victor Morozko created issue -
          Hide
          _hunter Victor Morozko added a comment -

          Sorry – my mistake: completely missed “buildWithParameters” tartet.

          Show
          _hunter Victor Morozko added a comment - Sorry – my mistake: completely missed “buildWithParameters” tartet.
          _hunter Victor Morozko made changes -
          Field Original Value New Value
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          ircbot Jenkins IRC Bot made changes -
          Component/s core [ 15593 ]
          Component/s parameters [ 15594 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 142154 ] JNJira + In-Review [ 205513 ]
          ircbot Jenkins IRC Bot made changes -
          Component/s _unsorted [ 19622 ]
          Component/s security [ 15508 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              _hunter Victor Morozko
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: