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

Can't remotely start parameterized build whilst security enabled.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • _unsorted, core
    • Windows Server 2008R2SP2, Tomcat 7.0.22, Java 1.7

    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

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

          _hunter Victor Morozko added a comment - Sorry – my mistake: completely missed “buildWithParameters” tartet.

          People

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

            Dates

              Created:
              Updated:
              Resolved: