-
Notifications
You must be signed in to change notification settings - Fork 166
Cannot create project #54
Comments
Is this the only module on your system that doesn't work? On Wednesday, 16 October 2013 at 17:21, Dmitri Nesteruk wrote:
|
Yep. This is for |
oh so this os for TeamCity 8.0? On Wednesday, 16 October 2013 at 18:11, Dmitri Nesteruk wrote:
|
yep |
ok makes sense - I need to look at this immediately. Thanks for bringing this up to me Paul On Wednesday, 16 October 2013 at 18:15, Dmitri Nesteruk wrote:
|
anything I can do to help speed this up? is this a quick fix or does it require a big redesign? |
Hey I am looking at this right now - I am trying to come up with a way that will allow the creation of a project / subproject for 8.0 that is also compatible with 7.x Paul On Saturday, 19 October 2013 at 12:50, Dmitri Nesteruk wrote:
|
Hey stack72, I am using TC 10 and using this to automate the TC Project creation and creating build configurations and Build Steps from my automation tool. I need some urgent help. I am also getting the same error while creating Build steps using this below method- Error: at EasyHttp.Codecs.DefaultDecoder.ObtainDeserializer(String contentType) |
Hi satyaprakashv In the same time, it's possible to use directly the latest version from the nuget.org Link to nuget.org: https://www.nuget.org/packages/TeamCitySharp-forked-mavezeau/ Regards! |
Awesome .. Thanks a lot Marc.. Thanks |
Yes, I added many new features if you missing some stocks just contact me on my fork :) |
Hey mavezeau, my XML for create anew build step is as below: |
I dont see your xml but I send a little version of code... In the same time, I found an issue in the code ... I already fixed the bug and I regenerate a new version. We need to wait that nuget approved the package , but it's already available E.g. of the code to create a new project, new build config and build step m_teamCityClient.Connect(username, password); PS :I added a space before each tag ex "< step" because the editor does not display the tag... |
Hey Mark, VcsRoot vcsroot = new VcsRoot();
client.VcsRoots.SetVcsRootValue(vcsroot, VcsRootValue.ProjectId, project.Id); Error: HTTP Status 403 -type Status report message description Access to the specified resource has been forbidden. Apache Tomcat/7.0.68Stack Track: |
Hi Satya, I made a little refactoring to fix your issue. I created new methods :
And I modified
How to use the new stuff: `
` The new version was already avalaible. Regards, |
Hi Mavezeau, Reference to the above post I have created one method to post raw XML for creating a ProjectFeature for setting up SonarQube Server Profile using the Rest API - http://<teamcity.domain.name>/app/rest/projects//projectFeatures When we POST the below XML (consisting of SonarQube Server Profile settings) to REST API, it gives an error that the type parameter cannot be empty (Attribute of projectFeature element). |
Hi Satya, I never try SonarQube with Teamcity, I don But I will check soon in my side. I don`t know if I will have time this week to check this. At the same time, is It possible to configure your server manually and just assign this projectFeature on your project ? |
Hi Mavezeau, projectFeature id="PROJECT_EXT_1" type="sonar-plugin" I thought if I could get some help from you. Regards |
Hi Satya, I added the capability to create and delete a new Project Feature on the latest version 1.0.59. On Project: Just check if it's working with the new stuff... |
JsonFx.Serialization.SerializationException was unhandled
HResult=-2146233079
Message=The encoding requested does not have a corresponding decoder
Source=EasyHttp
StackTrace:
at EasyHttp.Codecs.DefaultDecoder.ObtainDeserializer(String contentType) in d:\BuildAgent-02\work\f438280827ed948a\src\EasyHttp\Codecs\DefaultDecoder.cs:line 44
at EasyHttp.Codecs.DefaultDecoder.DecodeToStatic[T](String input, String contentType) in d:\BuildAgent-02\work\f438280827ed948a\src\EasyHttp\Codecs\DefaultDecoder.cs:line 22
at EasyHttp.Http.HttpResponse.StaticBody[T](String overrideContentType) in d:\BuildAgent-02\work\f438280827ed948a\src\EasyHttp\Http\HttpResponse.cs:line 111
at TeamCitySharp.Connection.TeamCityCaller.Post[T](String data, String urlPart)
at TeamCitySharp.TeamCityClient.CreateProject(String projectName)
at TeamCityDistributedSln.Program.Main(String[] args) in c:\Dropbox\Projects\Wild\TeamCityDistributedSln\TeamCityDistributedSln\Program.cs:line 17
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
The text was updated successfully, but these errors were encountered: