<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:22:08 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-2637] SPIKE:  Add Java 11 support to Jenkins Pipelines.</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2637</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Use openjdk-11-jdk to build java/maven modules.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/folio-org/folio-tools/blob/master/jenkins-slave-docker/Dockerfile&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/folio-tools/blob/master/jenkins-slave-docker/Dockerfile&lt;/a&gt; currently uses openjdk-8-jdk (Java 8) to build java modules by running maven.&lt;/p&gt;

&lt;p&gt;SonarQube Server running on &lt;a href=&quot;https://sonarcloud.io/organizations/folio-org/projects&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sonarcloud.io/organizations/folio-org/projects&lt;/a&gt; requires openjdk-11-jdk (Java 11) to build using maven from October 2020 on: &lt;a href=&quot;https://sonarcloud.io/documentation/upcoming/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sonarcloud.io/documentation/upcoming/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Quote from &lt;a href=&quot;https://docs.sonarqube.org/latest/requirements/requirements/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.sonarqube.org/latest/requirements/requirements/&lt;/a&gt; :&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;The SonarQube Java analyzer is able to analyze any kind of Java source files regardless of the version of Java they comply to.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;JDK 11 can build Java 8 and Java 11 code. Example:&lt;br/&gt;
&lt;a href=&quot;https://github.com/SonarSource/sq-com_example_java-maven-travis&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SonarSource/sq-com_example_java-maven-travis&lt;/a&gt; made &lt;a href=&quot;https://github.com/SonarSource/sq-com_example_java-maven-travis/pull/14/files&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;an build JDK upgrade from Java 8 to Java 11&lt;/a&gt; and still &lt;a href=&quot;https://github.com/SonarSource/sq-com_example_java-maven-travis/blob/master/pom.xml#L18-L19&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;builds java 8 code&lt;/a&gt;:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
        &amp;lt;maven.compiler.source&amp;gt;8&amp;lt;/maven.compiler.source&amp;gt;
        &amp;lt;maven.compiler.target&amp;gt;8&amp;lt;/maven.compiler.target&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I&apos;ve successfully build RMB for Java 8 using openjdk11. The result jar can still run under JRE 8.&lt;/p&gt;</description>
                <environment></environment>
        <key id="81698">FOLIO-2637</key>
            <summary>SPIKE:  Add Java 11 support to Jenkins Pipelines.</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</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="557058:de4eac47-6d4e-4b50-9c3c-4a82ed705e52">Taras Spashchenko</reporter>
                                    <labels>
                            <label>devops</label>
                    </labels>
                <created>Fri, 5 Jun 2020 09:49:14 +0000</created>
                <updated>Mon, 17 Aug 2020 14:34:25 +0000</updated>
                            <resolved>Mon, 17 Aug 2020 14:34:25 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                <comments>
                                                            <comment id="199046" author="5ee89462f7aa140abd82d11d" created="Mon, 22 Jun 2020 13:39:35 +0000"  >&lt;p&gt;I recommend to base this new enkins-slave-docker/Dockerfile image on Ubuntu Focal (20.04 LTS). Ubuntu Xenial is rather old (2016) and already requires many manual installations that could be avoided by using Focal distribution packages: nodejs, postgres, yarn, docker&lt;/p&gt;</comment>
                                                            <comment id="199048" author="5cd423bebc70090d6ce241b1" created="Wed, 12 Aug 2020 17:25:13 +0000"  >&lt;p&gt;Created an image of the Jenkins image based on focal, taking Julian&apos;s advice, with Java 11 and tagged it as folioci/jenkins-slave-all:java-11. The Dockerfile is on a branch until we can verify. &lt;a href=&quot;https://github.com/folio-org/folio-tools/tree/folio-2637-java-11-image&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/folio-tools/tree/folio-2637-java-11-image&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A few notes, I kept things mostly the same other than java-11 and whichever utilities we were getting through the linux package manager. Updated from Ansible 2.7.5 to 2.7.18. Python 2 is no longer available. We shouldn&apos;t be using it anymore anyway since it&apos;s no longer maintained but something to keep in mind. Left Node, ruby, docker alone.&lt;/p&gt;</comment>
                                                            <comment id="199051" author="5f8314dfbdef80006f6f572d" created="Fri, 14 Aug 2020 09:27:51 +0000"  >&lt;p&gt;This blocks release of OKAPI and RMB for Q3 that should be released today.&lt;/p&gt;</comment>
                                                            <comment id="199053" author="5cd423bebc70090d6ce241b1" created="Fri, 14 Aug 2020 11:09:49 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f8314dfbdef80006f6f572d&quot; class=&quot;user-hover&quot; rel=&quot;5f8314dfbdef80006f6f572d&quot; data-account-id=&quot;5f8314dfbdef80006f6f572d&quot; accountid=&quot;5f8314dfbdef80006f6f572d&quot; rel=&quot;noreferrer&quot;&gt;Adam Dickmeiss&lt;/a&gt;, please try setting &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;buildNode = &apos;jenkins-agent-java11&apos;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt; in the Jenkinsfile. See example on &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2718&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-org.atlassian.net/browse/FOLIO-2718&lt;/a&gt;. &lt;/p&gt;</comment>
                                                            <comment id="199055" author="5f8314dfbdef80006f6f572d" created="Fri, 14 Aug 2020 11:20:42 +0000"  >&lt;p&gt;Seems to work. Should this be applied to all projects migrating to OpenJDK 11 or is this a temporary solution and it will be the default?&lt;/p&gt;</comment>
                                                            <comment id="199057" author="5cd423bebc70090d6ce241b1" created="Fri, 14 Aug 2020 11:25:23 +0000"  >&lt;p&gt;Yes, needs to be applied to all projects that need jdk 11. I believe the plan was to make this an option at first, then change it to be the default build agent later.&lt;/p&gt;
</comment>
                                                            <comment id="199060" author="5cd423bebc70090d6ce241b1" created="Fri, 14 Aug 2020 13:13:52 +0000"  >&lt;p&gt;Also, base image needs to be updated to folioci/alpine-jre-openjdk11:latest in the Docker file if applicable. We tried this in okapi but the healthcheck failed. Possible the base image needs more testing. &lt;/p&gt;</comment>
                                                            <comment id="199062" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Fri, 14 Aug 2020 19:04:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cd423bebc70090d6ce241b1&quot; class=&quot;user-hover&quot; rel=&quot;5cd423bebc70090d6ce241b1&quot; data-account-id=&quot;5cd423bebc70090d6ce241b1&quot; accountid=&quot;5cd423bebc70090d6ce241b1&quot; rel=&quot;noreferrer&quot;&gt;Ian Hardy&lt;/a&gt;, the reason Okapi build failed (docker health check) is because the base image does not have curl installed. Add curl to &lt;a href=&quot;https://github.com/folio-org/folio-tools/blob/master/folio-java-docker/openjdk11/Dockerfile&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/folio-tools/blob/master/folio-java-docker/openjdk11/Dockerfile&lt;/a&gt; should do it. &lt;br/&gt;
BTW, this has been addressed.&lt;/p&gt;</comment>
                                                            <comment id="199064" author="5cd423bebc70090d6ce241b1" created="Mon, 17 Aug 2020 14:34:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; class=&quot;user-hover&quot; rel=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; data-account-id=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; accountid=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; rel=&quot;noreferrer&quot;&gt;Hongwei Ji&lt;/a&gt;, many thanks!&lt;/p&gt;

&lt;p&gt;In summary, to use jdk 11 for your build in jenkins, you must set&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;buildNode = &apos;jenkins-agent-java11&apos; &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; in the Jenkinsfile, and update the base image in your docker file to use &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;folioci/alpine-jre-openjdk11:latest&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="81089">FOLIO-1772</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="57043">RMB-328</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54272">OKAPI-879</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81827">FOLIO-2718</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="81177">FOLIO-1940</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i018wv:</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>
    <customfieldvalue id="1947">DevOps: sprint 94</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 22 Jun 2020 13:39:35 +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>