-
Bug
-
Resolution: Not A Defect
-
Critical
-
None
-
Linux (debian 20.04)
cannot run shell script in jenkins job whenever i tried to run got following error.
Started by user
ADMIN
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/twofiletestfromgit
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/twofiletestfromgit/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url
https://github.com/PankajJaswalDrish/twotestfilejenkins.git
- timeout=10
Fetching upstream changes from
https://github.com/PankajJaswalDrish/twotestfilejenkins.git
> git --version # timeout=10
> git --version # 'git version 2.25.1'
> git fetch --tags --force --progress –
https://github.com/PankajJaswalDrish/twotestfilejenkins.git
+refs/heads/:refs/remotes/origin/ # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 77fc28ad716c3133991c67b2906b8eeeee107bcc (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 77fc28ad716c3133991c67b2906b8eeeee107bcc # timeout=10
Commit message: "bash"
> git rev-list --no-walk 77fc28ad716c3133991c67b2906b8eeeee107bcc # timeout=10
[twofiletestfromgit] $ /bin/sh -xe /tmp/jenkins13744814338305333626.sh
+ python test.py
Introduction of ESP32
Introduction ESPIDF
+ python test1.py
haha
+ cd /home/dr69/Desktop/gitDemo/
+ ./backup.sh
cp: cannot create regular file '/home/dr69/Desktop/gitDemo/backup/test.py': Permission denied
cp: cannot create regular file '/home/dr69/Desktop/gitDemo/backup/test1.py': Permission denied
Build step 'Execute shell' marked build as failure
Finished: FAILURE
I attached here an image file please have look on this file
Please guide me .