GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — devopsproj/deploy-war-to-tomcat at master · blessvin/devopsproj Expand file tree/ Copy pathdeploy-war-to-tomcatMore file actions 30 lines (28 loc) · 938 Bytes / Copy pathdeploy-war-to-tomcatFile metadata and controls30 lines (28 loc) · 938 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 node{ stage('SCM Checkout'){ git 'https://github.com/javahometech/my-app' } stage('Compile-Package'){ // Get maven home path def mvnHome = tool name: 'maven-3', type: 'maven' sh "${mvnHome}/bin/mvn package" } stage('Deploy to Tomcat'){ sshagent(['tomcat-dev']) { sh 'scp -o StrictHostKeyChecking=no target/*.war [email protected]:/opt/tomcat8/webapps/' } } stage('Email Notification'){ mail bcc: '', body: '''Hi Welcome to jenkins email alerts Thanks Hari''', cc: '', from: '', replyTo: '', subject: 'Jenkins Job', to: '[email protected]' } stage('Slack Notification'){ slackSend baseUrl: 'https://hooks.slack.com/services/', channel: '#jenkins-pipeline-demo', color: 'good', message: 'Welcome to Jenkins, Slack!', teamDomain: 'javahomecloud', tokenCredentialId: 'slack-demo' } } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |