Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
None
-
-
Blue Ocean - Candidates
Description
Problem
Non-multibranch pipelines do not have any changeset information
Steps to reproduce
- Create a Pipeline using the Jenkinsfile below
- Run the Pipeline
- There is no revision information
Jenkinsfile
node { stage('checkout') { checkout([$class: 'SubversionSCM', locations: [[local: '.', remote: 'http://svn.apache.org/repos/asf/poi/trunk/sonar/']], workspaceUpdater: [$class: 'UpdateUpdater'] ]) } }
Original request
(See https://groups.google.com/forum/?utm_source=footer#!topic/jenkinsci-users/FwBdR0UB6Qc)
In BlueOcean (v1.2.0) pipeline activity view the column 'COMMIT' always only shows a '-' (dash):
- Is that okay or what should be shown there?
- Side note: it is a "Pipeline from SCM" using SVN.
Please note that in the 'Changes' tab the SVN commit is nicely listed with SVN commit ID and message though:
Attachments
Issue Links
- is related to
-
JENKINS-44869 Activity tabs Run id column should expand to fit value
-
- Open
-
https://github.com/jenkinsci/blueocean-plugin/blob/70083b199cf41486dd0559520f0764205ea67ac3/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/rest/impl/pipeline/PipelineRunImpl.java#L209-L216
Looks like blueocean pulls the commit id from the run, using the SCMRevisionAction, which at least svn doesn't seem to populate.
stephenconnolly jglick looks like you worked on SCMRevisionAction, is that the right way to pull commit info for a run? it looks like its only implemented in workflow-multibranch-plugin, literate-plugin and yaml-project-plugin. Are other scm providers supposed to implement this?