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

Redirect request for parambuild first to login page if not logged in

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We want to trigger job with parameter via link from external web page.
      If the user is logged in the link http://jenkins:9090/job/test/parambuild/?p1=A&p2=B works.
      If the user is not logged in a "Error 404 Not Found" is shown.

      Is it possible that requests to parambuild are redirected to login page ( e.g. http://jenkins:9090/login?from=%2Fjob%2Ftest%2Fparambuild%2F%3Fp1%3D1%26p2%3D2 ) if user is not logged in?

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: isugonyak
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/buildwithparameters/BuildWithParametersAction.java
            http://jenkins-ci.org/commit/build-with-parameters-plugin/bb1a7ca9bfc9780b82c05f19b1bc14ba5614f09f
            Log:
            Fixed 404 error JENKINS-25534

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: isugonyak Path: pom.xml src/main/java/org/jenkinsci/plugins/buildwithparameters/BuildWithParametersAction.java http://jenkins-ci.org/commit/build-with-parameters-plugin/bb1a7ca9bfc9780b82c05f19b1bc14ba5614f09f Log: Fixed 404 error JENKINS-25534
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ivan Sugonyak
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/buildwithparameters/BuildWithParametersAction.java
            http://jenkins-ci.org/commit/build-with-parameters-plugin/04ca138309b71bb3693f36d802ebb6bd0b38d348
            Log:
            Merge pull request #11 from sugonyakivan/master

            Fixed 404 error JENKINS-25534

            Compare: https://github.com/jenkinsci/build-with-parameters-plugin/compare/bf4e7f81175d...04ca138309b7

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ivan Sugonyak Path: pom.xml src/main/java/org/jenkinsci/plugins/buildwithparameters/BuildWithParametersAction.java http://jenkins-ci.org/commit/build-with-parameters-plugin/04ca138309b71bb3693f36d802ebb6bd0b38d348 Log: Merge pull request #11 from sugonyakivan/master Fixed 404 error JENKINS-25534 Compare: https://github.com/jenkinsci/build-with-parameters-plugin/compare/bf4e7f81175d...04ca138309b7
            Hide
            sugonyak_ivan Ivan Sugonyak added a comment -

            Released with 1.4 version.

            Show
            sugonyak_ivan Ivan Sugonyak added a comment - Released with 1.4 version.

              People

              Assignee:
              sugonyak_ivan Ivan Sugonyak
              Reporter:
              hjhafner Hans-Juergen Hafner
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: