warnings graph in multibranch pipeline projects

223 views
Skip to first unread message

Klaus Rudolph

unread,
Sep 12, 2016, 9:38:59 AM9/12/16
to jenkins...@googlegroups.com
I started to migrate some jobs in jenkins to pipeline execution.

Is there any chance to see the warnings graph in pipeline jobs? Within my older projects I can configure the graphs with "Configure the trend graph" option. These option will crash in the pipeline syntax tool.

Is there any option to make the graph visible?

I have in my Jenkinsfile:

stage ('Warnings gcc') {
step([$class: 'WarningsPublisher', canComputeNew: false, canResolveRelativePaths: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', messagesPattern: '', parserConfigurations: [[parserName: 'GNU Make + GNU C Compiler (gcc)', pattern: 'error_and_warnings.txt']], unHealthy: ''])
}

stage ('Warnings clang') {
step([$class: 'WarningsPublisher', canComputeNew: false, canResolveRelativePaths: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', messagesPattern: '', parserConfigurations: [[parserName: 'Clang (LLVM based)', pattern: 'error_and_warnings_clang.txt']], unHealthy: ''])
}

The reports will be generated but no graph is displayed. Any hints?

R. Tyler Croy

unread,
Sep 12, 2016, 10:09:35 PM9/12/16
to Klaus Rudolph, jenkins...@googlegroups.com
Moin Klaus!

Klaus Rudolph schrieb am Monday, den 12. September 2016:

> I started to migrate some jobs in jenkins to pipeline execution.
>
> Is there any chance to see the warnings graph in pipeline jobs? Within my older projects I can configure the graphs with "Configure the trend graph" option. These option will crash in the pipeline syntax tool.


This issue might be relevant to your question:
https://issues.jenkins-ci.org/browse/JENKINS-31202

Do you not see graphs on the build specific pages too?


>
> Is there any option to make the graph visible?
>
> I have in my Jenkinsfile:
>
> stage ('Warnings gcc') {
> step([$class: 'WarningsPublisher', canComputeNew: false, canResolveRelativePaths: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', messagesPattern: '', parserConfigurations: [[parserName: 'GNU Make + GNU C Compiler (gcc)', pattern: 'error_and_warnings.txt']], unHealthy: ''])
> }
>
> stage ('Warnings clang') {
> step([$class: 'WarningsPublisher', canComputeNew: false, canResolveRelativePaths: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', messagesPattern: '', parserConfigurations: [[parserName: 'Clang (LLVM based)', pattern: 'error_and_warnings_clang.txt']], unHealthy: ''])
> }
>
> The reports will be generated but no graph is displayed. Any hints?
>
> --
> 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 jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/trinity-860cbe76-3605-4d4b-903e-a3cb43a58741-1473687526354%403capp-gmx-bs24.
> For more options, visit https://groups.google.com/d/optout.

- R. Tyler Croy

------------------------------------------------------
Code: <https://github.com/rtyler>
Chatter: <https://twitter.com/agentdero>

% gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
------------------------------------------------------
signature.asc

Klaus Rudolph

unread,
Sep 16, 2016, 3:44:03 AM9/16/16
to jenkins...@googlegroups.com
Hi Tyler,

> > I started to migrate some jobs in jenkins to pipeline execution.
> >
> > Is there any chance to see the warnings graph in pipeline jobs? Within my older projects I can configure the graphs with "Configure the trend graph" option. These option will crash in the pipeline syntax tool.
>
>
> This issue might be relevant to your question:
> https://issues.jenkins-ci.org/browse/JENKINS-31202
>
> Do you not see graphs on the build specific pages too?

The "normal" build jobs still work as expected, graphics are visible. Only on pipeline jobs the graph is not displayed.

Regards
Klaus
Reply all
Reply to author
Forward
0 new messages