lundi 31 mars 2014

Build error with Jenkins Git and grunt-contrib-imagemin


Vote count:

0




I'm using the latest (unpublished and perhaps unstable) version of grunt-contrib-imagemin, and everything works great except for when I push to Github & Jenkins, the build fails because of this error:



Started by an SCM change
Building in workspace D:\workspace\STAGE-Deploy
Fetching changes from the remote Git repository
Fetching upstream changes from git@git.lbox.com:randyxxxxg/xxxxxxxxx.git
Checking out Revision dbd678e9bc48c627d0d3ec7439e29c6a2c2de7ab (origin/staging)
FATAL: Could not checkout null with start point dbd678e9bc48c627d0d3ec7439e29c6a2c2de7ab
hudson.plugins.git.GitException: Could not checkout null with start point dbd678e9bc48c627d0d3ec7439e29c6a2c2de7ab
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:1299)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:890)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:671)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580)
at hudson.model.Run.execute(Run.java:1676)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Caused by: hudson.plugins.git.GitException: Command "git checkout -f dbd678e9bc48c627d0d3ec7439e29c6a2c2de7ab" returned status code 128:
stdout:
stderr: fatal: cannot create directory at 'xxxx/node_modules/grunt-contrib-imagemin/node_modules/image-min/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/download/node_modules/decompress/node_modules/adm-zip/test/assets/attributes_test': No such file or directory

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1173)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1150)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1146)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:962)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:972)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkout(CliGitAPIImpl.java:1273)
at hudson.plugins.git.GitAPI.checkout(GitAPI.java:208)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:1283)
... 9 more


I've checked, and the directory is indeed there. Any help is greatly appreciated!


Thanks.



asked 58 secs ago






Aucun commentaire:

Enregistrer un commentaire