From 905eded4174769eedd6d6283ec9dd534e4db845e Mon Sep 17 00:00:00 2001
From: Badal <37176231+badaltechiepi@users.noreply.github.com>
Date: Wed, 3 Mar 2021 17:20:13 +0530
Subject: [PATCH] change the default value from tag to head in Yarn build job
 config file (#2301)

* adding the config.xml file from dev jenkin job

* change the default value from tag to head for Yarn build job

Co-authored-by: Ubuntu <deployer@Jenkins.a0djcfflzpiujkx3kmz3oltkhg.rx.internal.cloudapp.net>
---
 .../jobs/Build/jobs/KnowledgePlatform/jobs/Yarn/config.xml  | 2 +-
 .../jobs/DataPipeline/jobs/AnalyticsReplayJobs/config.xml   | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/deploy/jenkins/jobs/Build/jobs/KnowledgePlatform/jobs/Yarn/config.xml b/deploy/jenkins/jobs/Build/jobs/KnowledgePlatform/jobs/Yarn/config.xml
index e4ff68b85..e2a9e806e 100644
--- a/deploy/jenkins/jobs/Build/jobs/KnowledgePlatform/jobs/Yarn/config.xml
+++ b/deploy/jenkins/jobs/Build/jobs/KnowledgePlatform/jobs/Yarn/config.xml
@@ -33,7 +33,7 @@
 &lt;li&gt;The default value of ${public_repo_branch} will be the release / tag version set in global configuration&lt;/li&gt;
 &lt;li&gt;To build from a differnt branch, replace the ${public_repo_branch} with your branch&lt;/li&gt;
 &lt;/b&gt;&lt;/font&gt;</description>
-          <defaultValue>refs/tags/${public_repo_branch}</defaultValue>
+          <defaultValue>refs/heads/${public_repo_branch}</defaultValue>
           <trim>true</trim>
         </hudson.model.StringParameterDefinition>
       </parameterDefinitions>
diff --git a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/AnalyticsReplayJobs/config.xml b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/AnalyticsReplayJobs/config.xml
index f1900483d..725424f77 100644
--- a/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/AnalyticsReplayJobs/config.xml
+++ b/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/DataPipeline/jobs/AnalyticsReplayJobs/config.xml
@@ -71,12 +71,6 @@
             </a>
           </choices>
         </hudson.model.ChoiceParameterDefinition>
-        <hudson.model.StringParameterDefinition>
-          <name>job_id</name>
-          <description>&lt;font color=dimgray size=2&gt;&lt;b&gt;Specify the job id.&lt;/b&gt;&lt;/font&gt;</description>
-          <defaultValue/>
-          <trim>false</trim>
-        </hudson.model.StringParameterDefinition>
         <hudson.model.StringParameterDefinition>
           <name>batch_identifier</name>
           <description>&lt;font color=dimgray size=2&gt;&lt;b&gt;Specify The BatchId to Generate report for specific batch&lt;/b&gt;&lt;/font&gt;
-- 
GitLab