Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build? #67

Open
xjaroo opened this issue Dec 8, 2017 · 1 comment
Open

how to build? #67

xjaroo opened this issue Dec 8, 2017 · 1 comment

Comments

@xjaroo
Copy link

xjaroo commented Dec 8, 2017

I can get all job by the following ,but i can't build i got 'Server returned unexpected status code: 403'

jenkins.all_jobs({token: jenkins_token,}, function(err, data) {
if (err){ return console.log(err); }
console.log(data)
});

jenkins.build('xxx',function(err, data) {
if (err){ return console.log(err); }
console.log(data)
});

@boycezheng
Copy link

boycezheng commented Jul 25, 2018

@xjaroo
I got the same problem. And here is my solution :
disable CSRF Protection (Manage Jenkins ->Configure Global Security )
I hope it will help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants