hudson.plugins.git.GitException: Command "git checkout -f 59608d5e35d7db504bcbbcdb6b6f242d12cd615a" returned status code 128: stdout: stderr: fatal: cannot create directory at 'gradle/wrapper': Permission denied


Solutions on the web516

Solution icon of github
Command "git checkout -f 59608d5e35d7db504bcbbcdb6b6f242d12cd615a" returned status code 128: stdout: stderr: fatal: cannot create directory at 'gradle/wrapper': Permission denied

Solution icon of github
Command "git checkout -f 59608d5e35d7db504bcbbcdb6b6f242d12cd615a" returned status code 128: stdout: stderr: fatal: cannot create directory at 'gradle/wrapper': Permission denied

Solution icon of github
Command "git checkout -f 59608d5e35d7db504bcbbcdb6b6f242d12cd615a" returned status code 128: stdout: stderr: fatal: cannot create directory at 'gradle/wrapper': Permission denied

Solution icon of github
Command "git checkout -f 59608d5e35d7db504bcbbcdb6b6f242d12cd615a" returned status code 128: stdout: stderr: fatal: cannot create directory at 'gradle/wrapper': Permission denied

Solution icon of stackoverflow
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

Solution icon of github
Command "git checkout -f 0c2e9e245bd8d7329c3d8b91013d806f4b112687" returned status code 128: stdout: stderr: fatal: reference is not a tree: 0c2e9e245bd8d7329c3d8b91013d806f4b112687

Solution icon of github
via GitHub by refack
, 1 day ago
Command "git checkout -f e7904648532bc3660cc2c093f34cb6be9bf61223" returned status code 128: stdout: stderr: fatal: reference is not a tree: e7904648532bc3660cc2c093f34cb6be9bf61223

Solution icon of jenkins
via Jenkins JIRA by Johannes Wienke, 1 year ago
Command "git checkout -f 5af79d528388216aa25a24c27f0a16d8dc55bdb6" returned status code 128: stdout: stderr: fatal: reference is not a tree: 5af79d528388216aa25a24c27f0a16d8dc55bdb6

Solution icon of jenkins
via Jenkins JIRA by Manuel Recena Soto, 1 year ago
Command "git checkout -f e6cf85ada16bf5718e81add62576751155aeeab3" returned status code 128: stdout: stderr: fatal: reference is not a tree: e6cf85ada16bf5718e81add62576751155aeeab3

Solution icon of jenkins
via Jenkins JIRA by Allan BURDAJEWICZ, 1 year ago
Command "git checkout -f 67615299b8ef9ae83a60c72af7ca37cbfc879d4f" returned status code 128: stdout: stderr: fatal: reference is not a tree: 67615299b8ef9ae83a60c72af7ca37cbfc879d4f

Stack trace

hudson.plugins.git.GitException: Command "git checkout -f 59608d5e35d7db504bcbbcdb6b6f242d12cd615a" returned status code 128:
stdout: 
stderr: fatal: cannot create directory at 'gradle/wrapper': Permission denied
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1784)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$800(CliGitAPIImpl.java:64)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2055)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 more bugmates