Also, just noticed a typo in README: *build/libs/pipeline-view.hpi* instead of "build/dist".
On Mon, Mar 21, 2016 at 2:03 PM Sergei Egorov <[email protected]> wrote: > Ah, yes, definitely my bad. Forgot to include peer dependency. Should be > fine now if you pull the latest changes. Sorry :) > > On Mon, Mar 21, 2016 at 1:32 PM Sergei Egorov <[email protected]> wrote: > >> Het Antonio, >> >> Thanks for the report! I will clean my local installation and re-run >> build to make sure that It will work for you as well >> >> I will report in a few minutes >> >> On Mon, Mar 21, 2016 at 1:30 PM Antonio Muñiz <[email protected]> >> wrote: >> >>> Nice! I'm trying to build it but after `./gradlew build` the build/dist >>> directory is empty. >>> The build finishes wit success, but I see this error in the build log: >>> >>> ERROR in ./app/index.jsx >>> Module build failed: Error: Cannot find module 'es2015' >>> >>> Something related to i18n? >>> >>> On Mon, Mar 21, 2016 at 7:52 AM, Sergei Egorov <[email protected]> >>> wrote: >>> >>>> Hey everyone, >>>> >>>> Yesterday I decided to publish sources for my pipeline visualization >>>> plugin: https://github.com/bsideup/jenkins-pipeline-view >>>> >>>> <https://lh3.googleusercontent.com/-t28IjO2m73U/Vu-VVrauoEI/AAAAAAAAAyI/tiF8TH7YVCYiqI4n78DvC0FQ21ir46LNg/s1600/screenshot.png> >>>> >>>> >>>> What's cool about it? >>>> First of all, it *can handle any graph* provided by pipeline because >>>> it uses very powerful *JS graph library* to position steps. >>>> Also, it's a *React* application, written in *ES7* (not even ES6!), >>>> with ImmutableJS and RxJS inside - so hipsters will be happy :D But in >>>> fact, it means that it's damn easy to develop this plugin and provide more >>>> functionality. >>>> I use *Webpack* to bundle everything (JS, CSS, fonts, images, SVG >>>> icons) in one single pipe.js file. *No Jenkins JS Modules*, no >>>> conflicts, no impact on others. Even CSS will not conflict because of >>>> *CSS-modules* ( http://glenmaddern.com/articles/css-modules ) >>>> All icons are SVG ones and look good on any screen, retina or not, and >>>> any zoom level. >>>> >>>> I use Jackson on the backend side to serialize FlowNodes and their >>>> actions. *Why Jackson?* Because it was much easier to implement >>>> serialization of selected (non-exposed) fields and class info included >>>> compared to Stapler. I saw something were done about classinfo in Stapler, >>>> but at the moment of creation of this plugin, it wasn't delivered to >>>> Jenkins core yet. Also, *almost none of the Pipeline actions are >>>> @Expose-d*. >>>> >>>> I use *gradle-jpi-plugin* instead of Maven because it's much easier to >>>> describe some complex build process with Gradle, especially when frontend >>>> build is involved. In fact, it's just one line: >>>> >>>> https://github.com/bsideup/jenkins-pipeline-view/blob/954b895b6574cdf34815ff94a4a8db3ad3811aeb/build.gradle#L61 >>>> >>>> >>>> Future development >>>> Will I continue to develop it? Definitely! Here, *at ZeroTurnaround*, >>>> we use Jenkins a lot, and eventually we will migrate to the pipelines, and >>>> proper visualization of the process is a must for us. And feel free to >>>> contribute as well, it's really a good chance to learn *modern JS >>>> stack* as well :) >>>> >>>> >>>> >>>> Best regards, >>>> Sergei Egorov >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Jenkins Developers" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/jenkinsci-dev/61fe5fb1-6b5f-41b8-bdb0-f5d04c5b9f54%40googlegroups.com >>>> <https://groups.google.com/d/msgid/jenkinsci-dev/61fe5fb1-6b5f-41b8-bdb0-f5d04c5b9f54%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Antonio Muñiz >>> Software Engineer >>> CloudBees, Inc. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Jenkins Developers" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-dev/CAJc7kzS28M8q6EruxGXE%2B8yC9vELsCuW-qXFLS1JZG-8ASge%3Dg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAJc7kzS28M8q6EruxGXE%2B8yC9vELsCuW-qXFLS1JZG-8ASge%3Dg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAAJdKX%3DQB8%3DFAKyVM7ydXBG1Oxk%2B6iFvPbC9wMzQ%2BcnzJSyX8A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
