Move 'chown' and and 'mkdir /tmp/jenkins-home' commmands to setup.sh. Add 'exit 0' commands to the cleanup Bash shell scripts. Add 'echo' commands to log build progress.
10 lines
289 B
Bash
Executable File
10 lines
289 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
rm -Rf `find . -name "BACKUPDEFAULT*"`
|
|
rm -Rf `find . -name "ConfigDiskDir*"`
|
|
rm -Rf `find . -name "locator*" | grep -v "src" | grep -v "locator-application"`
|
|
rm -Rf `find . -name "newDB"`
|
|
rm -Rf `find . -name "server" | grep -v "src"`
|
|
rm -Rf `find . -name "*.log"`
|
|
exit 0
|