blob: 776f2db73b43fccc48d22cc789c27ec7ef1b2e35 [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
Gary Wu3824c752017-06-22 12:40:23 -07006cd ~jenkins
Gary Wu213a8352017-06-16 13:44:28 -07007
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