Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
#!groovy

node {


>>>>>>> development
stage('Checkout'){

checkout scm
}

stage('Compiling'){

sh 'mvn deploy'
}

}
stage('Sonar') {
//add stage sonar
sh 'mvn sonar:sonar'
Expand Down
7 changes: 3 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>

<groupId>com.kctechnologies</groupId>
<artifactId>maven-web-project</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<version>1.0-SNAPSHOTS</version>
<name>Maven Web Project</name>
<description>Maven Web Project for Java</description>



<properties>
<spring.version>4.1.4.RELEASE</spring.version>
<junit.version>4.11</junit.version>
Expand Down
1 change: 1 addition & 0 deletions src/main/a
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hi newday
1 change: 1 addition & 0 deletions src/main/java/com/kc/contoller/SampleController.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/")
public class SampleController {
Expand Down
1 change: 1 addition & 0 deletions src/main/roster
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
new