<description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description>
<description><font color=darkgreen size=2><b>OPTIONAL: Specify the build job number to upload / copy the artifact built in that job.</b></font></description>
<defaultValue>lastSuccessfulBuild</defaultValue>
<name>image_tag</name>
<description><font color=darkgreen size=2><b>OPTIONAL: Specify the tag to upload a specific image version to the container registry.</b></font></description>
ArtifactRepo - Upload and keep a copy of the artifact in Jenkins, JenkinsJob - Just keep a copy of the artifact in Jenkins.</b></font></description>
ArtifactRepo - Push the docker image to container registry.
</b></font></description>
<choicesclass="java.util.Arrays$ArrayList">
<aclass="string-array">
<string>ArtifactRepo</string>
<string>JenkinsJob</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
...
...
@@ -64,7 +64,7 @@ ArtifactRepo - Upload and keep a copy of the artifact in Jenkins, JenkinsJob - J
<description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description>
<description><font color=darkgreen size=2><b>OPTIONAL: Specify the tag to upload a specific image version to the container registry.</b></font></description>
<description><font color=darkgreen size=2><b>OPTIONAL: Specify the tag to upload a specific image version to the container registry.</b></font></description>
<defaultValue/>
<defaultValue></defaultValue>
<trim>false</trim>
</hudson.model.StringParameterDefinition>
<hudson.model.ChoiceParameterDefinition>
...
...
@@ -50,20 +51,20 @@ ArtifactRepo - Push the docker image to container registry.
<description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description>
<description><font color=red size=2><b>CAUTION: If the value is blank, image tag will be taken from the latest metadata.json.</b></font></description>
<defaultValue/>
<name>build_number</name>
<description><font color=darkgreen size=2><b>OPTIONAL: Specify the build job number to upload / copy the artifact built in that job.</b></font></description>
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>
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>
ArtifactRepo - Upload and keep a copy of the artifact in Jenkins, JenkinsJob - Just keep a copy of the artifact in Jenkins.</b></font></description>
<description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description>
<description><font color=darkgreen size=2><b>OPTIONAL: Specify the tag to upload a specific image version to the container registry.</b></font></description>