wget 'https://github.com/redmine/redmine/tarball/2.1.2'
tar zxf 2.1.2
mv redmine-redmine-f8a6f92/ redmine-2.1.2
cd redmine-2.1.2/
bundle install --path vendor/bundle --without mysql postgresql
rake generate_secret_token
vi config/database.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| keystore = "/etc/java-6-sun/security/cacerts" | |
| keystore_pass = "foobar" | |
| # you'll need foo.cert et. al. in files/default | |
| certs = %w{foo bar bang} | |
| certs.each do |cert| | |
| cookbook_file "#{Chef::Config[:file_cache_path]}/#{cert}.cert" do | |
| source "#{cert}.cert" | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // A Declarative Pipeline is defined within a 'pipeline' block. | |
| pipeline { | |
| // agent defines where the pipeline will run. | |
| agent { | |
| // This also could have been 'agent any' - that has the same meaning. | |
| label "" | |
| // Other possible built-in agent types are 'agent none', for not running the | |
| // top-level on any agent (which results in you needing to specify agents on | |
| // each stage and do explicit checkouts of scm in those stages), 'docker', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| if [ $# -eq 0 ]; then | |
| echo "USAGE: $0 plugin1 plugin2 ..." | |
| exit 1 | |
| fi | |
| plugin_dir=/var/lib/jenkins/plugins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tracking and contributing to the trunk of a Subversion-managed project: | |
| # Clone a repo (like git clone): | |
| git svn clone http://svn.example.com/project/trunk | |
| # Enter the newly cloned directory: | |
| cd trunk | |
| # You should be on master branch, double-check with 'git branch' | |
| git branch | |
| # Do some work and commit locally to git: | |
| git commit ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| keystore = "/etc/java-6-sun/security/cacerts" | |
| keystore_pass = "foobar" | |
| # you'll need foo.cert et. al. in files/default | |
| certs = %w{foo bar bang} | |
| certs.each do |cert| | |
| cookbook_file "#{Chef::Config[:file_cache_path]}/#{cert}.cert" do | |
| source "#{cert}.cert" | |
| end |