diff --git a/Jenkinsfile b/Jenkinsfile index 54ae205..ea73c61 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,7 @@ pipeline { environment { NEXUS_VERSION = "nexus3" NEXUS_PROTOCOL = "http" - NEXUS_URL = "159.223.191.140:8081" + NEXUS_URL = "34.205.147.212:8081" NEXUS_REPOSITORY = "java-app" NEXUS_CREDENTIAL_ID = "NEXUS_CRED" } @@ -14,7 +14,7 @@ pipeline { stage("Clone code from GitHub") { steps { script { - git branch: 'main', credentialsId: 'githubwithpassword', url: 'https://github.com/devopshint/jenkins-nexus'; + git credentialsId: 'Git', url: 'https://github.com/Abhilash-1201/NexusArtifactsusingMaven.git'; } } }