alefragnani / vscode-jenkins-status

Jenkins Status Extension for Visual Studio Code
MIT License
27 stars 20 forks source link

New Command: Build Job #12

Open alefragnani opened 7 years ago

alefragnani commented 7 years ago

Splited from #11

pzelnip commented 6 years ago

One thing about this one is if one has CSRF protection set up on the Jenkins instance, then you need to acquire a crumb to trigger builds (since the build API requires a POST and not a GET). See "CSRF Protection" on https://wiki.jenkins.io/display/jenkins/remote+access+api

Mark-Foresta commented 6 years ago

I don't know if this will be useful in master but I did get this working for my Jenkins Server. It is extremely basic as this is the first time I have touched Javascript or Typescript. It does not handle CSRF yet in any way but I don't have a server with it configured where I can test. If you would like me to open a pull request I can do so?