<h3>Artifacts</h3>
<span class="contextual_help has_go_tip_right" title="Publish build artifacts to the artifact repository">&nbsp;</span>
<%= form_for @job,
                :as => :job,
                :url => admin_job_update_path(:current_tab => "artifacts"),
                :html => {:method => :put,
                          :id => "job_edit_form",
                          :onsubmit => "return AjaxForm.jquery_ajax_submit(this, AjaxForm.ConfigFormEditHandler);",
                          :class => "popup_form"} do |f| %>
    <%= md5_field %>
    <%= register_defaultable_list("job>artifactConfigs") %>

    <div class="fieldset">
        <%= render :partial => "artifact_configs.html", :locals => {:scope => {:form => f, :collection => @job.artifactConfigs()}} %>
    </div>

    <%= render :partial => 'shared/convert_tool_tips.html', :locals => {:scope => {}} %>
    <%= render :partial => "admin/shared/form_submit", :locals => {:scope => {:reset_url => admin_job_edit_path(:pipeline_name => @pipeline.name(), :stage_name => params[:stage_name], :job_name => params[:job_name], :current_tab => "artifacts")}} %>
<% end %>
<script type="text/javascript">
   AjaxForm.error_box_selector = '#form_parent';
</script>
<h3>Artifacts</h3>
<span class="contextual_help has_go_tip_right" title="Publish build artifacts to the artifact repository">&nbsp;</span>
<%= form_for @job,
                :as => :job,
                :url => admin_job_update_path(:current_tab => "artifacts"),
                :html => {:method => :put,
                          :id => "job_edit_form",
                          :onsubmit => "return AjaxForm.jquery_ajax_submit(this, AjaxForm.ConfigFormEditHandler);",
                          :class => "popup_form"} do |f| %>
    <%= md5_field %>
    <%= register_defaultable_list("job>artifactConfigs") %>

    <div class="fieldset">
        <%= render :partial => "artifact_configs.html", :locals => {:scope => {:form => f, :collection => @job.artifactConfigs().getBuiltInArtifactConfigs()}} %>
    </div>

    <%= render :partial => 'shared/convert_tool_tips.html', :locals => {:scope => {}} %>
    <%= render :partial => "admin/shared/form_submit", :locals => {:scope => {:reset_url => admin_job_edit_path(:pipeline_name => @pipeline.name(), :stage_name => params[:stage_name], :job_name => params[:job_name], :current_tab => "artifacts")}} %>
<% end %>
<script type="text/javascript">
   AjaxForm.error_box_selector = '#form_parent';
</script>
Fix artifact config page: Show only built in artifacts on the artifact config page even if external artifacts are configured. * Because the extension is not announced, this is a temporary fix for the page.
Fix artifact config page: Show only built in artifacts on the artifact config page even if external artifacts are configured.
* Because the extension is not announced, this is a temporary fix for the page.
