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 — Java-Web-Calculator/Jenkinsfile-For-Server-Deployment at main · avshome/Java-Web-Calculator Expand file tree/ Copy pathJenkinsfile-For-Server-DeploymentMore file actions 40 lines (35 loc) · 976 Bytes / Copy pathJenkinsfile-For-Server-DeploymentFile metadata and controls40 lines (35 loc) · 976 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 31 32 33 34 35 36 37 38 39 40 pipeline { agent any tools { maven 'maven3.8.7' } stages { stage(GitCheckOut){ steps{ git branch: 'main', credentialsId: '026f781b-368d-4626-ab66-08d71d1d7d82', url: 'https://github.com/gmk1995/Java-Web-Calculator.git' } } stage('Build'){ steps{ sh "mvn clean package" } } stage('SonarQubeReport'){ steps{ sh "mvn sonar:sonar" } } stage('UploadToNexusArtifact'){ steps{ sh "mvn deploy" } } stage('DeployToTomcatServer') { steps{ sshagent(['Tomcat-ssh-connection-key'], ignoreMissing: true) { sh "scp -o StrictHostKeyChecking=no target/calculator.war [email protected]:/opt/apache-tomcat-9.0.71/webapps/calculator.war" } } } } } |
| 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. |