Description of problem: When adding self-defined stages, they will not start sequentially and there is always one stage duration shown as -1h Version-Release number of selected component (if applicable): 3.4.0.38 How reproducible: Always Steps to Reproduce: Preparation: Make sure Jenkins image and template exists, if not please create $ oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/image-streams/image-streams-centos7.json -n openshift $ oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/jenkins-ephemeral-template.json -n openshift 1.Create a sample jenkins pipeline BC $ oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/pipeline/samplepipeline.yaml 2.Add two self-defined stages through Builds -> Pipelines -> Edit Pipeline .... stage 'build is the greatest stage' stage 'stage another' stage('build') { openshiftBuild(buildConfig: 'nodejs-mongodb-example', showBuildLogs: 'true') } stage('deploy') { openshiftDeploy(deploymentConfig: 'nodejs-mongodb-example')]] ..... 3.Start jenkins pipeline BC at Builds -> Pipelines -> Start Pipeline 4.Check stage info on Builds -> Pipelines page Actual results: 4.Stages are not started sequentially and after all stages finished, duration for one stage duration is shown as -1h Please refer to attachment Expected results: 4.Stages should be started sequentially and show correct duration Additional info:
Created attachment 1237859 [details] StageNotStartedSequencially
Created attachment 1237861 [details] WrongDuration
Tried again with correct stage definition(Since I got this error from jenkins log <Using the ‘stage’ step without a block argument is deprecated>) .... stage('build is the greatest stage') {} stage('stage another'){} stage('build') { openshiftBuild(buildConfig: 'nodejs-mongodb-example', showBuildLogs: 'true') } stage('deploy') { openshiftDeploy(deploymentConfig: 'nodejs-mongodb-example')]] ..... This time stages are started sequentially and shown with correct duration Closing this, sorry for the inconvenience