Can someone share a pipeline script get me the following view

54 views
Skip to first unread message

B Kareer

unread,
Jul 28, 2017, 5:18:58 PM7/28/17
to Delivery Pipeline Plugin


i can get stages to show but not with the tasks inside the stage...
also, can't get the version number to show on the left of the stage image
i am using Delivery Pipeline View for Jenkins Pipelines

thanks

to...@diabol.se

unread,
Aug 1, 2017, 3:43:12 AM8/1/17
to Delivery Pipeline Plugin
Hi,

This blog post shows how to use task's inside pipeline stages for a more fine grained visualization of pipelines using the Delivery Pipeline plugin: http://blog.diabol.se/?p=1021

B Kareer

unread,
Aug 1, 2017, 3:01:01 PM8/1/17
to Delivery Pipeline Plugin
thank you for that.
Is there a similar post which could show me how to configure the aggregate view?  I am looking to see the last good build/version that passed each stage
thanks in advance

to...@diabol.se

unread,
Oct 6, 2017, 4:47:09 AM10/6/17
to Delivery Pipeline Plugin
Hi,

Unfortunately aggregated views are not supported for Jenkins pipelines. Every pipeline run is essentially an isolated run of its own, so there is no guarantee that the same stages will be available between runs. For this reason it could be difficult to provide an accurate aggregated view of such a pipeline.

Jorge Bo

unread,
Oct 10, 2017, 5:10:26 PM10/10/17
to Delivery Pipeline Plugin
Hi, i was able to implement the attached pipeline and noticed that  step progress is not being measured independentrly but grouply. is there anything wrong with my steps definition? Thanks.



pipeline {
    agent any
    environment {
        def mvnHome = tool 'M3'
    }
    stages {
        stage ("Commit stage") {
            
            steps {
                task 'Checkout'
                git credentialsId: '9899898989', url: 'http://kdkdkdkdk'
            
                task 'Build and test'
                sh "'${mvnHome}/bin/mvn' -s /var/jenkins_home/settings.xml clean install"

                task 'Code analysis'
                withSonarQubeEnv('My SonarQube Server') {
                    sh "'${mvnHome}/bin/mvn' -s /var/jenkins_home/settings.xml sonar:sonar -Dsonar.scm.disabled=true"
                }
            }
        }

        stage ('Acceptance stage') {
            steps {
                task 'Configure environment'
                echo 'Installing'
                
                task 'Delpoy binaries'
                echo 'Installing'

                task 'Smoke test'
                echo 'Installing'
                
                task 'Acceptance tests'
                echo 'Installing'

to...@diabol.se

unread,
Oct 19, 2017, 9:52:10 AM10/19/17
to Delivery Pipeline Plugin
Hi,

When you say "step progress" - do you mean for each task?
For multiple tasks in the same stage, the progress is inherited from the stage (meaning that it is the total stage progress that is shown for all tasks), so it is a known limitation at this point.
If there would be a reliable way to determine the progress of a particular action within a stage, it would be great if someone could contribute a solution to that issue.

Fede Naum

unread,
Nov 29, 2017, 7:52:38 PM11/29/17
to Delivery Pipeline Plugin
Added link to this blog post under https://wiki.jenkins.io/display/JENKINS/Delivery+Pipeline+Plugin so people can find it easily
Reply all
Reply to author
Forward
0 new messages