Skip to content

Commit

Permalink
Issue #IQ-750 fix: updated jenkins file
Browse files Browse the repository at this point in the history
  • Loading branch information
krgauraw committed Apr 15, 2024
1 parent e0169de commit 890d5a8
Show file tree
Hide file tree
Showing 2 changed files with 152 additions and 163 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
<flow-definition plugin="[email protected]">
<actions>
<org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="[email protected]_e52371b_">
<jobPropertyDescriptors>
<string>hudson.model.ParametersDefinitionProperty</string>
<string>com.sonyericsson.rebuild.RebuildSettings</string>
</jobPropertyDescriptors>
</org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction>
</actions>
<description/>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.plugins.jira.JiraProjectProperty plugin="[email protected]"/>
<jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator">
<daysToKeep>-1</daysToKeep>
<numToKeep>-1</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>5</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
<org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty>
<abortPrevious>false</abortPrevious>
</org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty>
<com.sonyericsson.rebuild.RebuildSettings plugin="[email protected]">
<autoRebuild>false</autoRebuild>
<rebuildDisabled>false</rebuildDisabled>
</com.sonyericsson.rebuild.RebuildSettings>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<org.biouno.unochoice.DynamicReferenceParameter plugin="[email protected]">
<name>private_branch</name>
<randomName>choice-parameter-2544395024638227</randomName>
<visibleItemCount>1</visibleItemCount>
<script class="org.biouno.unochoice.model.GroovyScript">
<secureScript plugin="[email protected]_025">
<script>if (override_private_branch.equals("true")) { return """
<input name="value" value="${private_repo_branch}" class="setting-input" type="text">
<br>
<font color=dimgray size=2>
<b>Change this value to checkout a different branch from private repository.</b>
</font>""" } else return """
<b>This parameter is not used</b>"""
</script>
<sandbox>true</sandbox>
</secureScript>
<secureFallbackScript plugin="[email protected]_025">
<script>return """
<b>This parameter is not used</b>"""
</script>
<sandbox>true</sandbox>
</secureFallbackScript>
</script>
<projectName>InquiryUploadSchema</projectName>
<projectFullName>Deploy/dev/Kubernetes/InquiryUploadSchema</projectFullName>
<parameters class="linked-hash-map"/>
<referencedParameters/>
<choiceType>ET_FORMATTED_HTML</choiceType>
<omitValueField>true</omitValueField>
</org.biouno.unochoice.DynamicReferenceParameter>
<org.biouno.unochoice.DynamicReferenceParameter plugin="[email protected]">
<name>branch_or_tag</name>
<randomName>choice-parameter-2620434998790477</randomName>
<visibleItemCount>1</visibleItemCount>
<script class="org.biouno.unochoice.model.GroovyScript">
<secureScript plugin="[email protected]_025">
<script>if (override_public_branch.equals("true")) { return """
<input name="value" value="" class="setting-input" type="text">
<br>
<font color=dimgray size=2>
<b>Provide the tag or branch name to checkout the Jenkinsfile and codebase.
<br>Note: The tag or branch name for this job should be taken from
<a href="https://github.com/project-sunbird/sunbird-devops">project-sunbird/sunbird-devops</a>
</b>
</font>
</b>
</font>"""; } else return """
<b>This parameter is not used</b>"""
</script>
<sandbox>true</sandbox>
</secureScript>
<secureFallbackScript plugin="[email protected]_025">
<script>return """
<b>This parameter is not used</b>"""
</script>
<sandbox>true</sandbox>
</secureFallbackScript>
</script>
<projectName>InquiryUploadSchema</projectName>
<projectFullName>Deploy/dev/Kubernetes/InquiryUploadSchema</projectFullName>
<parameters class="linked-hash-map"/>
<referencedParameters/>
<choiceType>ET_FORMATTED_HTML</choiceType>
<omitValueField>true</omitValueField>
</org.biouno.unochoice.DynamicReferenceParameter>
<hudson.model.StringParameterDefinition>
<name>schema_repo</name>
<description>Enter the repo url from which schema folder to be uploaded</description>
<defaultValue>https://github.com/Sunbird-inQuiry/inquiry-api-service.git</defaultValue>
<trim>false</trim>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>schema_repo_branch_or_tag</name>
<description>Enter the branch or tag for schema repo</description>
<trim>false</trim>
</hudson.model.StringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
<hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="[email protected]">
<maxConcurrentPerNode>0</maxConcurrentPerNode>
<maxConcurrentTotal>0</maxConcurrentTotal>
<categories class="java.util.concurrent.CopyOnWriteArrayList"/>
<throttleEnabled>false</throttleEnabled>
<throttleOption>project</throttleOption>
<limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams>
<paramsToUseForLimit/>
</hudson.plugins.throttleconcurrents.ThrottleJobProperty>
<org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty>
<triggers/>
</org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty>
</properties>
<definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="[email protected]">
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://github.com/Sunbird-inQuiry/inquiry-api-service.git</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>${inquiry_release_branch_or_tag}</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<submoduleCfg class="empty-list"/>
<extensions>
<hudson.plugins.git.extensions.impl.CloneOption>
<shallow>true</shallow>
<noTags>false</noTags>
<reference/>
<depth>0</depth>
<honorRefspec>false</honorRefspec>
</hudson.plugins.git.extensions.impl.CloneOption>
</extensions>
</scm>
<scriptPath>pipelines/upload/schema/inquiry/Jenkinsfile</scriptPath>
<lightweight>false</lightweight>
</definition>
<triggers/>
<disabled>false</disabled>
</flow-definition>

0 comments on commit 890d5a8

Please sign in to comment.