Hi. I have a Gradle build running from a Jenkins with Artifactory plugin.
After run release process (using a "Artifactory Release Staging" link) it
successfully deploys artifacts to Artifactory, but later fails with:
> Failure in post build SCM action: remote file operation failed:
> /home/jenkins/workspace/foo-project-release-gradle at
> hudson.remoting.Channel@68d383f2:slave1

I don't have any custom post build SCM actions defined. How can I get more
details which SCM action failed and what was an error message?

Jenkins Artifactory Plugin 2.1.5, Jenkins 1.515, Gradle 1.6.

More logs:
(...)
:artifactoryPublish
Task ':artifactoryPublish' has not declared any outputs, assuming that it is
out-of-date.
Deploying artifact:
http://my.artifactory/artifactory/my-repo-release/com/example/foo/1.0.1/foo1.0.1.pom
Deploying artifact:
http://my.artifactory/artifactory/my-repo-release/com/example/foo/1.0.1/foo1.0.1.jar
(...)
Artifacts for configuration 'archives' were not all resolved, skipping
Artifacts for configuration 'default' were not all resolved, skipping
Artifacts for configuration 'archives' were not all resolved, skipping
Artifacts for configuration 'default' were not all resolved, skipping
Artifacts for configuration 'groovy' were not all resolved, skipping
Artifacts for configuration 'runtime' were not all resolved, skipping
Artifacts for configuration 'testCompile' were not all resolved, skipping
(...)
Deploying build info to: http://my.artifactory/artifactory/api/build

BUILD SUCCESSFUL

Total time: 2 mins 27.75 secs
Stopping 1 Gradle compiler daemon(s).
Process 'Gradle Worker 1' finished with exit value 0 (state: SUCCEEDED)
Stopped 1 Gradle compiler daemon(s).
Build step 'Invoke Gradle script' changed build result to SUCCESS
[RELEASE] Committing release version on branch 'REL-BRANCH-1.0.1'
Failure in post build SCM action: remote file operation failed:
/home/jenkins/workspace/foo-project-release-gradle at
hudson.remoting.Channel@68d383f2:slave1
[RELEASE] Deleting local git branch: REL-BRANCH-1.0.1
[RELEASE] Reverting git working copy back to initial commit:
2e3ac54b356b4dad7b6340514fcdb7158d16b5a1
Finished: FAILURE

Marcin




--
View this message in context: 
http://forums.jfrog.org/Failure-in-post-build-SCM-action-at-the-end-of-a-release-process-from-Jenkins-tp7578827.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