diff --git a/Jenkinsfile b/Jenkinsfile
index 680e789..c42e873 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,54 +1,8 @@
#!groovy
node {
- currentBuild.result = "SUCCESS"
- try {
-
- stage('Checkout'){
-
- checkout scm
- }
-
- stage('Compiling'){
-
- sh 'mvn clean install'
- }
-
- stage('Sonar') {
- //add stage sonar
- sh 'mvn sonar:sonar'
- }
-
- stage('Checkstyle') {
- sh 'mvn checkstyle:checkstyle'
- }
-
- stage('PMD') {
- sh 'mvn pmd:check'
- }
- /* stage('mail'){
-
- mail body: 'project build successful',
- from: 'devopstrainingblr@gmail.com',
- replyTo: 'mithunreddytechnologies@gmail.com',
- subject: 'project build successful',
- to: 'mithunreddytechnologies@gmail.com'
- }*/
-
-
-
- }
- catch (err) {
-
- currentBuild.result = "FAILURE"
-
- /* mail body: "project build error is here: ${env.BUILD_URL}" ,
- from: 'devopstrainingblr@gmail.com',
- replyTo: 'mithunreddytechnologies@gmail.com',
- subject: 'project build failed',
- to: 'mithunreddytechnologies@gmail.com'
- */
- throw err
- }
+ stage ('compiling'){
+ bat 'mvn clean install -DskipTests'
+ }
}
diff --git a/Jenkinsfile1 b/Jenkinsfile1
deleted file mode 100644
index e965047..0000000
--- a/Jenkinsfile1
+++ /dev/null
@@ -1 +0,0 @@
-Hello
diff --git a/pom.xml b/pom.xml
index f9befc5..415a78c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,6 +97,21 @@
${spring.version}
+
+
+ JFrogArtifactory
+ Mithun Technologies Releases JFrog Repository
+ http://localhost:8085/artifactory/maven-releases
+
+
+
+
@@ -105,7 +120,7 @@
true
- http://localhost:9001/
+ http://localhost:9000/
3.3.0.603