How do I fix the Bamboo Jenkins importer error message "No resource was found for hudson.model.Messages"?

I zipped up a Jenkins project folder and I've trying to import it, but I get an error message "No resource was found for hudson.model.Messages".  How do I work around this?  What do I need to change?

3 answers

1 accepted

0 votes
Accepted answer

We're using a newer version of Jenkins and we can't go backwards because we'll re-encounter issues that caused us to upgrade.

After re-reading the imported documentation, I see that it says to zip up the Jenkins home directory.  I just zipped up one project sub-directory in the jobs directory.  I can't even imagine zipping up a real, live Jenkins home directory with years of history and thinking that it will be under 50MB (even after making the recommended deletions) without doing as much editing and work as it would take to recreate the jobs by hand.

My takeaway from this is that Atlassian should remove the Jenkins importer if they're not going to make it ready for primetime.  In it's current state, it's just a frustrating tease.

0 votes

First thing to do is to check Bamboo version and Jenkins version.

There is one specific Jenkins version that will work for each Bamboo. And most probably it will not be the newest one... (there is usually some JIRA issue to vote for requesting Bamboo Jenkins importer upgrade).

According to this https://confluence.atlassian.com/display/BAMBOO/Importing+data+from+Jenkins Bamboo 5.14 should work with Jenkins 1.581

0 votes

You can try to edit your config.xml adding the following section

<hudson>
(...)
 <views>
    <hudson.model.AllView>
      <owner class="hudson" reference="../../.."/>
      <name>All</name>
      <filterExecutors>false</filterExecutors>
      <filterQueue>false</filterQueue>
      <properties class="hudson.model.View$PropertyList"/>
    </hudson.model.AllView>
</views>
</hudson>

 

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

How do your teams prepare for really high (planned) traffic days like Cyber Monday?

Hi there! Shannon from Statuspage here.  👋  With Cyber Monday quickly approaching, we're looking to hear from Atlassian customers – specifically from teams who touch incident response li...

61 views 0 5
Join discussion

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