Sha256: ddfb41878152b192034f9a4f7922e197574b7f2dd5a219ff4e8ddcf95f04e671
Contents?: true
Size: 1.23 KB
Versions: 7
Compression:
Stored size: 1.23 KB
Contents
# coding: UTF-8 require 'rake' namespace :dad do namespace :jenkins do desc 'Jenkinsをインストールします。' task :install do [ "sudo bash #{File.dirname(__FILE__)}/jenkins_install.sh", "sudo cp -f #{File.dirname(__FILE__)}/jenkins.conf /etc/httpd/conf.d", "sudo cp -f #{File.dirname(__FILE__)}/jenkins /etc/sysconfig", "sudo chown root:root /etc/sysconfig/jenkins", "sudo chmod 600 /etc/sysconfig/jenkins", "sudo mkdir /var/lib/jenkins/plugins", "sudo chown jenkins:jenkins /var/lib/jenkins/plugins", "sudo wget http://updates.jenkins-ci.org/download/plugins/build-pipeline-plugin/1.3.3/build-pipeline-plugin.hpi -O /var/lib/jenkins/plugins/build-pipeline-plugin.hpi", "sudo wget http://updates.jenkins-ci.org/download/plugins/git/1.1.26/git.hpi -O /var/lib/jenkins/plugins/git.hpi", "sudo wget http://updates.jenkins-ci.org/download/plugins/rake/1.7.7/rake.hpi -O /var/lib/jenkins/plugins/rake.hpi", "sudo wget http://updates.jenkins-ci.org/download/plugins/rubyMetrics/1.5.0/rubyMetrics.hpi -O /var/lib/jenkins/plugins/rubyMetrics.hpi", ].each do |command| puts command system(command) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems