From 4e1ee080e6b1d0c242e45fe8d22e429eac510d00 Mon Sep 17 00:00:00 2001 From: attri16 <76583808+attri16@users.noreply.github.com> Date: Sat, 18 Nov 2023 13:44:21 +0530 Subject: [PATCH 1/2] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 13ac391e..6300d6c8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline{ //agent any - agent { label 'Demo' } + //agent { label 'Demo' } parameters{ From 7294a3dbc38aa5cca1630ae20604214109931ccf Mon Sep 17 00:00:00 2001 From: attri16 <76583808+attri16@users.noreply.github.com> Date: Sat, 18 Nov 2023 16:23:40 +0530 Subject: [PATCH 2/2] Update Jenkinsfile --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6300d6c8..21f3cdc6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline{ - //agent any + agent any //agent { label 'Demo' } parameters{ @@ -10,7 +10,7 @@ pipeline{ choice(name: 'action', choices: 'create\ndelete', description: 'Choose create/Destroy') string(name: 'ImageName', description: "name of the docker build", defaultValue: 'javapp') string(name: 'ImageTag', description: "tag of the docker build", defaultValue: 'v1') - string(name: 'DockerHubUser', description: "name of the Application", defaultValue: 'praveensingam1994') + string(name: 'DockerHubUser', description: "name of the Application", defaultValue: 'attri') } stages{ @@ -20,7 +20,7 @@ pipeline{ steps{ gitCheckout( branch: "main", - url: "https://github.com/praveen1994dec/Java_app_3.0.git" + url: "https://github.com/attri16/Java_app_3.0.git" ) } }