Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #IQ-750 fix: updated jenkins file #3986

Merged
merged 1 commit into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Issue #IQ-750 fix: updated jenkins file
  • Loading branch information
krgauraw committed Apr 15, 2024
commit 890d5a86664211d97b62d28b15cce50de5719bb4

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
<flow-definition plugin="workflow-job@1145.v7f2433caa07f">
<actions>
<org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@716.vc692a_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="jira@3.7.1"/>
<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="rebuild@1.34">
<autoRebuild>false</autoRebuild>
<rebuildDisabled>false</rebuildDisabled>
</com.sonyericsson.rebuild.RebuildSettings>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<org.biouno.unochoice.DynamicReferenceParameter plugin="uno-choice@2.6.1">
<name>private_branch</name>
<randomName>choice-parameter-2544395024638227</randomName>
<visibleItemCount>1</visibleItemCount>
<script class="org.biouno.unochoice.model.GroovyScript">
<secureScript plugin="script-security@1138.v8e727069a_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="script-security@1138.v8e727069a_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="uno-choice@2.6.1">
<name>branch_or_tag</name>
<randomName>choice-parameter-2620434998790477</randomName>
<visibleItemCount>1</visibleItemCount>
<script class="org.biouno.unochoice.model.GroovyScript">
<secureScript plugin="script-security@1138.v8e727069a_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="script-security@1138.v8e727069a_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="throttle-concurrents@2.10">
<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="workflow-cps@2660.2664.v4c114e93f4c1">
<scm class="hudson.plugins.git.GitSCM" plugin="git@4.11.5">
<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>
Loading