★ wanayoo — archive 1999 https://github.com/nodejs/node-core-utils/pull/260Nouvelle recherche | Portail wanayoo
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

@joyeecheung joyeecheung commented Jun 21, 2018

Fixes: #257

After this #259 should be easier to fix as well

joyeecheung added 2 commits Jun 21, 2018
let { username, jenkins_token } = getMergedConfig();
if (!username || !jenkins_token) {
process.stdout.write(
'Get your Jenkins API token in https://ci.nodejs.org/me/configure ' +

This comment has been minimized.

@joyeecheung

joyeecheung Jun 21, 2018
Author Member

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 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
3 checks passed
3 checks passed
Travis CI - Pull Request Build Passed
Details
codecov/patch 81.55% of diff hit (target 80.46%)
Details
codecov/project Absolute coverage decreased by -0.33% but relative coverage increased by +1.08% compared to 08dd38f
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.