Skip to content

Commit fafceec

Browse files
Merge pull request #12 from JohnGemini/jenkins_job
Add build.sh for jenkins job
2 parents e5ae657 + 69b4c7e commit fafceec

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
set -x
4+
TIME=$(/bin/date "+%Y%m%d-%H%M")
5+
OUTPATH=$1
6+
7+
/bin/mount -t cifs -o username=poweruser,password=geminipower //172.16.200.50:${OUTPATH} /opt/server/
8+
/bin/tar --exclude='build.sh' --exclude='.*' -czvf /opt/server/gemini-solution-builder-${TIME}.tar.gz gemini_solution_builder
9+
/bin/umount /opt/server

0 commit comments

Comments
 (0)