From 6ad3c0d0c66ccda9eb1a117cb00994befc100a45 Mon Sep 17 00:00:00 2001 From: Abhilash-1201 <83076098+Abhilash-1201@users.noreply.github.com> Date: Thu, 10 Feb 2022 20:01:15 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'; } } }