Hi,
I think you makefile script is just fine and you should keep it this way.
I think what you want to split into stage is not what happen during the 
build but what goes around it.

here's an example of my jenkinsfile stages for a build:

   - stage 'Checkout'
   - stage 'Clean' // make clean most likely
   - stage 'Build'  // where you perform the general app make
   - stage 'Build Tests' // make tests
   - stage 'Run Unit Tests'
   - stage 'Run Smoke Tests'
   - stage 'Run Automated Tests'
   - stage 'Benchmark'
   - stage 'Qml Inspection'
   - stage 'Doxygen Generation'

The build should be the same as local developer are making, it just that 
you control the environment better on build machine. This is not the 
universal solution but just an example, the wanted stage depends on your 
code and application.

On Friday, August 19, 2016 at 7:20:02 AM UTC-4, Sorin Ionuț Sbârnea wrote:
>
> I do like Jenkins pipelines and the fact that now we can control Jenkins 
> jobs via an inside repository file. I also love the looks of the upcoming 
> Blue Ocean interface and I can't wait to see it as default interface.
>
> Now, the reality is that there is a serious problem which seems to be 
> ignored by the Jenkins development team: 
>
> By implementing Jenkins pipelines you lose the ability to execute a build 
> job outside jenkins. 
>
> Due to this our current pipelines are mostly just one execution of 'make', 
> so we can't really benefit from having the execution steps splitted and 
> nicely-displayed by Jenkins.
>
> Like most users we do have multi-stage bash/make scripts that are building 
> the product.
>
> Is there a way to implement Jenkins pipelines and still be able to run 
> local builds? What is you take on this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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-users/bbe16c5b-caa6-4690-8416-22d101c9ccbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to