Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TeamCity
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA-朱 晓琳
TeamCity
Commits
6b02ca15
Commit
6b02ca15
authored
May 20, 2016
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add teamcity/workspace/buildxml to git
parents
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
703 additions
and
0 deletions
+703
-0
build_beta.xml
workspace/buildxml/di-ting-ui/build_beta.xml
+24
-0
build_beta2.xml
workspace/buildxml/di-ting-ui/build_beta2.xml
+24
-0
grunt_beta.sh
workspace/buildxml/di-ting-ui/grunt_beta.sh
+39
-0
grunt_beta2.sh
workspace/buildxml/di-ting-ui/grunt_beta2.sh
+39
-0
build_beta.xml
workspace/buildxml/di-ting/build_beta.xml
+25
-0
build_beta2.xml
workspace/buildxml/di-ting/build_beta2.xml
+25
-0
build_beta2.xml
workspace/buildxml/du-jiang-yan/build_beta2.xml
+25
-0
build_beta.xml
workspace/buildxml/han-gu-guan/build_beta.xml
+24
-0
build_beta2.xml
workspace/buildxml/han-gu-guan/build_beta2.xml
+24
-0
build_beta.xml
workspace/buildxml/jian-men-guan/build_beta.xml
+24
-0
build_beta2.xml
workspace/buildxml/jian-men-guan/build_beta2.xml
+24
-0
build_beta.xml
workspace/buildxml/mo-gao-ku/build_beta.xml
+24
-0
build_beta2.xml
workspace/buildxml/mo-gao-ku/build_beta2.xml
+24
-0
build.xml
workspace/buildxml/qin-qiong/build.xml
+24
-0
package.sh
workspace/buildxml/qin-qiong/package.sh
+12
-0
build_beta.xml
workspace/buildxml/xyqb-ui/build_beta.xml
+24
-0
build_beta2.xml
workspace/buildxml/xyqb-ui/build_beta2.xml
+24
-0
build_beta3.xml
workspace/buildxml/xyqb-ui/build_beta3.xml
+24
-0
grunt_beta.sh
workspace/buildxml/xyqb-ui/grunt_beta.sh
+56
-0
grunt_beta2.sh
workspace/buildxml/xyqb-ui/grunt_beta2.sh
+54
-0
grunt_beta3.sh
workspace/buildxml/xyqb-ui/grunt_beta3.sh
+55
-0
grunt_beta_bak.sh
workspace/buildxml/xyqb-ui/grunt_beta_bak.sh
+37
-0
build_beta.xml
workspace/buildxml/xyqb/build_beta.xml
+24
-0
build_beta2.xml
workspace/buildxml/xyqb/build_beta2.xml
+24
-0
No files found.
workspace/buildxml/di-ting-ui/build_beta.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.243"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/di-ting-ui"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/di-ting-ui"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/di-ting-ui/dist"
/>
<property
name=
"jar_name"
value=
"public.tar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/di-ting-ui/build_beta2.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.213"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/di-ting-ui"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/di-ting-ui"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/di-ting-ui/dist"
/>
<property
name=
"jar_name"
value=
"public.tar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/di-ting-ui/grunt_beta.sh
0 → 100755
View file @
6b02ca15
#!/bin/sh
cd
/home/TeamCity/workspace/di-ting-ui/client/app
config_file
=
config.js
echo
configfile :
${
config_file
}
sed
-i
'/^.*\/\/.*var.*apiHost/d'
./
${
config_file
}
sed
-i
"/^.*var.*apiHost/c
\ \ \ \
var
\
apiHost
\
=
\
'http:
\/\/
192.168.192.243:9005
\/
';"
./
${
config_file
}
sed
-i
'/^.*\/\/.*var.*authHost/d'
./
${
config_file
}
sed
-i
"/^.*var.*authHost/c
\ \ \ \
var
\
authHost
\
=
\
'http:
\/\/
192.168.192.243:9002
\/
';"
./
${
config_file
}
sed
-i
'/^.*\/\/.*var.*xyqbApiBaseUrl/d'
./
${
config_file
}
sed
-i
"/^.*var.*xyqbApiBaseUrl/c
\ \ \ \
var
\
xyqbApiBaseUrl
\
=
\
'http:
\/\/
192.168.192.206:9004
\/
';"
./
${
config_file
}
cat
./
${
config_file
}
|
grep
var |
grep
http
cd
/home/TeamCity/workspace/di-ting-ui
rm
-rf
/home/TeamCity/workspace/di-ting-ui/dist
#npm install
#bower install
#npm install --registry=https://registry.npm.taobao.org
#bower install --allow-root
grunt build
cd
/home/TeamCity/workspace/di-ting-ui/dist
tar
-cvf
public.tar public/
ls
-al
# check configfile
cd
/home/TeamCity/workspace/di-ting-ui/dist/public/app
config_file_done
=
`
ls
-l
|grep .app.js
$|
awk
{
'print $9'
}
`
echo
configfile :
${
config_file_done
}
check_num
=
`
cat
./
${
config_file_done
}
|grep xyqb.com|wc
-l
`
if
[
"
${
check_num
}
"
=
1
]
then
echo
config file is ok.
exit
else
echo
some wrong about config file ,program will stop.
devil say hello
fi
workspace/buildxml/di-ting-ui/grunt_beta2.sh
0 → 100755
View file @
6b02ca15
#!/bin/sh
cd
/home/TeamCity/workspace/di-ting-ui/client/app
config_file
=
config.js
echo
configfile :
${
config_file
}
sed
-i
'/^.*\/\/.*var.*apiHost/d'
./
${
config_file
}
sed
-i
"/^.*var.*apiHost/c
\ \ \ \
var
\
apiHost
\
=
\
'http:
\/\/
192.168.192.213:9005
\/
';"
./
${
config_file
}
sed
-i
'/^.*\/\/.*var.*authHost/d'
./
${
config_file
}
sed
-i
"/^.*var.*authHost/c
\ \ \ \
var
\
authHost
\
=
\
'http:
\/\/
192.168.192.213:9002
\/
';"
./
${
config_file
}
sed
-i
'/^.*\/\/.*var.*xyqbApiBaseUrl/d'
./
${
config_file
}
sed
-i
"/^.*var.*xyqbApiBaseUrl/c
\ \ \ \
var
\
xyqbApiBaseUrl
\
=
\
'http:
\/\/
192.168.192.207:9004
\/
';"
./
${
config_file
}
cat
./
${
config_file
}
|
grep
var |
grep
http
cd
/home/TeamCity/workspace/di-ting-ui
rm
-rf
/home/TeamCity/workspace/di-ting-ui/dist
#npm install
#bower install --allow-root
#npm install --registry=https://registry.npm.taobao.org
#bower install --allow-root
grunt build
cd
/home/TeamCity/workspace/di-ting-ui/dist
tar
-cvf
public.tar public/
ls
-al
# check configfile
cd
/home/TeamCity/workspace/di-ting-ui/dist/public/app
config_file_done
=
`
ls
-l
|grep .app.js
$|
awk
{
'print $9'
}
`
echo
configfile :
${
config_file_done
}
check_num
=
`
cat
./
${
config_file_done
}
|grep xyqb.com|wc
-l
`
if
[
"
${
check_num
}
"
=
0
]
then
echo
config file is ok.
exit
else
echo
some wrong about config file ,program will stop.
devil say hello
fi
workspace/buildxml/di-ting/build_beta.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.243"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/di-ting"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/di-ting"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/di-ting/target"
/>
<property
name=
"jar_name"
value=
"xyqb-di_ting-0.0.1-SNAPSHOT.jar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/di-ting/build_beta2.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.213"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/di-ting"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/di-ting"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/di-ting/target"
/>
<property
name=
"jar_name"
value=
"xyqb-di_ting-0.0.1-SNAPSHOT.jar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/du-jiang-yan/build_beta2.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.207"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/du-jiang-yan"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/du-jiang-yan"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/du-jiang-yan/target"
/>
<property
name=
"jar_name"
value=
"du-jiang-yan-1.0-SNAPSHOT.jar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/han-gu-guan/build_beta.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.206"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/han-gu-guan"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/han-gu-guan"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/han-gu-guan/target"
/>
<property
name=
"jar_name"
value=
"xyqb-openauth-0.0.1-SNAPSHOT.jar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/han-gu-guan/build_beta2.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.207"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/han-gu-guan"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/han-gu-guan"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/han-gu-guan/target"
/>
<property
name=
"jar_name"
value=
"xyqb-openauth-0.0.1-SNAPSHOT.jar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/jian-men-guan/build_beta.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.243"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"123456"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/jian-men-guan"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/jian-men-guan"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/jian-men-guan/target"
/>
<property
name=
"jar_name"
value=
"risk-control-auth-1.0-SNAPSHOT.jar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/jian-men-guan/build_beta2.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.213"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/jian-men-guan"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/jian-men-guan"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/jian-men-guan/target"
/>
<property
name=
"jar_name"
value=
"risk-control-auth-1.0-SNAPSHOT.jar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/mo-gao-ku/build_beta.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.243"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/mo-gao-ku"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/mo-gao-ku"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/mo-gao-ku/target"
/>
<property
name=
"jar_name"
value=
"mo-gao-ku-0.0.1-SNAPSHOT.jar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/mo-gao-ku/build_beta2.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.213"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/mo-gao-ku"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/mo-gao-ku"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/mo-gao-ku/target"
/>
<property
name=
"jar_name"
value=
"mo-gao-ku-0.0.1-SNAPSHOT.jar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/qin-qiong/build.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.207"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/qin-qiong"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/qin-qiong"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/qin-qiong"
/>
<property
name=
"jar_name"
value=
"qin-qiong.tar.gz"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/qin-qiong/package.sh
0 → 100755
View file @
6b02ca15
#!/bin/sh
cd
/home/TeamCity/workspace/qin-qiong
rm
-r
./qin-qiong.tar.gz
cd
/home/TeamCity/workspace/qin-qiong/work
tar
cfz ../qin-qiong.tar.gz ./
*
if
[
$?
=
0
]
;
then
echo
Package Done
else
echo
Package something wrong
exit
1
fi
exit
0
workspace/buildxml/xyqb-ui/build_beta.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.206"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/xyqb-ui"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/xyqb-ui"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/xyqb-ui/dist"
/>
<property
name=
"jar_name"
value=
"public.tar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/xyqb-ui/build_beta2.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.207"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/xyqb-ui"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/xyqb-ui"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/xyqb-ui/dist"
/>
<property
name=
"jar_name"
value=
"public.tar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/xyqb-ui/build_beta3.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.215"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/xyqb-ui"
/>
<property
name=
"level_path"
value=
"/home/quant_group/levelup/xyqb-ui"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/xyqb-ui/dist"
/>
<property
name=
"jar_name"
value=
"public.tar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/xyqb-ui/grunt_beta.sh
0 → 100755
View file @
6b02ca15
#!/bin/sh
cd
/home/TeamCity/workspace/xyqb-ui/client/app
config_file
=
config.js
cdn_uri
=
http://7xr60v.com1.z0.glb.clouddn.com
cdn_space
=
xyqb-ui-test
echo
configfile :
${
config_file
}
#sed -i '/^.*\/\/.*var.*apiHost/d' ./${config_file}
#sed -i "/^.*var.*apiHost/c \ \ \ \ var\ apiHost\ =\ 'http:\/\/61.50.125.14:9004\/';" ./${config_file}
#sed -i '/^.*\/\/.*var.*authHost/d' ./${config_file}
#sed -i "/^.*var.*authHost/c \ \ \ \ var\ authHost\ =\ 'http:\/\/61.50.125.14:9001\/';" ./${config_file}
#sed -i '/^.*\/\/.*var.*mogaokuHost/d' ./${config_file}
#sed -i "/^.*var.*mogaokuHost/c \ \ \ \ var\ mogaokuHost\ =\ 'http:\/\/61.50.125.14:9003\/';" ./${config_file}
rm
-r
${
config_file
}
curl http://7xnjab.com1.z0.glb.clouddn.com/beta1.config.js
-o
beta1.config.js
if
[
$?
=
0
]
;
then
echo
wget config file is ok.
else
echo
wget config file something unhapppy happen.
exit
1
fi
mv
beta1.config.js
${
config_file
}
cat
./
${
config_file
}
|
grep
var |
grep
http
cd
/home/TeamCity/workspace/xyqb-ui
rm
-rf
/home/TeamCity/workspace/xyqb-ui/dist
grunt build
cd
/home/TeamCity/workspace/xyqb-ui/dist
# do something for cdnify
echo
cdnfy begin
python /home/qshell/cdn.py
${
cdn_space
}
/home/TeamCity/workspace/xyqb-ui/dist/
${
cdn_uri
}
echo
cdnfy end
tar
-cvf
public.tar public/
ls
-al
# check configfile
cd
/home/TeamCity/workspace/xyqb-ui/dist/public/app
# cdn process
#cd /home/TeamCity/workspace/xyqb-ui/dist/public/app
#config_file_done=`ls -l|grep .app.js$|awk {'print $9'}`
#echo configfile : ${config_file_done}
#check_num=` cat ./${config_file_done} |grep xyqb.com|wc -l`
#if [ "${check_num}" = 0 ]
# then
# echo config file is ok.
# exit
# else
# echo some wrong about config file ,program will stop.
# devil say hello
#fi
workspace/buildxml/xyqb-ui/grunt_beta2.sh
0 → 100755
View file @
6b02ca15
#!/bin/sh
cd
/home/TeamCity/workspace/xyqb-ui/client/app
config_file
=
config.js
cdn_uri
=
http://7xr60v.com1.z0.glb.clouddn.com
cdn_space
=
xyqb-ui-test
echo
configfile :
${
config_file
}
#sed -i '/^.*\/\/.*var.*apiHost/d' ./${config_file}
#sed -i "/^.*var.*apiHost/c \ \ \ \ var\ apiHost\ =\ 'http:\/\/192.168.192.207:9004\/';" ./${config_file}
#sed -i '/^.*\/\/.*var.*authHost/d' ./${config_file}
#sed -i "/^.*var.*authHost/c \ \ \ \ var\ authHost\ =\ 'http:\/\/192.168.192.207:9001\/';" ./${config_file}
#sed -i '/^.*\/\/.*var.*mogaokuHost/d' ./${config_file}
#sed -i "/^.*var.*mogaokuHost/c \ \ \ \ var\ mogaokuHost\ =\ 'http:\/\/192.168.192.213:9003\/';" ./${config_file}
rm
-r
${
config_file
}
wget http://7xnjab.com1.z0.glb.clouddn.com/beta2.config.js
if
[
$?
=
0
]
;
then
echo
wget config file is ok.
else
echo
wget config file something unhapppy happen.
exit
1
fi
mv
beta2.config.js
${
config_file
}
cat
./
${
config_file
}
|
grep
var |
grep
http
cd
/home/TeamCity/workspace/xyqb-ui
rm
-rf
/home/TeamCity/workspace/xyqb-ui/dist
grunt build
cd
/home/TeamCity/workspace/xyqb-ui/dist
echo
cdnfy begin
python /home/qshell/cdn.py
${
cdn_space
}
/home/TeamCity/workspace/xyqb-ui/dist/
${
cdn_uri
}
echo
cdnfy end
tar
-cvf
public.tar public/
ls
-al
# check configfile
cd
/home/TeamCity/workspace/xyqb-ui/dist/public/app
cd
/home/TeamCity/workspace/xyqb-ui/dist/public/app
#config_file_done=`ls -l|grep .app.js$|awk {'print $9'}`
#echo configfile : ${config_file_done}
#check_num=` cat ./${config_file_done} |grep xyqb.com|wc -l`
#if [ "${check_num}" = 0 ]
# then
# echo config file is ok.
# exit
# else
# echo some wrong about config file ,program will stop.
# devil say hello
#fi
workspace/buildxml/xyqb-ui/grunt_beta3.sh
0 → 100755
View file @
6b02ca15
#!/bin/sh
# This script is for app h5
cd
/home/TeamCity/workspace/xyqb-ui/client/app
config_file
=
config.js
cdn_uri
=
http://7xr60v.com1.z0.glb.clouddn.com
cdn_space
=
xyqb-ui-test
echo
configfile :
${
config_file
}
#sed -i '/^.*\/\/.*var.*apiHost/d' ./${config_file}
#sed -i "/^.*var.*apiHost/c \ \ \ \ var\ apiHost\ =\ 'http:\/\/192.168.192.207:9004\/';" ./${config_file}
#sed -i '/^.*\/\/.*var.*authHost/d' ./${config_file}
#sed -i "/^.*var.*authHost/c \ \ \ \ var\ authHost\ =\ 'http:\/\/192.168.192.207:9001\/';" ./${config_file}
#sed -i '/^.*\/\/.*var.*mogaokuHost/d' ./${config_file}
#sed -i "/^.*var.*mogaokuHost/c \ \ \ \ var\ mogaokuHost\ =\ 'http:\/\/192.168.192.213:9003\/';" ./${config_file}
rm
-r
${
config_file
}
wget http://7xnjab.com1.z0.glb.clouddn.com/beta3.config.js
if
[
$?
=
0
]
;
then
echo
wget config file is ok.
else
echo
wget config file something unhapppy happen.
exit
1
fi
mv
beta3.config.js
${
config_file
}
cat
./
${
config_file
}
|
grep
var |
grep
http
cd
/home/TeamCity/workspace/xyqb-ui
rm
-rf
/home/TeamCity/workspace/xyqb-ui/dist
grunt build
cd
/home/TeamCity/workspace/xyqb-ui/dist
echo
cdnfy begin
python /home/qshell/cdn.py
${
cdn_space
}
/home/TeamCity/workspace/xyqb-ui/dist/
${
cdn_uri
}
echo
cdnfy end
tar
-cvf
public.tar public/
ls
-al
# check configfile
cd
/home/TeamCity/workspace/xyqb-ui/dist/public/app
cd
/home/TeamCity/workspace/xyqb-ui/dist/public/app
#config_file_done=`ls -l|grep .app.js$|awk {'print $9'}`
#echo configfile : ${config_file_done}
#check_num=` cat ./${config_file_done} |grep xyqb.com|wc -l`
#if [ "${check_num}" = 0 ]
# then
# echo config file is ok.
# exit
# else
# echo some wrong about config file ,program will stop.
# devil say hello
#fi
workspace/buildxml/xyqb-ui/grunt_beta_bak.sh
0 → 100755
View file @
6b02ca15
#!/bin/sh
cd
/home/TeamCity/workspace/xyqb-ui/client/app
config_file
=
config.js
echo
configfile :
${
config_file
}
sed
-i
'/^.*\/\/.*var.*apiHost/d'
./
${
config_file
}
sed
-i
"/^.*var.*apiHost/c
\ \ \ \
var
\
apiHost
\
=
\
'http:
\/\/
192.168.192.206:9004
\/
';"
./
${
config_file
}
sed
-i
'/^.*\/\/.*var.*authHost/d'
./
${
config_file
}
sed
-i
"/^.*var.*authHost/c
\ \ \ \
var
\
authHost
\
=
\
'http:
\/\/
192.168.192.206:9001
\/
';"
./
${
config_file
}
sed
-i
'/^.*\/\/.*var.*mogaokuHost/d'
./
${
config_file
}
sed
-i
"/^.*var.*mogaokuHost/c
\ \ \ \
var
\
mogaokuHost
\
=
\
'http:
\/\/
192.168.192.243:9003
\/
';"
./
${
config_file
}
cat
./
${
config_file
}
|
grep
var |
grep
http
cd
/home/TeamCity/workspace/xyqb-ui
rm
-rf
/home/TeamCity/workspace/xyqb-ui/dist
grunt build
cd
/home/TeamCity/workspace/xyqb-ui/dist
tar
-cvf
public.tar public/
ls
-al
# check configfile
cd
/home/TeamCity/workspace/xyqb-ui/dist/public/app
#cd /home/TeamCity/workspace/xyqb-ui/dist/public/app
#config_file_done=`ls -l|grep .app.js$|awk {'print $9'}`
#echo configfile : ${config_file_done}
#check_num=` cat ./${config_file_done} |grep xyqb.com|wc -l`
#if [ "${check_num}" = 0 ]
# then
# echo config file is ok.
# exit
# else
# echo some wrong about config file ,program will stop.
# devil say hello
#fi
workspace/buildxml/xyqb/build_beta.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.206"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/xyqb"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/xyqb"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/xyqb/target"
/>
<property
name=
"jar_name"
value=
"xyqb-0.0.1-SNAPSHOT.jar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
workspace/buildxml/xyqb/build_beta2.xml
0 → 100644
View file @
6b02ca15
<?xml version="1.0" encoding="utf-8"?>
<project
name=
"build.xml"
default=
"publish"
basedir=
"."
>
<!-- 本机虚拟机测试环境配置 -->
<property
name=
"virtual_xyqb"
value=
"192.168.192.207"
/>
<property
name=
"virtual_user"
value=
"root"
/>
<property
name=
"virtual_pass"
value=
"quantgroup.com"
/>
<property
name=
"Virtual_xyqb_path"
value=
"/home/quant_group/xyqb"
/>
<property
name=
"level_path"
value=
"/home/TeamCity/workspace/levelup/xyqb"
/>
<property
name=
"local_path"
value=
"/home/TeamCity/workspace/xyqb/target"
/>
<property
name=
"jar_name"
value=
"xyqb-0.0.1-SNAPSHOT.jar"
/>
<target
name=
"publish"
depends=
"upload,restart"
/>
<target
name=
"upload"
description=
"transfer the package and files to the server "
>
<echo
message=
"transfer the package and files to the server"
level=
"info"
/>
<scp
file=
"${local_path}/${jar_name}"
todir=
"${virtual_user}@${virtual_xyqb}:${level_path}/"
password=
"${virtual_pass}"
trust=
"true"
/>
</target>
<target
name=
"restart"
>
<sshexec
host=
"${virtual_xyqb}"
username=
"${virtual_user}"
password=
"${virtual_pass}"
trust=
"true"
command=
"${level_path}/levelup.sh"
/>
</target>
</project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment