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

Does not detect Jenkins CI #488

Closed
fdlk opened this issue Apr 30, 2020 · 1 comment · Fixed by #489
Closed

Does not detect Jenkins CI #488

fdlk opened this issue Apr 30, 2020 · 1 comment · Fixed by #489

Comments

@fdlk
Copy link
Contributor

fdlk commented Apr 30, 2020

I'm running lintr in a Jenkins build to analyze a PR but it is not posting comments to GitHub.

@fdlk
Copy link
Contributor Author

fdlk commented Apr 30, 2020

As a workaround, I've mocked running in travis as follows:

environment {
  // Fake running in a travis CI environment to enable lintr comments
  TRAVIS_REPO_SLUG = "manually/set"
  TRAVIS_PULL_REQUEST = "${CHANGE_ID}"
  TRAVIS_BRANCH = "${CHANGE_TARGET}"
  TRAVIS_COMMIT = "${GIT_COMMIT}"
}

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 a pull request may close this issue.

1 participant