Skip to content

Commit

Permalink
nexus updated in jenkins file
Browse files Browse the repository at this point in the history
  • Loading branch information
jagadeswar219 authored Dec 4, 2019
1 parent efb745f commit f81db97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@ node{
{
sh "${mavenHome}/bin/mvn sonar:sonar"
}
/*

stage('UploadArtifactsIntoNexus')
{
sh "${mavenHome}/bin/mvn deploy"
}*/
}

stage('DeplotoTomcat'){
sh "cp $WORKSPACE/target/*.war /tmp/"
echo "the user is ${env.BUILD_USER}"
//sh "cp $WORKSPACE/target/*.war /opt/apache-tomcat-8.5.46/webapps/"
}

Expand Down

0 comments on commit f81db97

Please sign in to comment.