Maven build unstable on success

328 views
Skip to first unread message

Andrew Z

unread,
Jul 12, 2011, 11:40:08 PM7/12/11
to Jenkins Users
We have a maven3 build which was working fine, but now it continually
reports as unstable even though the build is successful. I have pored
over the build logs and can't find any sign of an error or failure
message.

Downstream builds are all successful, so they are not the cause.

I have also done a fresh checkout on my own machine and built it,
which was also successful.

Does anyone have any suggestions as to why this might be happening?

I am using Jenkins 1.420 on linux.

Slide

unread,
Jul 12, 2011, 11:42:37 PM7/12/11
to jenkins...@googlegroups.com
Can you post your build log somewhere? Is there anything in the Jenkins logs in addition to the console log for the actual build?
--
slide-o-blog
http://slide-o-blog.blogspot.com/

Andrew Z

unread,
Jul 13, 2011, 12:14:21 AM7/13/11
to Jenkins Users
Thanks for the suggestion! I see in the Jenkins log:
13/07/2011 2:07:48 PM jenkins.plugins.publish_over.BPCallablePublisher
invoke
WARNING: Exception when publishing, exception message [Permission
denied]
3: Permission denied

It seems there is some problem with the post build step doing an scp
to deploy.

On Jul 13, 1:42 pm, Slide <slide.o....@gmail.com> wrote:
> Can you post your build log somewhere? Is there anything in the Jenkins logs
> in addition to the console log for the actual build?
>

Slide

unread,
Jul 13, 2011, 12:21:32 AM7/13/11
to jenkins...@googlegroups.com
Are you using the publish over scp plugin or a different one? If PoScp, I'd recommend filing an issue on it. I'm sure Bap wouldn't mind :-)
--
slide-o-blog
http://slide-o-blog.blogspot.com/

Andrew Z

unread,
Jul 13, 2011, 12:29:26 AM7/13/11
to Jenkins Users
We are using publish over ssh. The problem was that somehow/someone
changed the permissions on the target directory.

The error was there in the log all along but I was blind to it because
I was looking for "failure" somewhere:
ERROR: Exception when publishing, exception message [Permission
denied]

All working now, thanks for your help!
Reply all
Reply to author
Forward
0 new messages