Open dzintars opened 3 years ago
I had got it worked only as http
and public Jenkins IP address. So there is something to deal with ... proxy, TLS termination, God knows what else.
Detect Jenkinsfile syntax, output No Jenkinsfile specified
+1
+1
+1
Did anyone get this problem fixed?
Some work around suggest setting up env variables but no luck ...
I've got it working by setting the connector.url
, connector.user
and connector.token
only. When you set the connector.token
you do not need the connector.pass
and connector.crumbUrl
.
If you got the following error: Error: unable to verify the first certificate
then make sure to set the connector.strictssl
to false.
Hope it helps.
I confirm solution proposed by @sapipeti worked like a charm. Thank You!
Wanted to try out this extension, but without no luck.
I have pretty secure http2 proxy in front of my Jenkins, but i assume that https should work just fine with this extension.
Postman GET
https://jenkins.example.com/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,%22:%22,//crumb)
initially returns just 500 with:Jenkins logs of Postman error:
which tells me that Postman somehow automatically appended
HTTP/1.1
to thexpath
query parameter (not sure why). After manually removing it i get response 200 with:Which tells me that my Jenkins instance is healthy.
But the extension still does not work.
I have no way to test
http
only and i am not sure is it relevant there at all.Similar issues: https://github.com/janjoerke/vscode-jenkins-pipeline-linter-connector/issues/1 https://github.com/janjoerke/vscode-jenkins-pipeline-linter-connector/issues/2 https://github.com/janjoerke/vscode-jenkins-pipeline-linter-connector/issues/13
P.S Keys are faked. 😃