<commit_before><j:jelly xmlns:j="jelly:core"
         xmlns:f="/lib/form"
         xmlns:st="jelly:stapler"
         xmlns:r="/lib/jfrog"
         xmlns:c="/lib/credentials">
    <st:adjunct includes="lib.jfrog.repos.credentials"/>
    <f:section title="Artifactory">

        <f:entry
            help="/plugin/artifactory/help/ArtifactoryBuilder/help-pushToBintrayEnabled.html"  >
                <input id="pushToBintrayEnabled" type="checkbox"
                    name="pushToBintrayEnabled" value="${descriptor.pushToBintrayEnabled}"
                        field="pushToBintrayEnabled">Enable Push to Bintray
                </input>
        </f:entry>
        <f:entry
            help="/plugin/artifactory/help/ArtifactoryBuilder/help-useCredentialsPlugin.html">
                <input id="useCredentialsPlugin" type="checkbox" onclick="updateViewForCredentialsMethod(this.checked)"
                   name="useCredentialsPlugin" value="${descriptor.useCredentialsPlugin}"
                        field="useCredentialsPlugin">Use the Credentials Plugin
                </input>
        </f:entry>
        <f:entry title="Artifactory servers"
                 description="List of Artifactory servers that projects will want to deploy artifacts and build info to">


            <f:repeatable name="artifactoryServer" var="server" items="${descriptor.artifactoryServers}"
                          header="Artifactory">
                <input type="hidden" name="stapler-class" value="org.jfrog.hudson.ArtifactoryServer"/>

                <table width="100%">
                    <f:entry title="Server ID" help="/plugin/artifactory/help/ArtifactoryBuilder/help-serverId.html">
                        <f:textbox field="serverId" value="${server.name}"/>
                    </f:entry>

                    <f:entry title="URL" help="/plugin/artifactory/help/ArtifactoryBuilder/help-url.html">
                        <f:textbox field="artifactoryUrl" value="${server.url}" use="required"/>
                    </f:entry>

                    <f:section title="Default Deployer Credentials" field="deployerCredentialsConfig"
                               name="deployerCredentialsConfig">
                        <f:block>
                            <input type="hidden" name="stapler-class" value="org.jfrog.hudson.CredentialsConfig"/>
                            <table style="width: 100%" id="deployerCredentialsId${server.url}">
                                <f:entry title="${%Credentials}" name="credentialsId" field="credentialsId">
                                    <c:select default="${server.deployerCredentialsConfig.credentialsId}"/>
                                </f:entry>
                            </table>

                            <table style="width: 100%" id="legacyDeployerCredentials${server.url}">
                                <f:entry title="Username"
                                         help="/plugin/artifactory/help/common/help-deployerUserName.html">
                                    <f:textbox name="username" field="username"
                                               value="${server.deployerCredentialsConfig.username}"/>
                                </f:entry>
                                <f:entry title="Password"
                                         help="/plugin/artifactory/help/common/help-deployerPassword.html">
                                    <f:password name="password" field="password"
                                                value="${server.deployerCredentialsConfig.password}"/>
                                </f:entry>
                            </table>
                        </f:block>
                    </f:section>
                    <f:advanced>
                        <f:entry title="Connection Timeout" field="artifactory.timeout"
                                 help="/plugin/artifactory/help/ArtifactoryBuilder/help-timeout.html">
                            <f:textbox clazz="number" value="${server.timeout}"/>
                        </f:entry>
                        <f:entry name="artifactory.bypassProxy" field="artifactory.bypassProxy"
                                 help="/plugin/artifactory/help/ArtifactoryBuilder/help-bypassproxy.html">
                            <f:checkbox checked="${server.bypassProxy}"/>
                            <label class="attach-previous">${%Bypass HTTP Proxy}</label>
                        </f:entry>
                    </f:advanced>
                    <f:validateButton
                            title="${%Test Connection}" progress="${%Testing...}"
                            method="testConnection"
                            with="artifactoryUrl,artifactory.timeout,artifactory.bypassProxy,useCredentialsPlugin,credentialsId,username,password"/>

                    <f:optionalBlock title="Use Different Resolver Credentials"
                                     name="resolverCredentialsConfig"
                                     field="resolverCredentialsConfig"
                                     checked="${server.resolverCredentialsConfig.overridingCredentials}">
                        <f:block>
                            <f:nested>
                                <input type="hidden" name="overridingCredentials" value="true"/>
                                <input type="hidden" name="stapler-class"
                                       value="org.jfrog.hudson.CredentialsConfig"/>
                                <table style="width: 100%" id="resolverCredentialsId${server.url}">
                                    <f:entry title="${%Credentials}" field="credentialsId">
                                        <c:select default="${server.resolverCredentialsConfig.credentialsId}"/>
                                    </f:entry>
                                </table>

                                <table style="width: 100%" id="legacyResolverCredentials${server.url}">
                                    <f:entry title="Username"
                                             help="/plugin/artifactory/help/ArtifactoryBuilder/help-resolverUserName.html">
                                        <f:textbox field="username"
                                                   value="${server.resolverCredentialsConfig.username}"/>
                                    </f:entry>
                                    <f:entry title="Password"
                                             help="/plugin/artifactory/help/ArtifactoryBuilder/help-resolverPassword.html">
                                        <f:password field="password"
                                                    value="${server.resolverCredentialsConfig.password}"/>
                                    </f:entry>
                                </table>
                            </f:nested>
                        </f:block>
                    </f:optionalBlock>

                     <f:entry title="">
                        <div align="right">
                            <f:repeatableDeleteButton/>
                        </div>
                    </f:entry>

                </table>
            </f:repeatable>
        </f:entry>

        <f:optionalBlock title="Enable Build-Info proxy"
            name="buildInfoProxyEnabled"
            field="buildInfoProxyEnabled"
            checked="${descriptor.buildInfoProxyEnabled}">

            <f:entry title="Port" help="/plugin/artifactory/help/ArtifactoryBuilder/help-buildInfoProxyPort.html">
                <f:textbox id="buildInfoProxyPort" field="buildInfoProxyPort" value="${descriptor.buildInfoProxyPort}"/>
            </f:entry>
            <f:entry title="PEM-encoded certificate file path on master" help="/plugin/artifactory/help/ArtifactoryBuilder/help-buildInfoProxyCertPublic.html"><commit_msg>HAP-834 - Pipeline docker enhancements<commit_after><j:jelly xmlns:j="jelly:core"
         xmlns:f="/lib/form"
         xmlns:st="jelly:stapler"
         xmlns:r="/lib/jfrog"
         xmlns:c="/lib/credentials">
    <st:adjunct includes="lib.jfrog.repos.credentials"/>
    <f:section title="Artifactory">

        <f:entry
            help="/plugin/artifactory/help/ArtifactoryBuilder/help-pushToBintrayEnabled.html"  >
                <input id="pushToBintrayEnabled" type="checkbox"
                    name="pushToBintrayEnabled" value="${descriptor.pushToBintrayEnabled}"
                        field="pushToBintrayEnabled">Enable Push to Bintray
                </input>
        </f:entry>
        <f:entry
            help="/plugin/artifactory/help/ArtifactoryBuilder/help-useCredentialsPlugin.html">
                <input id="useCredentialsPlugin" type="checkbox" onclick="updateViewForCredentialsMethod(this.checked)"
                   name="useCredentialsPlugin" value="${descriptor.useCredentialsPlugin}"
                        field="useCredentialsPlugin">Use the Credentials Plugin
                </input>
        </f:entry>
        <f:entry title="Artifactory servers"
                 description="List of Artifactory servers that projects will want to deploy artifacts and build info to">


            <f:repeatable name="artifactoryServer" var="server" items="${descriptor.artifactoryServers}"
                          header="Artifactory">
                <input type="hidden" name="stapler-class" value="org.jfrog.hudson.ArtifactoryServer"/>

                <table width="100%">
                    <f:entry title="Server ID" help="/plugin/artifactory/help/ArtifactoryBuilder/help-serverId.html">
                        <f:textbox field="serverId" value="${server.name}"/>
                    </f:entry>

                    <f:entry title="URL" help="/plugin/artifactory/help/ArtifactoryBuilder/help-url.html">
                        <f:textbox field="artifactoryUrl" value="${server.url}" use="required"/>
                    </f:entry>

                    <f:section title="Default Deployer Credentials" field="deployerCredentialsConfig"
                               name="deployerCredentialsConfig">
                        <f:block>
                            <input type="hidden" name="stapler-class" value="org.jfrog.hudson.CredentialsConfig"/>
                            <table style="width: 100%" id="deployerCredentialsId${server.url}">
                                <f:entry title="${%Credentials}" name="credentialsId" field="credentialsId">
                                    <c:select default="${server.deployerCredentialsConfig.credentialsId}"/>
                                </f:entry>
                            </table>

                            <table style="width: 100%" id="legacyDeployerCredentials${server.url}">
                                <f:entry title="Username"
                                         help="/plugin/artifactory/help/common/help-deployerUserName.html">
                                    <f:textbox name="username" field="username"
                                               value="${server.deployerCredentialsConfig.username}"/>
                                </f:entry>
                                <f:entry title="Password"
                                         help="/plugin/artifactory/help/common/help-deployerPassword.html">
                                    <f:password name="password" field="password"
                                                value="${server.deployerCredentialsConfig.password}"/>
                                </f:entry>
                            </table>
                        </f:block>
                    </f:section>
                    <f:advanced>
                        <f:entry title="Connection Timeout" field="artifactory.timeout"
                                 help="/plugin/artifactory/help/ArtifactoryBuilder/help-timeout.html">
                            <f:textbox clazz="number" value="${server.timeout}"/>
                        </f:entry>
                        <f:entry name="artifactory.bypassProxy" field="artifactory.bypassProxy"
                                 help="/plugin/artifactory/help/ArtifactoryBuilder/help-bypassproxy.html">
                            <f:checkbox checked="${server.bypassProxy}"/>
                            <label class="attach-previous">${%Bypass HTTP Proxy}</label>
                        </f:entry>
                    </f:advanced>
                    <f:validateButton
                            title="${%Test Connection}" progress="${%Testing...}"
                            method="testConnection"
                            with="artifactoryUrl,artifactory.timeout,artifactory.bypassProxy,useCredentialsPlugin,credentialsId,username,password"/>

                    <f:optionalBlock title="Use Different Resolver Credentials"
                                     name="resolverCredentialsConfig"
                                     field="resolverCredentialsConfig"
                                     checked="${server.resolverCredentialsConfig.overridingCredentials}">
                        <f:block>
                            <f:nested>
                                <input type="hidden" name="overridingCredentials" value="true"/>
                                <input type="hidden" name="stapler-class"
                                       value="org.jfrog.hudson.CredentialsConfig"/>
                                <table style="width: 100%" id="resolverCredentialsId${server.url}">
                                    <f:entry title="${%Credentials}" field="credentialsId">
                                        <c:select default="${server.resolverCredentialsConfig.credentialsId}"/>
                                    </f:entry>
                                </table>

                                <table style="width: 100%" id="legacyResolverCredentials${server.url}">
                                    <f:entry title="Username"
                                             help="/plugin/artifactory/help/ArtifactoryBuilder/help-resolverUserName.html">
                                        <f:textbox field="username"
                                                   value="${server.resolverCredentialsConfig.username}"/>
                                    </f:entry>
                                    <f:entry title="Password"
                                             help="/plugin/artifactory/help/ArtifactoryBuilder/help-resolverPassword.html">
                                        <f:password field="password"
                                                    value="${server.resolverCredentialsConfig.password}"/>
                                    </f:entry>
                                </table>
                            </f:nested>
                        </f:block>
                    </f:optionalBlock>

                     <f:entry title="">
                        <div align="right">
                            <f:repeatableDeleteButton/>
                        </div>
                    </f:entry>

                </table>
            </f:repeatable>
        </f:entry>

        <f:optionalBlock title="Enable Build-Info proxy for Docker images"
            name="buildInfoProxyEnabled"
            field="buildInfoProxyEnabled"
            checked="${descriptor.buildInfoProxyEnabled}">

            <f:entry title="Port" help="/plugin/artifactory/help/ArtifactoryBuilder/help-buildInfoProxyPort.html">
                <f:textbox id="buildInfoProxyPort" field="buildInfoProxyPort" value="${descriptor.buildInfoProxyPort}"/>
            </f:entry>
            <f:entry title="PEM-encoded certificate file path on master" help="/plugin/artifactory/help/ArtifactoryBuilder/help-buildInfoProxyCertPublic.html">
{'fraction_non_alphanumeric': 0.1111745669141443, 'fraction_numerical': 0.0020940415000951836, 'mean_word_length': 1.3763570566948131, 'pattern_counts': {'":': 0, '<': 171, '<?xml version=': 0, '>': 171, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 68, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6889797', 'n_tokens_mistral': 3690, 'n_tokens_neox': 3503, 'n_words': 485}