Team City build - Workspace is null error - maven

I am setting up Maven project from a RTC repository on Team City. When I run the build on the project I am getting the following error:
"Failed to perform checkout on agent: Unable to start build as workspace name is null"
Does anyone has any idea how to fix this error.
More Details for the error:
Updating sources: agent side checkout
[VCS Root: Trunk] Agent Checkout
[Agent Checkout] Unable to start build as workspace name is null
[Updating sources] Failed to perform checkout on agent: Unable to start build as workspace name is null

Please check that build configuration has at least one build step (it can be a dummy or simple echo message).
I did face the same issue and could resolve it by creating a dummy step.

Related

mvn gitflow:release-finish with main-branch

I'm getting the following errormessage:
Failed to execute goal com.amashchenko.maven.plugin:gitflow-maven-plugin:1.18.0:release-finish (default-cli) on project parent: release-finish: error: pathspec 'master' did not match any file(s) known to git
That's because the branch is called main instead of master.
Renaming the branch to master is not an option.
Is there any way to pass the information about the main-branch to the maven-gitflow-plugin?
As stated in the errormessage I'm using the plugin version 1.18.0
I think this is configurable in the gitflow-maven-plugin configuration:
<gitFlowConfig>
<productionBranch>main</productionBranch>
</gitFlowConfig>

Maven repository down?

The maven repository appears to be down. Trying to fetch data from the following url results in an error:
https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml
Is this temporary or does this have to do with crosswalk no longer being developed?
=> Errors executing Cordova commands:
While building Cordova app for platform Android:
Error:/Users/fullhdpixel/Projects/MyRoutes/.meteor/local/cordova-build/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_armv7DebugApkCopy'.
> Could not resolve org.xwalk:xwalk_core_library:23+. Required by: :android:unspecified
> Could not resolve org.xwalk:xwalk_core_library:23+.
> Failed to list versions for org.xwalk:xwalk_core_library.
> Unable to load Maven meta-data from https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml.
> Could not GET 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml'. Received status code 503 from server: Service Unavailable
There is already an open issue in their jira and another one on github. I guess it should be fixed by tomorrow (monday) as none of their maintainers will work on a weekend, be patient.
As the project maintainers stated here there will be no new releases but the source and repos will still be available for development.
Edit:
You can find a workaround until the servers are up again here.
It seems all of https://download.01.org is down!!!
An error occurred while processing your request.
Reference #30.22688343.1504522521.5cd76e0

Teamcity - Incompatible Agent configuration

I am trying to create a Build Configuration in TeamCity.
I do have a Agent setup properly and I do have many projects properly working on TeamCity before. This is just a new configuration I am trying to create,
however, my current teamcity agent is not compatible, it gives below error message
Implicit requirements:
20DA defined in VCS Root: Site1
20Lines/Technical defined in VCS Root: Site1
I don't understand the error message above, tried searching on internet but no pointers. It seems to me some issue with my SVN. Pls help.
It is most likely because you have parameters/variables defined in your SVN VCS Root. But on your build agent, those parameters/variables do not exist.

Failed to start build on agent because of Snapshot dependency failure

I've configured build chain on TC.
When some build fails, dependent build shows error "Failed to start ... build on agent ..." and "Snapshot dependency failure".
Dependent build is configured to start ONLY in case of previous build succeeded. Also dependent build is configured to have the same build id as it's dependency (correspond to revision number) and thus I'm able to see last successfull commit that had been passed "the testing chain". With this in mind I don't see any advantages in "Failed to start" error message to be shown, in contrary my project page on TC is less readable. How could I configure TC not to show it?
Thanks.

How can I evade build fails in Hudson when there is no code change?

I am using Hudson to build from Git in my continuous integration system. Everything works fine except that when I start another build without any code change in Git. Then the build just crashes and burns with exceptions. How can I let the Hudson know that if there is no change in the Git side, just rebuild the old code?
Here comes the exception:
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:759)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:718)
at hudson.FilePath.act(FilePath.java:756)
at hudson.FilePath.act(FilePath.java:738)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:718)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1171)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:499)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:415)
at hudson.model.Run.run(Run.java:1362)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:405)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)

Resources