<commit_before>require 'formula'

class Jenkins < Formula
  homepage 'http://jenkins-ci.org'
  url 'http://mirrors.jenkins-ci.org/war/1.459/jenkins.war', :using => :nounzip
  version '1.459'
  md5 '7f7fa0110923158bcbd2268d39197750'
  head 'https://github.com/jenkinsci/jenkins.git'

  def install
    system "mvn clean install -pl war -am -DskipTests && mv war/target/jenkins.war ." if ARGV.build_head?
    lib.install "jenkins.war"
    plist_path.write startup_plist
    plist_path.chmod 0644
  end

  def caveats; <<-EOS<commit_msg>Jenkins: Update to 1.462<commit_after>require 'formula'

class Jenkins < Formula
  homepage 'http://jenkins-ci.org'
  url 'http://mirrors.jenkins-ci.org/war/1.462/jenkins.war', :using => :nounzip
  version '1.462'
  md5 '06c219c7f23f20c5f153566ee017a8cc'
  head 'https://github.com/jenkinsci/jenkins.git'

  def install
    system "mvn clean install -pl war -am -DskipTests && mv war/target/jenkins.war ." if ARGV.build_head?
    lib.install "jenkins.war"
    plist_path.write startup_plist
    plist_path.chmod 0644
  end

  def caveats; <<-EOS
{'fraction_non_alphanumeric': 0.1278962001853568, 'fraction_numerical': 0.06950880444856349, 'mean_word_length': 3.675324675324675, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4861305', 'n_tokens_mistral': 472, 'n_tokens_neox': 412, 'n_words': 84}