From 3828abd5a6fed49208b1c742fe78da1f6d6b3491 Mon Sep 17 00:00:00 2001 From: Mithun Technologies Date: Mon, 4 Oct 2021 08:39:55 +0530 Subject: [PATCH] deleting pipeline script --- JenkinsfileJuly2021 | 51 --------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 JenkinsfileJuly2021 diff --git a/JenkinsfileJuly2021 b/JenkinsfileJuly2021 deleted file mode 100644 index 0fc400c7d7..0000000000 --- a/JenkinsfileJuly2021 +++ /dev/null @@ -1,51 +0,0 @@ -node('wallmart-node'){ - - def mavenHome = tool name: "maven3.8.2" - - echo "GitHub BranhName ${env.BRANCH_NAME}" - echo "Jenkins Job Number ${env.BUILD_NUMBER}" - echo "Jenkins Node Name ${env.NODE_NAME}" - - echo "Jenkins Home ${env.JENKINS_HOME}" - echo "Jenkins URL ${env.JENKINS_URL}" - echo "JOB Name ${env.JOB_NAME}" - - stage('CheckOutCode') - { - git branch: 'development', credentialsId: '12993250-1ff3-40a0-9978-794e74dcf712', url: 'https://github.com/MithunTechnologiesDevOps/maven-web-application.git' - } - - stage('Build') - { - sh "${mavenHome}/bin/mvn clean package" - } - -/* - stage('SonarQubeReport'){ - sh "${mavenHome}/bin/mvn clean sonar:sonar" - } - - - stage('UploadArtifactIntoNexus'){ - sh "${mavenHome}/bin/mvn clean deploy" - } - - stage('DeployAppIntoTomcatServer') - { - sshagent(['c7a7b3d8-55f0-4f83-9e81-d56c154cc647']) { - sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@15.206.90.6:/opt/apache-tomcat-9.0.52/webapps/" - } - } - - */ - - stage('SendEmailNotification'){ - emailext body: '''Build is over !! - - Regards, - Mithun Technologies, - 9980923226''', subject: 'Build Over... !!', to: 'devopstrainingblr@gmail.com' - } - - -}