<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:22:44 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-2718] Add option to Jenkinsfile to select agent (for Java 11 update)</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2718</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Need an option to specify a build should be executed with the new Java 11 build agent (see 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-2637&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2637&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;SPIKE:  Add Java 11 support to Jenkins Pipelines.&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium&quot; /&gt;
            FOLIO-2637
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
). Should be controlled by switch in repo&apos;s Jenkinsfile.&lt;/p&gt;</description>
                <environment></environment>
        <key id="81827">FOLIO-2718</key>
            <summary>Add option to Jenkinsfile to select agent (for Java 11 update)</summary>
                <type id="10002" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium">New Feature</type>
                                            <priority id="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="5cd423bebc70090d6ce241b1">Ian Hardy</assignee>
                                                                <reporter accountid="5cd423bebc70090d6ce241b1">Ian Hardy</reporter>
                                    <labels>
                    </labels>
                <created>Mon, 10 Aug 2020 19:18:44 +0000</created>
                <updated>Wed, 19 Aug 2020 07:00:50 +0000</updated>
                            <resolved>Mon, 17 Aug 2020 14:35:53 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                                                            <comment id="196441" author="5cd423bebc70090d6ce241b1" created="Wed, 12 Aug 2020 20:21:48 +0000"  >&lt;p&gt;to pick the other agent, just set the buildNode config option to  &apos;jenkins-agent-java11&apos; for buildMvn and buildNPM. Need to find out if there are specific references to java 8 things in the Jenkins libraries.&lt;/p&gt;

&lt;p&gt;yes, here: &lt;a href=&quot;https://github.com/folio-org/jenkins-pipeline-libs/blob/master/vars/buildMvn.groovy#L107&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/jenkins-pipeline-libs/blob/master/vars/buildMvn.groovy#L107&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These can be configured in Jenkins &amp;gt; Global Tool Configuration &amp;gt; Maven/JDK. Probably add a new one for j11 and use the setEnv script to pick the right one. Or if there&apos;s a common alias for the jdk we could use that and only have one config tbd.&lt;/p&gt;</comment>
                                                            <comment id="196442" author="5cd423bebc70090d6ce241b1" created="Thu, 13 Aug 2020 16:44:52 +0000"  >&lt;p&gt;I added a java 11 config in the Jenkins global tools config for jdk for use by a java 11 build agent. Now setEnvMvn.groovy checks this and sets the appropriate jdk config based on which agent is running the build. &lt;a href=&quot;https://github.com/folio-org/jenkins-pipeline-libs/pull/95&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/jenkins-pipeline-libs/pull/95&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To run with the new image, set buildNode config like so&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;buildMvn {
  publishModDescriptor = &apos;yes&apos;
  runLintRamlCop = &apos;yes&apos;
  publishAPI = &apos;yes&apos;
  mvnDeploy = &apos;yes&apos;
  buildNode = &apos;jenkins-agent-java11&apos;

  doDocker = {
    buildJavaDocker {
      publishMaster = &apos;yes&apos;
      healthChk = &apos;yes&apos;
      healthChkCmd = &apos;curl -sS --fail -o /dev/null  http://localhost:8081/apidocs/ || exit 1&apos;
    }
  }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Builds that do not use the buildMvn or buildNPM pipeline should set the agent:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;  agent {
    node {
      label &apos;jenkins-agent-java11&apos;
    }
  }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="196443" author="5cd423bebc70090d6ce241b1" created="Mon, 17 Aug 2020 14:35:38 +0000"  >&lt;p&gt;I added this agent template with a max capacity of 1 to each build node in Jenkins. the java 8 image has a max capacity of 2 being more popular for now. In time, we&apos;ll want to swap these.&lt;/p&gt;</comment>
                                                            <comment id="196444" author="61cd0ca0bce5e00069e98be7" created="Wed, 19 Aug 2020 07:00:50 +0000"  >&lt;p&gt;Added FAQ &lt;a href=&quot;https://dev.folio.org/faqs/how-to-specify-backend-java-ci/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.folio.org/faqs/how-to-specify-backend-java-ci/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="81698">FOLIO-2637</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="48642">CIRC-883</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01jc3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="11">DevOps: Sprint 95</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 19 Aug 2020 07:00:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>