lib/danger/ci_source/jenkins.rb in danger-0.9.1 vs lib/danger/ci_source/jenkins.rb in danger-0.10.0
- old
+ new
@@ -1,9 +1,10 @@
# https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-JenkinsSetEnvironmentVariables
# https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin
module Danger
module CISource
+ # https://jenkins-ci.org
class Jenkins < CI
def self.validates?(env)
return false unless env["ghprbPullId"].to_i > 0
return false unless env["GIT_URL"]