Unable to publish artifact: No artifact handler found.

One of my plans produces artifacts that other builds depend upon. However, seemingly random it ceased to produce these artifacts. The error message is:

28-Apr-2014 08:21:15 Unable to publish artifact [...]: No artifact handler found.
28-Apr-2014 08:21:15 Unable to publish artifact [...]: No artifact handler found.
28-Apr-2014 08:21:15 Unable to publish artifact [...]: No artifact handler found.

The plan does not fail, but dependent plans that need the artifact fail with

Unable to download artifact Shared artifact: [...], pattern: [...] anchored at: [...]

The artifacts are of "jar" and "zip" type, and I verified that they indeed exist.


7 answers

1 accepted

0 vote

There's a bug in pre-5.6 that randomly disables plugins during restart, that's probably what caused it. If you want to make sure it does not happen again, pleas upgrade to 5.6.

Had the same problem. Here's my scenario. We were using Bamboo Cloud, archiving artifacts like Maven files and some Git files to share with other plans. These artifacts were stored in S3, where everything was working fine.

 

We moved to an internal Bamboo server, imported the plans, and for some reason it would fail with the same message of Unable to publish artifact [xyz.war]: No artifact handler found.

 

I went to the management screen, and on the left hand side menu selected Artifacts handler. There I could see storage options, and confirmed S3 was checked. It was also checked to use the same credentials used for spinning new agents (which was working fine).

 

So after some experimentation, here's what fixed the issue for us. I created a test job, and while playing with it, I noticed there was an option under miscellaneous to override the artifacts handler. When I checked that option, it came with the same storage options and check boxes that I could see in the management screen.

 

Except that all were unchecked. Not sure if relevant. But anyhow, once this plan was saved with this setting overriding, all other plans started working again.

 

Hope it helps someone else too.

Very relevant. 

We experienced the exact same issue and creating a "dummy" test job as you described worked.

Thanks a lot for sharing.

I am also getting this error. Everything has been working fine until today. Suddenly, no artifacts produced from all the builds.

Looking at the log and this is what I saw:

Unable to publish artifact [xyz.war]: No artifact handler found.

I also restarted Bamboo and still see the same issue.

Nicholas, if it worked and suddenly doesn't you might check the audit trail on the task to make sure someone didn't inadvertently change something that affected the artifact definition.

We're having same problem. Nobody touched nothing so what could it be?

Usually when I encounter this it is because there is something wrong with the path or artifact I have specified (usually a regex error). Also make sure the "shared" checkbox is checked.

I normally leave the artifact "location" field empty to avoid setting it in one location and forgetting to do it in another. Make sure your regex is correct. More often than not that is the cause of my failures.

Hi Gretchen,

Thanks for responding. Found out the Artifact Handle add-on was un-enabled. Once enabled, everything works again.

What's interesting was that I am the only one who has access to this and I know I didn't turn it off.

Hi,

Iam facing problem with

