Hi All
We are using Stash to manage our internal GIT repositories. 
When I do use TeamCity Artifactory Release management tab with my GIT
repository it checks out from the Remote GIT repo with no problem. However,
pushing new Branch, tag or anything else is an issue. It times out at the
moment with message: Build failure message received: 

*Git execution failed: '[cmd, /c, git, push,
http://foo:7990/bar/bar-framework.git, refs/heads/REL-BRANCH-1.1.0]*

Trying to go to the Agent and executing the same from a folder prompts me
for a password. I assume that is the issue with the PUSH. How can I avoid
this problem?

When I uncheck the Branch/Tag creation, the Release fails with the
following:

*Build failure message received: Git execution failed: '[cmd, /c, git,
commit, --all, -m, null]'*

Full build log stack trace:

org.jfrog.teamcity.agent.release.vcs.git.GitException: Git execution failed:
'[cmd, /c, git, commit, --all, -m, null]'
        at
org.jfrog.teamcity.agent.release.vcs.git.GitCmd.runCommand(GitCmd.java:68)
        at
org.jfrog.teamcity.agent.release.vcs.git.GitCmd.launchCommand(GitCmd.java:29)
        at
org.jfrog.teamcity.agent.release.vcs.git.GitManager.commitWorkingCopy(GitManager.java:66)
        at
org.jfrog.teamcity.agent.release.vcs.git.GitCoordinator.afterSuccessfulReleaseVersionBuild(GitCoordinator.java:97)
        at
org.jfrog.teamcity.agent.listener.AgentListenerReleaseHelper.runnerFinished(AgentListenerReleaseHelper.java:81)
        at
org.jfrog.teamcity.agent.ArtifactoryAgentListener.runnerFinished(ArtifactoryAgentListener.java:109)
        at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:115)
        at
jetbrains.buildServer.util.EventDispatcher$2.invoke(EventDispatcher.java:67)
        at $Proxy8.runnerFinished(Unknown Source)
        at
jetbrains.buildServer.agent.impl.buildStages.runnerStages.finish.FireRunnerFinishedFStage.doFinishStage(FireRunnerFinishedFStage.java:29)
        at
jetbrains.buildServer.agent.impl.buildStages.RunnerFinishStagesExecutor.runFinishStage(RunnerFinishStagesExecutor.java:32)
        at
jetbrains.buildServer.agent.impl.buildStages.RunnerFinishStagesExecutor.doBuildFinishStages(RunnerFinishStagesExecutor.java:23)
        at
jetbrains.buildServer.agent.impl.buildStages.startStages.steps.RunnerContextExecutor.safeCallFinishStages(RunnerContextExecutor.java:65)
        at
jetbrains.buildServer.agent.impl.buildStages.startStages.steps.RunnerContextExecutor.callRunnerStages(RunnerContextExecutor.java:56)
        at
jetbrains.buildServer.agent.impl.buildStages.startStages.steps.StepExecutor.doProcessNextStep(StepExecutor.java:89)
        at
jetbrains.buildServer.agent.impl.buildStages.startStages.steps.StepExecutor.processNextStep(StepExecutor.java:44)
        at
jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.doBuildStage(ForEachBuildRunnerStage.java:77)
        at
jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31)
        at
jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:24)
        at
jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78)
        at
jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37)
        at
jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24)
        at
jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:70)
        at
jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:50)
        at
jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:247)
        at
jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:48)
        at
jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:220)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at java.lang.ProcessBuilder.start(Unknown Source)
        at
org.jfrog.teamcity.agent.release.vcs.git.GitCmd.runCommand(GitCmd.java:43)
        ... 30 more

This is my Release Tab setup:
<http://forums.jfrog.org/file/n7578828/tc-art.jpg> 


What would you suggest for me?

Greg



--
View this message in context: 
http://forums.jfrog.org/TeamCity-Plugin-Release-Management-GIT-integration-tp7578828.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to