andyyoung01 / JPetStoreDemo

JPetStore for WiseBuild and Rancher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyBatis JPetStore

JPetStore 6 is a full web application built on top of MyBatis 3, Spring 4 and Stripes.

Essentials

Other versions that you may want to know about

Build Project

  • with maven: mvn clean install
  • with gradle: gradle clean build

Running with Tomcat

Running JPetStore sample under Tomcat (using maven).

  • Clone this repository
  • Open command prompt/shell and change to cloned directory
  • Issue following command to run project using Tomcat

mvn clean tomcat:run

Run with Gradle

gradle jettyRun

Run RobotFramework Test Case

pybot -d target -x target/xunit.xml -v SERVER:<IP:PORT> src/test

WiseBuild配置注意事项:

WiseBuild 构建命令写法如下(实际中请将192.168.9.10换成正确的maven私服地址,对于WiseBuild,它就是artifactory容器所在的宿主机IP,需暴露8081端口):

gradle clean build -PMavenRepoServerIP=192.168.9.10

构建环境选择:

dgroup/java8-gradle

归档文件写法:

./docker/*.war

Dockerfile路径:

docker/Dockerfile

镜像标签格式示例:

192.168.9.11/wisebuild-demo/jpetstore:${BUILD_NUMBER}

测试环境选择:

rocketcity/robotframework-docker

构建命令写法(这里的192.168.9.10:9092请更换为实际部署JPetStoreDemo的访问入口):

pybot -d target -x target/xunit.xml -v SERVER:192.168.9.10:9292 src/test

About

JPetStore for WiseBuild and Rancher

License:Apache License 2.0


Languages

Language:Java 86.1%Language:HTML 5.8%Language:CSS 5.5%Language:RobotFramework 2.1%Language:Dockerfile 0.5%