Groovy pipeline in Jenkins duplicate class definition for name: "lib/lib" -


we have jenkins couple of plugins. including groovy-pipeline plugin. problem jenkins sometime not run , message:

sep 12, 2017 3:33:16 pm hudson.expressionfactory2$jexlexpression evaluate warning: caught exception evaluating: job.buildhealthreports in /. reason: java.lang.reflect.invocationtargetexception java.lang.reflect.invocationtargetexception     @ sun.reflect.generatedmethodaccessor108.invoke(unknown source)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:498)     @ org.apache.commons.jexl.util.propertyexecutor.execute(propertyexecutor.java:125)     @ org.apache.commons.jexl.util.introspection.uberspectimpl$velgetterimpl.invoke(uberspectimpl.java:314) caused by: java.lang.linkageerror: loader (instance of  org/jenkinsci/plugins/workflow/cps/cpsgroovyshell$cleangroovyclassloader): attempted  duplicate class definition name: "lib/lib"     @ java.lang.classloader.defineclass1(native method)     @ java.lang.classloader.defineclass(classloader.java:763)     @ java.security.secureclassloader.defineclass(secureclassloader.java:142) 

when disable plugin error goes away. notable seems handle around "job.buildhealthreports" , problem "lib/lib". assume duplicate library loading...

installed plugins:

