File tree Expand file tree Collapse file tree 6 files changed +25
-8
lines changed
Expand file tree Collapse file tree 6 files changed +25
-8
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ language : java
2+
3+ jdk :
4+ - oraclejdk8
5+
6+ script : " mvn cobertura:cobertura"
7+
8+ after_success :
9+ - bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 11node(' docker' ) {
22 stage " Container Prep"
33 echo(" The node is up" )
4- def mycontainer = docker. image(' elastest/docker-in- docker:latest' )
4+ def mycontainer = docker. image(' elastest/ci- docker-siblings :latest' )
55 mycontainer. pull()
66 mycontainer. inside(" -u jenkins -v /var/run/docker.sock:/var/run/docker.sock:rw" ) {
77 git ' https://github.com/elastest/elastest-cost-engine.git'
88
9+ stage " Package"
10+ echo (" Packaging" )
11+ sh ' mvn package -DskipTests'
12+
913 stage " Tests"
1014 echo (" Starting tests" )
1115 sh ' mvn clean test'
1216 step([$class : ' JUnitResultArchiver' , testResults : ' **/target/surefire-reports/TEST-*.xml' ])
1317
14- stage " Package"
15- echo (" Packaging" )
16- sh ' mvn package -DskipTests'
17-
1818 stage " Archive artifacts"
1919 archiveArtifacts artifacts : ' target/*.jar'
2020
2121 stage " Build image - Package"
2222 echo (" Building" )
23- def myimage = docker. build ' elastest/elastest-cost-engine '
23+ def myimage = docker. build ' elastest/ece '
2424
2525 stage " Run image"
2626 myimage. run()
Original file line number Diff line number Diff line change 1+ [ ![ License badge] ( https://img.shields.io/badge/license-Apache2-green.svg )] ( http://www.apache.org/licenses/LICENSE-2.0 )
2+ [ ![ Documentation badge] ( https://img.shields.io/badge/docs-latest-brightgreen.svg )] ( http://elastest.io/docs/ )
13
24[ ![ ] [ ElasTest Logo ]] [ ElasTest ]
35
Original file line number Diff line number Diff line change 172172 <groupId >org.codehaus.mojo</groupId >
173173 <artifactId >cobertura-maven-plugin</artifactId >
174174 <version >2.7</version >
175+ <configuration >
176+ <formats >
177+ <format >html</format >
178+ <format >xml</format >
179+ </formats >
180+ <check />
181+ </configuration >
175182 <executions >
176183 <execution >
177184 <phase >test</phase >
191198 <artifactId >cobertura-maven-plugin</artifactId >
192199 <version >2.7</version >
193200 <configuration >
194- <check ></check >
195201 <formats >
196202 <format >html</format >
197203 <format >xml</format >
198204 </formats >
205+ <check ></check >
199206 </configuration >
200207 </plugin >
201208 </plugins >
You can’t perform that action at this time.
0 commit comments