You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
We are trying to automate the process of creating credentails on Jenkins UI. We are using below script. While running the script getting 200 as response code but the credentails are not added/saved on jenkins UI. Can you please help us in this.
credentails.xml
<com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl> <scope>GLOBAL</scope> <id>deploy-key</id> <description>This is an example from REST API</description> <username>wecoyote</username> <password>secret123</password> </com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl>
test.py
import requests from requests.auth import HTTPBasicAuth head = {'Content-Type': 'application/xml'}