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

auth & ncu-ci: add jenkins authentication, refactor ci parsers #260

Merged
merged 2 commits into from
Jun 21, 2018

Conversation

joyeecheung
Copy link
Member

Fixes: #257

After this #259 should be easier to fix as well

let { username, jenkins_token } = getMergedConfig();
if (!username || !jenkins_token) {
process.stdout.write(
'Get your Jenkins API token in https://ci.nodejs.org/me/configure ' +
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not added any documentation on how to get the Jenkins API token but it's pretty obvious if you follow this error message. It's only used when you use ncu-ci anyway.

@codecov
Copy link

codecov bot commented Jun 21, 2018

Codecov Report

Merging #260 into master will decrease coverage by 0.33%.
The diff coverage is 81.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #260      +/-   ##
==========================================
- Coverage   80.46%   80.12%   -0.34%     
==========================================
  Files          21       22       +1     
  Lines        1203     1253      +50     
==========================================
+ Hits          968     1004      +36     
- Misses        235      249      +14
Impacted Files Coverage Δ
lib/ci/ci_failure_parser.js 80% <ø> (ø)
lib/config.js 78.12% <100%> (ø)
lib/ci/ci_result_parser.js 61.26% <100%> (ø)
lib/pr_checker.js 98.39% <100%> (ø) ⬆️
lib/auth.js 80.85% <77.41%> (-13.44%) ⬇️
lib/ci/ci_type_parser.js 80.95% <80.95%> (ø)
lib/file.js 79.16% <0%> (+8.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 08dd38f...b87f187. Read the comment docs.

@priyank-p priyank-p merged commit 2b7700f into nodejs:master Jun 21, 2018
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

Successfully merging this pull request may close these issues.

ncu-ci: authenticate before accessing jenkins
2 participants