Summary Table
| Categories |
Total Count |
| PII |
0 |
| URL |
0 |
| DNS |
0 |
| EKL |
0 |
| IP |
0 |
| PORT |
0 |
| VsID |
0 |
| CF |
0 |
| AI |
0 |
| VPD |
0 |
| PL |
0 |
| Other |
0 |
File Content
#!/bin/bash
#installation of gradle - DO NOT TOUCH THESE STEPS IF YOU ARE A DEV!!!!!!!
grep -i gradleversion build.gradle
gradle_version=$(grep -i gradleversion build.gradle | sed 's/gradleVersion = //' | sed "s/ //g" | tr -d \'\")
echo ${gradle_version}
cd /opt
yum install -y wget unzip git
wget https://services.gradle.org/distributions/gradle-$gradle_version-bin.zip
unzip gradle-${gradle_version}-bin.zip
ln -s gradle-${gradle_version} gradle
export GRADLE_HOME=/opt/gradle
export PATH=$PATH:$GRADLE_HOME/bin
cd -
#build steps - Developers: these are the only steps you are allowed to modify
./gradlew -xtest -DisWeblogic=true -PbuildNumber=ivs-build-1 clean build --stacktrace
#copying over the
war_file_path="$(for i in `find /root/ -type d -iname libs`; do find $i/ -iname "*.war"; done)"
cp -pr ${war_file_path} /root/
cp -pr /root/*.war /root/workspace/