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

Bug: Post methods return an http error but the command works #79

Open
clementallen opened this issue Oct 5, 2018 · 0 comments
Open

Comments

@clementallen
Copy link
Owner

Steps to replicate:
Run the following:

const smithers = new Smithers('https://jenkinsurl.com', {
    crumbIssuer: true,
    auth: {
        username: '**username**',
        password: '**password**'
    }
});

smithers.startQuietDown().then(console.log).catch(console.warn);

Jenkins will start quiet mode correctly but the following error will be returned from Smithers:

Error: 403 | Forbidden
    at exports.default.error (/www/github/smithers/lib/utils/formatError.js:18:12)
    at /www/github/smithers/lib/Caller.js:49:49
    at Generator.throw (<anonymous>)
    at step (/www/github/smithers/lib/Caller.js:17:191)
    at /www/github/smithers/lib/Caller.js:17:402
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
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

1 participant