Couple of questions:

1. Where can I find a list of functions I can call?

    eg I found toggleOffline while searching the internet, I don't think 
its strictly an api method, but where can I find documentation for this and 
other methods?

2. Having a problem authenticating with Jenkins using vbscript, how do I do 
this?  I've tried many different ways but nothing I tried worked.

    url = "http://jenkins/<node 
name>/toggleOffline?offlineMessage=Rebooting"

    With CreateObject("MSXML2.XMLHTTP")
        .open "GET", url, False
        .send
        
        responseText = .responseText
        statusText = .statusText
        status = .status
    End With

    If status <> 200 Then
        ' Call not successful - quit
        WScript.Echo("Status: " & status & " - " & statusText)
        WScript.Echo(responseText)
        WScript.Quit(2)
    End If
    
    WScript.Echo("Response: " & responseText)

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to