Configure Circle ci
This commit is contained in:
parent
c992d229af
commit
160608e346
16
circle.yml
Normal file
16
circle.yml
Normal file
@ -0,0 +1,16 @@
|
||||
machine:
|
||||
java:
|
||||
version: openjdk8
|
||||
notify:
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
dependencies:
|
||||
override:
|
||||
- git config --global user.email "circle@circleci.com"
|
||||
- git config --global user.name "CircleCI"
|
||||
- chmod +x scripts/build.sh
|
||||
- ./scripts/build.sh
|
||||
test:
|
||||
post:
|
||||
- yes|mv -f ./target/BugRepGUI-b.jar $CIRCLE_ARTIFACTS/BugRepGUI-b$CIRCLE_BUILD_NUM.jar
|
||||
14
pom.xml
14
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.ilummc.bugrepgui</groupId>
|
||||
<artifactId>BugRepGUI</artifactId>
|
||||
<version>1.8</version>
|
||||
<version>b</version>
|
||||
<resources>
|
||||
<resource>
|
||||
<targetPath>.</targetPath>
|
||||
@ -29,10 +29,20 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<version>3.5.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-compile</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>compile</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<encoding>GBK</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
2
scripts/build.sh
Normal file
2
scripts/build.sh
Normal file
@ -0,0 +1,2 @@
|
||||
echo "Building BugRepGUI build $CIRCLE_BUILD_NUM ..."
|
||||
mvn clean install
|
||||
Loading…
x
Reference in New Issue
Block a user