Unable to publish artifact [xxx-tar]: Unable to publish artifact Shared artifact: [xxx-tar], pattern: [**/*.tar] anchored at: [/target] for yyy-TAR-JOB1-42 via com.atlassian.bamboo.build.artifact.ServerLocalArtifactHandler@33a30e57

this was the error i am facing,recently it worked but now its nt working

 

I am having the same issue. Suddenly is stopped working.

simple	08-Oct-2015 16:57:03	Build Branches Integration - Build Master Artifacts - Tasks #569 (COL-BMA-JOB1-569) started building on agent Elastic Agent on i-a636e204
simple	08-Oct-2015 16:57:03	Elastic agent on instance i-a636e204
simple	08-Oct-2015 16:57:04	Build working directory is /mnt/bamboo-ebs/bamboo-agent/build-dir/COL-BMA-JOB1
simple	08-Oct-2015 16:57:04	Executing build Branches Integration - Build Master Artifacts - Tasks #569 (COL-BMA-JOB1-569)
simple	08-Oct-2015 16:57:04	Starting task 'Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple	08-Oct-2015 16:57:04	Updating source code to revision: cf7dd58c5b65da7bb24cd208e913f8707e379818
simple	08-Oct-2015 16:57:04	Fetching 'refs/heads/master' from 'https://bitbucket.org/colppy/colppy'.
simple	08-Oct-2015 16:57:05	Checking out revision cf7dd58c5b65da7bb24cd208e913f8707e379818.
simple	08-Oct-2015 16:57:05	Already on 'master'
simple	08-Oct-2015 16:57:05	Updated source code to revision: cf7dd58c5b65da7bb24cd208e913f8707e379818
simple	08-Oct-2015 16:57:05	Finished task 'Checkout' with result: Success
simple	08-Oct-2015 16:57:05	Running pre-build action: VCS Version Collector
simple	08-Oct-2015 16:57:06	Running post build plugin 'Docker Container Cleanup'
simple	08-Oct-2015 16:57:06	Running post build plugin 'NCover Results Collector'
simple	08-Oct-2015 16:57:06	Running post build plugin 'Clover Results Collector'
simple	08-Oct-2015 16:57:06	Running post build plugin 'npm Cache Cleanup'
simple	08-Oct-2015 16:57:06	Running post build plugin 'Artifact Copier'
simple	08-Oct-2015 16:57:06	Publishing an artifact: ChangeLogs
simple	08-Oct-2015 16:57:07	Finished publishing of artifact Shared artifact: [ChangeLogs], pattern: [**/*.xml] anchored at: [lib/scripts/mysql] in 1s
simple	08-Oct-2015 16:57:07	Publishing an artifact: Index
simple	08-Oct-2015 16:57:07	Finished publishing of artifact Shared artifact: [Index], pattern: [index.php] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:07	Publishing an artifact: Provisiones FacturaVenta
simple	08-Oct-2015 16:57:07	Finished publishing of artifact Shared artifact: [Provisiones FacturaVenta], pattern: [resources/Provisiones/FacturaVenta/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:07	Publishing an artifact: CI Scripts
simple	08-Oct-2015 16:57:08	Finished publishing of artifact Shared artifact: [CI Scripts], pattern: [lib/scripts/ci/**] in 0s
simple	08-Oct-2015 16:57:08	Publishing an artifact: Index comprimido
simple	08-Oct-2015 16:57:08	Finished publishing of artifact Shared artifact: [Index comprimido], pattern: [index.php] anchored at: [lib/scripts/ci] in 0s
simple	08-Oct-2015 16:57:08	Publishing an artifact: Todos XLS
simple	08-Oct-2015 16:57:08	Finished publishing of artifact Shared artifact: [Todos XLS], pattern: [resources/**/*.xls] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:08	Publishing an artifact: paneldecontrol php
simple	08-Oct-2015 16:57:09	Finished publishing of artifact Shared artifact: [paneldecontrol php], pattern: [resources/php/paneldecontrol/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:09	Publishing an artifact: Todo CSS
simple	08-Oct-2015 16:57:09	Finished publishing of artifact Shared artifact: [Todo CSS], pattern: [resources/css/*.css] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:09	Publishing an artifact: Icons
simple	08-Oct-2015 16:57:09	Finished publishing of artifact Shared artifact: [Icons], pattern: [resources/icons/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:09	Publishing an artifact: .Htaccess
simple	08-Oct-2015 16:57:09	Finished publishing of artifact Shared artifact: [.Htaccess], pattern: [**/*.htaccess] anchored at: [lib/scripts/ci/produccion] in 0s
simple	08-Oct-2015 16:57:09	Publishing an artifact: Todo pem
simple	08-Oct-2015 16:57:10	Finished publishing of artifact Shared artifact: [Todo pem], pattern: [resources/**/*.pem] in 0s
simple	08-Oct-2015 16:57:10	Publishing an artifact: cron medios pago
simple	08-Oct-2015 16:57:10	Finished publishing of artifact Shared artifact: [cron medios pago], pattern: [lib/scripts/admin/cronmediospago/**] in 0s
simple	08-Oct-2015 16:57:10	Publishing an artifact: php Clientes
simple	08-Oct-2015 16:57:10	Finished publishing of artifact Shared artifact: [php Clientes], pattern: [resources/php/clientes/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:10	Publishing an artifact: php fe
simple	08-Oct-2015 16:57:10	Finished publishing of artifact Shared artifact: [php fe], pattern: [resources/php/fe/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:10	Publishing an artifact: php gl
simple	08-Oct-2015 16:57:11	Finished publishing of artifact Shared artifact: [php gl], pattern: [resources/php/gl/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:11	Publishing an artifact: Footer
simple	08-Oct-2015 16:57:11	Finished publishing of artifact Shared artifact: [Footer], pattern: [**/FooterColppy.html] anchored at: [lib/scripts/ci/produccion] in 0s
simple	08-Oct-2015 16:57:11	Publishing an artifact: Globales.js
simple	08-Oct-2015 16:57:11	Finished publishing of artifact Shared artifact: [Globales.js], pattern: [**/globales.js] anchored at: [lib/scripts/ci/produccion] in 0s
simple	08-Oct-2015 16:57:11	Publishing an artifact: Param.php
simple	08-Oct-2015 16:57:11	Finished publishing of artifact Shared artifact: [Param.php], pattern: [**/param.php] anchored at: [lib/scripts/ci/produccion] in 0s
simple	08-Oct-2015 16:57:11	Publishing an artifact: php proveedores
simple	08-Oct-2015 16:57:11	Finished publishing of artifact Shared artifact: [php proveedores], pattern: [resources/php/proveedores/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:11	Publishing an artifact: .htaccess Staging
simple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [.htaccess Staging], pattern: [**/*.htaccess] anchored at: [lib/scripts/ci/staging] in 0s
simple	08-Oct-2015 16:57:12	Publishing an artifact: Footer Staging
simple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [Footer Staging], pattern: [**/FooterColppy.html] anchored at: [lib/scripts/ci/staging] in 0s
simple	08-Oct-2015 16:57:12	Publishing an artifact: Globales Staging
simple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [Globales Staging], pattern: [**/globales.js] anchored at: [lib/scripts/ci/staging] in 0s
simple	08-Oct-2015 16:57:12	Publishing an artifact: Param Staging
simple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [Param Staging], pattern: [**/param.php] anchored at: [lib/scripts/ci/staging] in 0s
simple	08-Oct-2015 16:57:12	Publishing an artifact: Services Config
simple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [Services Config], pattern: [**/service.php] anchored at: [lib/scripts/ci/produccion] in 0s
simple	08-Oct-2015 16:57:12	Publishing an artifact: Config Frontera Produccion
simple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [Config Frontera Produccion], pattern: [**/produccion.php] anchored at: [lib/scripts/ci/produccion] in 0s
simple	08-Oct-2015 16:57:12	Publishing an artifact: Config Frontera Staging
simple	08-Oct-2015 16:57:12	Finished publishing of artifact Shared artifact: [Config Frontera Staging], pattern: [**/produccion.php] anchored at: [lib/scripts/ci/staging] in 0s
simple	08-Oct-2015 16:57:12	Publishing an artifact: tesoreria php
simple	08-Oct-2015 16:57:13	Finished publishing of artifact Shared artifact: [tesoreria php], pattern: [resources/php/tesoreria/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:13	Publishing an artifact: common PHP
simple	08-Oct-2015 16:57:13	Finished publishing of artifact Shared artifact: [common PHP], pattern: [resources/php/common/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:13	Publishing an artifact: provisiones php
error	08-Oct-2015 16:57:21	Unable to publish artifact [provisiones php]: Unable to publish artifact Shared artifact: [provisiones php], pattern: [resources/Provisiones/**] anchored at: [/] for COL-BMA-JOB1-569 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@1119923 
simple	08-Oct-2015 16:57:21	Finished publishing of artifact Shared artifact: [provisiones php], pattern: [resources/Provisiones/**] anchored at: [/] in 7s
simple	08-Oct-2015 16:57:21	Publishing an artifact: Portal Clientes app
error	08-Oct-2015 16:57:48	Unable to publish artifact [Portal Clientes app]: Unable to publish artifact Shared artifact: [Portal Clientes app], pattern: [resources/portalclientes/app/**] anchored at: [/] for COL-BMA-JOB1-569 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@10eed8b 
simple	08-Oct-2015 16:57:48	Finished publishing of artifact Shared artifact: [Portal Clientes app], pattern: [resources/portalclientes/app/**] anchored at: [/] in 27s
simple	08-Oct-2015 16:57:48	Publishing an artifact: globales desarrollador
simple	08-Oct-2015 16:57:48	Finished publishing of artifact Shared artifact: [globales desarrollador], pattern: [lib/scripts/ci/produccion/desarrollador/globales.js] in 0s
simple	08-Oct-2015 16:57:48	Publishing an artifact: .htaccess desarrollador
simple	08-Oct-2015 16:57:48	Finished publishing of artifact Shared artifact: [.htaccess desarrollador], pattern: [lib/scripts/ci/produccion/desarrollador/.htaccess] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:48	Publishing an artifact: Portal clientes config
simple	08-Oct-2015 16:57:48	Finished publishing of artifact Shared artifact: [Portal clientes config], pattern: [resources/portalclientes/config/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:48	Publishing an artifact: desarrollador PHP
simple	08-Oct-2015 16:57:49	Finished publishing of artifact Shared artifact: [desarrollador PHP], pattern: [desarrollador/**/*.php] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:49	Publishing an artifact: Desarrollador Oauth
simple	08-Oct-2015 16:57:50	Finished publishing of artifact Shared artifact: [Desarrollador Oauth], pattern: [desarrollador/lib/OAuth/**] in 0s
simple	08-Oct-2015 16:57:50	Publishing an artifact: Desarrollador Resources
simple	08-Oct-2015 16:57:50	Finished publishing of artifact Shared artifact: [Desarrollador Resources], pattern: [desarrollador/resources/**] in 0s
simple	08-Oct-2015 16:57:50	Publishing an artifact: portalclientes nodemodules
simple	08-Oct-2015 16:57:50	Finished publishing of artifact Shared artifact: [portalclientes nodemodules], pattern: [resources/portalclientes/node_modules/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:50	Publishing an artifact: Images
simple	08-Oct-2015 16:57:51	Finished publishing of artifact Shared artifact: [Images], pattern: [resources/images/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:51	Publishing an artifact: JS
simple	08-Oct-2015 16:57:53	Finished publishing of artifact Shared artifact: [JS], pattern: [resources/js/Colppy/**/*.js] anchored at: [/] in 2s
simple	08-Oct-2015 16:57:53	Publishing an artifact: php empresa
simple	08-Oct-2015 16:57:53	Finished publishing of artifact Shared artifact: [php empresa], pattern: [resources/php/empresa/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:53	Publishing an artifact: micuenta php
simple	08-Oct-2015 16:57:54	Finished publishing of artifact Shared artifact: [micuenta php], pattern: [resources/php/micuenta/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:54	Publishing an artifact: colppymanager js
simple	08-Oct-2015 16:57:54	Finished publishing of artifact Shared artifact: [colppymanager js], pattern: [resources/js/ColppyManager/**/*.js] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:54	Publishing an artifact: overrides js
simple	08-Oct-2015 16:57:54	Finished publishing of artifact Shared artifact: [overrides js], pattern: [resources/js/overrides/**/*.js] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:54	Publishing an artifact: provisiones archivo
simple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [provisiones archivo], pattern: [resources/Provisiones/Archivo/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:55	Publishing an artifact: inventario provisiones
simple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [inventario provisiones], pattern: [resources/Provisiones/Inventario/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:55	Publishing an artifact: proveedor provisiones
simple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [proveedor provisiones], pattern: [resources/Provisiones/Proveedor/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:55	Publishing an artifact: referido provisiones
simple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [referido provisiones], pattern: [resources/Provisiones/Referido/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:55	Publishing an artifact: provisiones Cliente
simple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [provisiones Cliente], pattern: [resources/Provisiones/Cliente/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:55	Publishing an artifact: socio provisiones
simple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [socio provisiones], pattern: [resources/Provisiones/Socio/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:55	Publishing an artifact: tesoreria provisiones
simple	08-Oct-2015 16:57:55	Finished publishing of artifact Shared artifact: [tesoreria provisiones], pattern: [resources/Provisiones/Tesoreria/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:57:55	Publishing an artifact: provisiones ColppyCommon
error	08-Oct-2015 16:58:03	Unable to publish artifact [provisiones ColppyCommon]: Unable to publish artifact Shared artifact: [provisiones ColppyCommon], pattern: [resources/Provisiones/ColppyCommon/**] anchored at: [/] for COL-BMA-JOB1-569 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@a34ee 
simple	08-Oct-2015 16:58:03	Finished publishing of artifact Shared artifact: [provisiones ColppyCommon], pattern: [resources/Provisiones/ColppyCommon/**] anchored at: [/] in 7s
simple	08-Oct-2015 16:58:03	Publishing an artifact: Provisiones Contabilidad
simple	08-Oct-2015 16:58:04	Finished publishing of artifact Job artifact: [Provisiones Contabilidad], pattern: [resources/Provisiones/Contabilidad/**] anchored at: [/] in 1s
simple	08-Oct-2015 16:58:04	Publishing an artifact: Provisiones Desarrollador
simple	08-Oct-2015 16:58:05	Finished publishing of artifact Shared artifact: [Provisiones Desarrollador], pattern: [resources/Provisiones/Desarrollador/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:58:05	Publishing an artifact: Provisiones Empresa
simple	08-Oct-2015 16:58:05	Finished publishing of artifact Shared artifact: [Provisiones Empresa], pattern: [resources/Provisiones/Empresa/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:58:05	Publishing an artifact: Provisiones FacturaCompra
simple	08-Oct-2015 16:58:05	Finished publishing of artifact Shared artifact: [Provisiones FacturaCompra], pattern: [resources/Provisiones/FacturaCompra/**] anchored at: [/] in 0s
simple	08-Oct-2015 16:58:05	Finalising the build...
simple	08-Oct-2015 16:58:05	Stopping timer.
simple	08-Oct-2015 16:58:05	Build COL-BMA-JOB1-569 completed.
simple	08-Oct-2015 16:58:05	Running on server: post build plugin 'NCover Results Collector'
simple	08-Oct-2015 16:58:05	Running on server: post build plugin 'Clover Delta Calculator'
simple	08-Oct-2015 16:58:06	Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple	08-Oct-2015 16:58:06	Running on server: post build plugin 'Build Hanging Detection Configuration'
simple	08-Oct-2015 16:58:06	All post build plugins have finished
simple	08-Oct-2015 16:58:06	Generating build results summary...
simple	08-Oct-2015 16:58:06	Saving build results to disk...
simple	08-Oct-2015 16:58:06	Logging substituted variables...
simple	08-Oct-2015 16:58:06	Indexing build results...
simple	08-Oct-2015 16:58:06	Finished building COL-BMA-JOB1-569.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,586 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you