blob: a5599a7e8ccc93758c7794d85cde55b23984c931 [file] [log] [blame]
Gary Wu213a8352017-06-16 13:44:28 -07001#!/bin/bash
2
3git config --global user.email "jenkins@localhost"
4git config --global user.name "jenkins"
5
6cd ~/jenkins
7
8cp /etc/skel/.profile .
9cat > .bashrc <<EOF
10alias ls='ls --color -F'
11EOF
12
13git init
14
15git add -A
16git commit -m 'Initial installation config'
17
18mkdir -p ~/.m2
19cp /vagrant/settings.xml ~/.m2
20rm -f secrets/initialAdminPassword
21rm -rf users/admin
22rsync -avP /vagrant/jenkins/ .
23
24git add -A
25git commit -m 'Set up jenkins user'
26