Skip to content

reload-configuration-as-code/?casc-reload-token=<token> throws HTTP/1.1 403 Forbidden  #2524

Description

@mjayksharma

Jenkins and plugins versions report

Environment
Jenkins version: 2.452.2
configuration as code plugin version: 1810.v9b_30a_249a_4c

What Operating System are you using (both controller, and any agents involved in the problem)?

jenkins/jenkins:2.452.2-lts-alpine docker image platform=linux/amd64

Only controller is involved in the problem

Reproduction steps

  1. set JAVA_OPTS environment variable -Dcasc.reload.token=
image
  1. curl -X POST "JENKINS_URL/reload-configuration-as-code/?casc-reload-token="
image

Expected Results

Reload successfull with 200 response code

Actual Results

403 Forbidden. Authentication required

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions