<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I like Proposal #1. &nbsp;</div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Sep 6, 2017, at 7:42 AM, Rostislav Svoboda &lt;<a href="mailto:rsvoboda@redhat.com" class="">rsvoboda@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi.<br class=""><br class=""><a href="https://developer.jboss.org/thread/224262" class="">https://developer.jboss.org/thread/224262</a> announced availability of WildFly nightly builds.<br class=""><br class="">Current status is that you must know the URL based on current version in master<br class="">At this moment it is <a href="https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastFinished/wildfly-11.0.0.Final-SNAPSHOT.zip" class="">https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastFinished/wildfly-11.0.0.Final-SNAPSHOT.zip</a>, root dir of the zip is wildfly-11.0.0.Final-SNAPSHOT<br class=""><br class="">'11.0.0.Final-SNAPSHOT' is the changing part and when you want to consume nightly build in CI (e.g. Travis) you end up doing unnecessary changes to .travis.yml (Alpha1-SNAPSHOT ==&gt; Beta1-SNAPSHOT ==&gt; Final-SNAPSHOT) when PRs fail because of unavailable nightly bits<br class=""><br class="">I would like to make automated consumption of WildFly nightly builds easier<br class=""><br class="">Proposal 1 - expose latest bits under the same URL + keep the same root dir name<br class=""> &nbsp;URL: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastFinished/wildfly-latest-SNAPSHOT.zip" class="">https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastFinished/wildfly-latest-SNAPSHOT.zip</a><br class=""> &nbsp;root dir of the zip: &nbsp;wildfly-latest-SNAPSHOT<br class=""><br class="">Automation would be prepared just once and "work forever".<br class=""><br class=""><br class="">Proposal 2 - keep current zip &amp; root dir name + add txt file with version information<br class=""> &nbsp;introduce <a href="https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastFinished/version.txt" class="">https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastFinished/version.txt</a><br class=""> &nbsp;Currently it would contain '11.0.0.Final-SNAPSHOT'<br class=""> &nbsp;&nbsp;&nbsp;Example to get version: mvn help:evaluate -Dexpression=project.version | grep -v "^\["<br class=""><br class="">Automation could consume content of version.txt and construct the download URL + root dir name<br class=""> &nbsp;VERSION=`curl <a href="https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastFinished/version.txt`" class="">https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastFinished/version.txt`</a><br class=""> &nbsp;<a href="https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastFinished/wildfly-${VERSION}.zip" class="">https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastFinished/wildfly-${VERSION}.zip</a><br class=""> &nbsp;root dir of the zip is wildfly-${VERSION}<br class=""><br class=""><br class="">WDYT?<br class=""><br class="">Regards.<br class="">Rostislav<br class=""><br class="">_______________________________________________<br class="">wildfly-dev mailing list<br class=""><a href="mailto:wildfly-dev@lists.jboss.org" class="">wildfly-dev@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/wildfly-dev<br class=""></div></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--<br class="">Jason T. Greene<br class="">Chief Architect, JBoss EAP</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Red Hat</div></div>
</div>
<br class=""></body></html>