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

Error 403 when creating new node through Powershell

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • Jenkins 2.440.3

      In the past, I was able to create a new Windows node using Powershell with my username and an API Token. The idea is to auto-install a new node and let it automatically join to Jenkins once all the tools are ready.

      Now, I always get an error 403 back, but the node is created on Jenkins. I already tried different approaches, including the creation of a crumb and passing it along my post request. But as far as I understood, this should not even be required when using API Tokens.

      I really don't understand why it's throwing a 403 when everything seems to work. I have attached my script.

            Unassigned Unassigned
            vogtmh Maximilian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: