Community
Participate
Working Groups
I'm building from a git repo using maven. After a commit has been pushed to the repo, a manual build works fine. However if the repo has not changed since the last build, the build fails and there is a cryptic "Nothing to do" message. There needs to be a way to force a build, even if there is no change to the repo. Here is the console output: Started by user gwatson Building remotely on hudson-slave1 Checkout:ptp-release / /opt/users/hudsonbuild/workspace/ptp-release - hudson.remoting.Channel@6e6b27a2:hudson-slave1 Using strategy: Default Last Built Revision: Revision 3e5a6ab9bbd03d6e12ea88e9cf4d3bb30a4af82e (origin1/ptp_5_0) Checkout:ptp-release / /opt/users/hudsonbuild/workspace/ptp-release - hudson.remoting.LocalChannel@8859e4 Fetching changes from the remote Git repository Fetching upstream changes from git://git.eclipse.org/gitroot/ptp/org.eclipse.ptp.git Seen branch in repository origin1/master Seen branch in repository origin1/ptp_1_0 Seen branch in repository origin1/ptp_1_1 Seen branch in repository origin1/ptp_2_0 Seen branch in repository origin1/ptp_2_1 Seen branch in repository origin1/ptp_3_0 Seen branch in repository origin1/ptp_4_0 Seen branch in repository origin1/ptp_4_1 Seen branch in repository origin1/ptp_5_0 Nothing to do Checkout:photran / /opt/users/hudsonbuild/workspace/ptp-release/photran - hudson.remoting.LocalChannel@8859e4 Fetching changes from the remote Git repository Fetching upstream changes from git://git.eclipse.org/gitroot/ptp/org.eclipse.photran.git Seen branch in repository origin/master Seen branch in repository origin/photran_4_0 Seen branch in repository origin/photran_5_0 Seen branch in repository origin/ptp_4_0 Seen branch in repository origin/ptp_4_1 Seen branch in repository origin/ptp_5_0 Nothing to do Archiving artifacts Sending e-mails to: g.watson@computer.org [DEBUG] Skipping watched dependency update for build: ptp-release #54 due to result: FAILURE Finished: FAILURE
I have exactly the same problem. After I set up my job to checkout two git repositories I can't build if there are any changes. So if the build is triggered by SCM all works fine if I trigger my build manually (e.g. for integration builds) build fails after the "Nothing to do" message. Started by user dhubner Building remotely on hudson-slave1 Checkout:Xtext-nightly-HEAD / /opt/users/hudsonbuild/workspace/Xtext-nightly-HEAD - hudson.remoting.Channel@22697409:hudson-slave1 Using strategy: Default Last Built Revision: Revision 4805a48eb93dff22836ae54c8d1878e8de022343 (origin/master) Checkout:org.eclipse.xtend.git / /opt/users/hudsonbuild/workspace/Xtext-nightly-HEAD/org.eclipse.xtend.git - hudson.remoting.LocalChannel@1df3b8bc Pruning obsolete local branches Fetching changes from the remote Git repository Fetching upstream changes from /gitroot/xtend/org.eclipse.xtend.git Seen branch in repository origin1/master Nothing to do Checkout:org.eclipse.xtext.git / /opt/users/hudsonbuild/workspace/Xtext-nightly-HEAD/org.eclipse.xtext.git - hudson.remoting.LocalChannel@1df3b8bc Pruning obsolete local branches Fetching changes from the remote Git repository Fetching upstream changes from /gitroot/tmf/org.eclipse.xtext.git Seen branch in repository origin/2.1.x_Maintenance Seen branch in repository origin/Helios_Maintenance Seen branch in repository origin/master Seen branch in repository origin/playground Seen branch in repository origin/releng Nothing to do Recording fingerprints Archiving artifacts Sending e-mails to: dennis.huebner@itemis.de [DEBUG] Skipping watched dependency update for build: Xtext-nightly-HEAD #2134 due to result: FAILURE Finished: FAILURE Any progress/thoughts on this?
This is a pretty major limitation of the Git integration. Does anyone have pointers where to start looking in order to fix this?
Steven could you take a look at this. If I'm correct this was reported earlier and was fixed. Need to find out which version the fix was in
This issue has been fix as part of commit: https://github.com/hudson-plugins/git-plugin/commit/d53e85ae3002597c3ce10eafd8693ca106dfcd1f I believe we need to release a new version of the git plugin to include these changes.
(In reply to comment #4) > This issue has been fix as part of commit: > https://github.com/hudson-plugins/git-plugin/commit/ > d53e85ae3002597c3ce10eafd8693ca106dfcd1f > > I believe we need to release a new version of the git plugin to include > these changes. Has a new version of the Git plug-in been released? I'm still seeing this on Eclipse.org Hudson. (cc Webmaster). If a new release is available I think it should be updated at the Eclipse.org Hudson.
Still happens at hudson.eclipse.org :(
Seeing this issue too. Looks like it affects only when branch names contain slashes
I had faced the same problem . I was getting "Nothing to do failure" when I configure the branch name with a slash Now I configured the branch specifier as origin/branch_name with slash and it worked.
Facing the same issue, branch name contains slashes.
Using origin/<branch-name> in Branch Specifier field did NOT help. This is Hudson 3.2.2 and git plugin version 2.2.9.
@Lidia(In reply to Lidia Marchioni from comment #10) > Using origin/<branch-name> in Branch Specifier field did NOT help. This is > Hudson 3.2.2 and git plugin version 2.2.9. Hi Lidia : can you please paste the entire error log here?
Skipping watched dependency update for build: #900 due to result: FAILURE This is the error in Hudson Dashboard 3.1.2 ,i am using Git ,please give to me step by step Answer