TeamCity 3.0 Benares EAP, build 5813, is available

New TeamCity EAP release (build #5813) is ready for download!

The most notable improvements include:
- improved per-project permissions, UI for multiple projects and multiple users roles assignment
- post-build VCS labeling for Subversion, StarTeam and ClearCase, ability to manually set VCS label for finished builds
- ability to display custom statistic charts with minimum configuration
- "unauthorized" state for agents
- various improvements in builds with my changes notifications, StarTeam and ClearCase support, presentation of build results and more!

Read about the new features in the release notes at http://www.jetbrains.net/confluence/display/TW/BenaresEAP%28build5813%29Release+Notes

Download the EAP build at http://www.jetbrains.net/confluence/display/TW/Download+Latest

Please do not forget to backup your TeamCity data before upgrading. You can find the instructions at http://www.jetbrains.net/confluence/display/TCD3/TeamCityDataBackup

As always, your feedback is highly appreciated!

Happy building,
The JetBrains TeamCity Team

12 comments

Igor,

I've tried to upgrade from version 5644 - everything seemed to work fine, except
I discovered I was using the wrong buildServerData directory and it was using
the default under the home directory. When I changed to point it back to the correct
difrectory, I'm getting the following in the log:
jetbrains.buildServer.serverSide.versioning.ConvertException: java.sql.BatchUpdateException: Incorrect integer value: 'PROJECT_VIEWER' for column 'ROLE_ID' at row 1.

Unfortunately I removed the wrond buildServerData directory and cannot restore it.
What are my options? Do I need to restore the previous version completely and start again?
Can I force a conversion to start again?

Cheers,


Bonny

0

Since build 5725 it is possible to run code inspections directly on Maven pom files, without the need to check in IPR files.

IDEA 7 now also can set up a project directly using pom.xml files.

However there's still a need to check in and maintain ipr files when you want to use Code Coverage analysis.
Are there any plans to enable this using the Maven files? Only then we could get rid of redundantly have to maintain pom.xml AND .ipr files whenver something in the project structure changes.

0

Tobias,

IPR runner that have options to gather code coverage is based under the hood on converting the IPR file into the Ant script, so it seems not feasible to do Maven-IPR-Ant conversion.

So, most probably we should implement the feature to gather code coverage for Maven runner. Could you please file a corresponding Jira issue?

For the time being, you can add code coverage ability into your pom.xml manually by corresponding Maven plugin (e.g. Cobertura, or EMMA) and use TeamCity third-party report feature, described at http://www.jetbrains.net/confluence/x/C3M.

--
Best regards,

Yegor Yarko
Quality Assurance Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Bonny,

The message suggests you have database version that is older then the currently running TeamCity build.

The easiest solution is to restore the before-upgrade state with a backup and repeat the upgrade procedure. If you do not have the backup, more effort will be required. In this case we will need more information on your current data to advice you with the steps.

BTW, you can use TEAMCITY_DATA_PATH environment variable to set the data directory location.

--
Best regards,

Yegor Yarko
Quality Assurance Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

IPR runner that have options to gather code coverage is based under the hood on converting the IPR file into the Ant script, so it seems not feasible to do Maven-IPR-Ant conversion.


Why not?
IDEA 7 can already generate ipr and iml files out of the poms, why not just add that step in front of the Ant generation?

0

Hi Tobias,

I suppose that Maven-IPR-Ant conversion is too much indirection for such a task.
Before IDEA7, there were no way to utilize IDEA's power for running inspections and duplicates for maven projects without conversion. But for coverage, this is not the case.

Using of IDEA as converter Maven->IDEA->Ant gives too much indirection, and I think we rather support emma coverage pluggability for existing maven runner.

Kind regards,
KIR

0

Using of IDEA as converter Maven->IDEA->Ant gives too much indirection, and I think we rather support emma coverage pluggability for existing maven runner.


Oh, I would be fine with that approach. It's just that I thought maybe the other way could be easier or faster to implement, as the IDEA-Ant part is already existing.

0

When will TeamCity 3.0 be released?

0

Our plans are to release it this year.

If nothing unexpected happens, TeamCity will reach Benares early in December.

--
Best regards,

Yegor Yarko
Quality Assurance Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Yagor,

The problem seems to have been with the user_roles table: the role_id column
definition in my previous database was defined as an INTEGER and the conversion
code were looking for a VARCHAR type (as per the log). The interesting point here
is that this table, with the older structure, worked fine with EAP 5644, possibly
because it was not used by that version?.

I think it would be quite useful for you to document the changes in the schema. It
probably not sufficient for end users like me to apply those changes, but at least
it could provide an indication when something goes amiss and would help in
communicating the problem.

Another note: once the process completed, TC went straght to the Admin Setup
page, which I skipped, and went straight into the normal login screen and logged
as myself (I'm the TC admin here) since I thought that as my installation was an
upgrade, I could log in and affect changes. Well, that was a mistake... It seems
the new user role changes you've introduced require a new admin registration.
Luckily I could re-un that page and sort the users with roles, etc.
This is a long winded description of something that should have been in the release
notes on your wiki (at least I have not seen any mention of this).

Finally, thanks for this build - it sure will come in handy with all the new features you've introduced.



Cheers,

Bonny

Bonny Rais

0

Bonny,

I think it would be quite useful for you to document the changes in the schema. It
probably not sufficient for end users like me to apply those changes, but at least
it could provide an indication when something goes amiss and would help in
communicating the problem.


When we change the data structure (as required by new features, fixes or improvements), not only database schema is changed. It can be quite complex data "refactoring" that can change the schema, the actual database data and xml data stored in the TeamCity data directory. We are doing our best to ensure all these is done automatically upon TeamCity version upgrade. There still is room for improvement (e.g. http://www.jetbrains.net/jira/browse/TW-1650 ), but it should work fine in "normal" flow.

Describing the changes is not of much value to the end users, I believe. Instead we should address possible issues and try to resolve them automatically or provide more verbose output when the problem is discovered. And we will do so (the time frame is yet to decide on).

Another note: once the process completed, TC went straght to the Admin Setup
page, which I skipped, and went straight into the normal login screen and logged
as myself (I'm the TC admin here) since I thought that as my installation was an
upgrade, I could log in and affect changes. Well, that was a mistake... It seems
the new user role changes you've introduced require a new admin registration.


This looks like one more side-effect of the issues during upgrade: user roles should be converted transparently, preserving all the old permissions of the users. It seems that the necessary converter was skipped and existing users were not assigned proper roles to match their earlier permissions.

--
Best regards,

Yegor Yarko
Quality Assurance Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.