enabled name ↓ version installed version
pinned uninstall allure jenkins plugin plugin integrates allure reporting tool jenkins. 2.22
ansicolor adds ansi coloring console output 0.5.2
ant plugin adds apache ant support jenkins 1.7 authentication tokens api plugin plugin provides api converting credentials authentication tokens in jenkins. 1.3 autofavorite blue ocean automatically favorites multibranch pipeline jobs when user author 1.0.0
bitbucket branch source plugin allows use bitbucket cloud source multi-branch projects. provides required connectors bitbucket cloud team folder (also known repositories auto-discovering). 2.2.3 bitbucket pipeline blue ocean blueocean bitbucket pipeline creator 1.2.0
blue ocean blueocean aggregator 1.2.0
blue ocean pipeline editor blue ocean pipeline editor simplest way wanting started creating pipelines in jenkins 1.2.0
bouncycastle api plugin plugin provides stable api bouncy castle related tasks. 2.16.2
branch api plugin plugin provides api multiple branch based projects. 2.0.11
build monitor view provides highly visible view of status of selected jenkins jobs. accommodates different computer screen sizes , ideal extreme feedback device displayed on screen on office wall. 1.12+build.201704111018 common api blue ocean plugin part of blue ocean ui 1.2.0
config api blue ocean blueocean analytics tools plugin 1.2.0
config file provider plugin ability provide configuration files (e.g. settings.xml maven, xml, groovy, custom files,...) loaded through ui copied job workspace. 2.16.3 credentials binding plugin allows credentials bound environment variables use miscellaneous build steps. 1.13
credentials plugin plugin allows store credentials in jenkins. 2.1.15
cucumber json test reporting. plugin understands cucumber json files , converts them jenkins testcase can seen in standard test reports. 0.9.7 cucumber reports project provides pretty html reports cucumber. works generating html cucumber json report formatter. can used anywhere json report generated (java, ruby, javascript , other implementations). 3.10.1
dashboard blue ocean blue ocean dashboard 1.2.0
display url api provides displayurlprovider extension point provide alternate urls use in notifications 2.0 display url blue ocean plugin generates blueocean specific urls display url plugin. 2.1.0
docker commons plugin provides common shared functionality various docker-related plugins. 1.8 docker pipeline build , use docker containers pipelines. 1.12
durable task plugin library offering extension point processes can run outside of jenkins yet monitored. 1.14
events api blue ocean blue ocean events 1.2.0
external monitor job type plugin adds ability monitor result of externally executed jobs 1.7 favorite plugin allows users favorite job. 2.3.0
folders plugin plugin allows users create "folders" organize jobs. users can define custom taxonomies (like project type, organization type etc). folders nestable , can define views within folders. maintained cloudbees, inc. 6.1.2
git client plugin utility plugin git support in jenkins 2.5.0
git pipeline blue ocean blueocean git scm pipeline creator 1.2.0
git plugin plugin integrates git jenkins. 3.5.1
git server plugin allows jenkins act git server. 1.7 github api plugin plugin provides github api other plugins. 1.86
github branch source plugin multibranch projects , organization folders github. maintained cloudbees, inc. 2.2.3
github organization folder plugin functionality provided plugin has been moved github branch source plugin. can safely delete plugin once there no plugins depend on plugin installed. 1.6 github pipeline blue ocean blueocean github organization pipeline creator 1.2.0
github plugin plugin integrates github jenkins. 1.28.0
green balls because green better blue! color blind support configure user property. 1.15 hidden parameter plugin 0.0.4 hipchat plugin plugin hipchat notifier can publish build status hipchat rooms. 2.1.1 html publisher plugin plugin publishes html reports. 1.14 i18n blue ocean blue ocean internationalization (i18n) plugin. plugin part of blue ocean plugin set. 1.2.0
icon shim plugin allows plugins make full use of layout tag when running on newer versions of jenkins, while still being compatible older versions. 2.0.3 jackson 2 api plugin plugin exposes jackson 2 json apis other jenkins plugins. 2.7.3 javadoc plugin 1.4 javascript gui lib: ace editor bundle plugin javascript gui lib: ace editor bundle plugin. 1.1 javascript gui lib: handlebars bundle plugin javascript gui lib: handlebars bundle plugin. 1.1.1 javascript gui lib: jquery bundles (jquery , jquery ui) plugin javascript gui lib: jquery bundles (jquery , jquery ui) plugin. 1.2.1 javascript gui lib: moment.js bundle plugin javascript gui lib: moment.js bundle plugin. 1.1.1 jira plugin plugin integrates jenkins atlassian jira. 2.4.2 jquery plugin allows other plugins use jquery in ui. 1.11.2-0 junit plugin allows junit-format test results published. 1.21
jwt blue ocean blueocean jwt plugin: enables jwt based blueocean api authentication 1.2.0
kubernetes plugin jenkins plugin run dynamic slaves in kubernetes/docker environment 1.0 ldap plugin adds ldap authentication jenkins 1.16
mailer plugin plugin allows configure email notifications build results 1.20
matrix authorization strategy plugin offers matrix-based security authorization strategies (global , per-project). 1.7 matrix project plugin multi-configuration (matrix) project type. 1.11
maven integration plugin plug-in provides, better , worse, deep integration of jenkins , maven: automatic triggers between projects depending on snapshots, automated configuration of various jenkins publishers (junit, ...). 2.17
maven release plug-in plug-in plug-in enables perform releases using maven-release-plugin jenkins. 0.14.0 mercurial plugin plugin integrates mercurial scm hudson. includes repository browsing support hg serve/hgweb, google code, bitbucket, fisheye, kilnhg , rhodecode. features include guaranteed clean builds, named branch support, module lists, mercurial tool installation, , automatic caching. 2.1 metrics plugin plugin exposes metrics api jenkins plugins. 3.1.2.10
nodejs plugin nodejs plugin executes nodejs script build step. 1.2.4
owasp markup formatter plugin uses owasp java html sanitizer allow safe-seeming html markup entered in project descriptions , like. 1.5 pam authentication plugin adds unix pluggable authentication module (pam) support jenkins 1.3 personalization blue ocean blue ocean personalization 1.2.0
pipeline suite of plugins lets orchestrate automation, simple or complex. see pipeline code jenkins more details. 2.5 pipeline graph analysis plugin provides rest api access pipeline , pipeline run data. 1.5 pipeline implementation blue ocean plugin part of blueocean plugin 1.2.0
pipeline scm api blue ocean plugin part of blueocean plugin 1.2.0
pipeline utility steps utility steps pipeline jobs. 1.4.0
pipeline: api plugin defines pipeline api. 2.20
pipeline: basic steps commonly used steps pipelines. 2.6 pipeline: build step adds pipeline step build trigger builds of other jobs. 2.5.1
pipeline: declarative agent api replaced pipeline: declarative extension points api plugin. 1.1.1
pipeline: declarative extension points api apis extension points used in declarative pipelines. 1.1.9
pipeline: github groovy libraries allows pipeline grrovy libraries loaded on fly github. 1.0 pipeline: groovy pipeline execution engine based on continuation passing style transformation of groovy scripts. 2.40
pipeline: input step adds pipeline step input wait human input or approval. 2.8 pipeline: job defines new job type pipelines , provides generic user interface. 2.11.2
pipeline: milestone step plugin provides milestone step 1.3.1
pipeline: model api model api declarative pipeline. 1.1.9
pipeline: model definition opinionated, declarative pipeline. 1.1.9
pipeline: multibranch enhances pipeline plugin handle branches better automatically grouping builds different branches. 2.16
pipeline: nodes , processes pipeline steps locking agents , workspaces, , running external processes may survive jenkins restart or slave reconnection. 2.15
pipeline: rest api plugin provides rest api access pipeline , pipeline run data. 2.9 pipeline: scm step adds pipeline step check out or update working sources various scms (version control). 2.5 pipeline: shared groovy libraries shared libraries pipeline scripts. 2.8 pipeline: stage step adds pipeline step stage delineate portions of build. 2.2 pipeline: stage tags metadata library plugin pipeline stage tag metadata. 1.1.9
pipeline: stage view plugin pipeline stage view plugin. 2.9 pipeline: step api api asynchronous build step primitive. 2.12
pipeline: supporting apis common utility implementations build pipeline plugin 2.14
plain credentials plugin allows use of plain strings , files credentials. 1.4 pub-sub "light" bus simple publish-subscribe light-weight event bus jenkins 1.12
publish on ssh send build artifacts on ssh 1.17 resource disposer plugin dispose resources asynchronously. utility plugin resources require more retries or take long time delete. 0.7 rest api blue ocean plugin part of blue ocean ui 1.2.0
rest implementation blue ocean plugin part of blue ocean ui 1.2.0
scm api plugin plugin provides new enhanced api interacting scm systems. 2.2.1
script security plugin allows jenkins administrators control in-process scripts can run less-privileged users. 1.34
serenity plugin plugin publishes serenity reports code coverage, complexity , stability project metrics. 1.2 server sent events (sse) gateway plugin server sent events (sse) gateway. 1.15 shelve project plugin plugin lets shelve projects can resurrected. 1.5 sonarqube scanner jenkins plugin allows easy integration of sonarqube, open source platform continuous inspection of code quality. 2.6.1
ssh credentials plugin allows storage of ssh credentials in jenkins 1.13 structs plugin library plugin dsl plugins need names jenkins objects. 1.10
token macro plugin plug-in adds reusable macro expansion capability other plug-ins use. 2.3 variant plugin user-invisible library plugin allows other multi-modal plugins behave differently depending on run. 1.1 web blue ocean blue ocean core 1.2.0
windows slaves plugin allows connect windows machines , start slave agents on them. 1.3.1
workspace cleanup plugin plugin deletes project workspace after build finished. 0.34

any ideas??? don't have clue on search solution welcome.

thanks, milo

there crashed pipelines did not have status in overview screen. after deleting build instances jobs (..//build/...) error went away. wrong build can seen there no symlinks job.

you'll understand when go corresponding folders :)


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -