lib/danger/ci_source/jenkins.rb in danger-3.0.1 vs lib/danger/ci_source/jenkins.rb in danger-3.0.2

- old
+ new

@@ -3,27 +3,30 @@ module Danger # https://jenkins-ci.org # ### CI Setup - # Ah Jenkins, so many memories. So, if you're using Jenkins, you're hosting your own environment. You + # Ah Jenkins, so many memories. So, if you're using Jenkins, you're hosting your own environment. # # #### GitHub # You will want to be using the [GitHub pull request builder plugin](https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin) # in order to ensure that you have the build environment set up for PR integration. # # With that set up, you can edit your job to add `bundle exec danger` at the build action. # - # ### GitLab + # #### GitLab + # You will want to be using the [GitLab Plugin](https://github.com/jenkinsci/gitlab-plugin) + # in order to ensure that you have the build environment set up for MR integration. # - # You will want to be using the [GitLabe Plugin](https://github.com/jenkinsci/gitlab-plugin) - # in order to ensure that you have the build environment set up for PR integration. - # # With that set up, you can edit your job to add `bundle exec danger` at the build action. # # ### Token Setup # - # As you own the machine, it's up to you to add the enviroment variable for the `DANGER_GITHUB_API_TOKEN`. + # #### GitHub + # As you own the machine, it's up to you to add the environment variable for the `DANGER_GITHUB_API_TOKEN`. + # + # #### GitLab + # As you own the machine, it's up to you to add the environment variable for the `DANGER_GITLAB_API_TOKEN`. # class Jenkins < CI def self.validates_as_ci?(env) env.key? "JENKINS_URL" end