i on redhat, using jboss 5.x , jenkins. jenkins building project perfect. coping war file deploy folder of jboss shell script.
when running command on terminal
scp source/example.war destination/deploy scp command able copy .war file deploy folder , through url able access it.
but when writing same command on jenkins throws error.
permission denied build step 'execute shell' marked build failure i guess because jenkins try write file , not have permission.
so how do that??
if using scp copy file jenkins server jboss server, should declare public ssh key of jenkins user on jboss server.
please have answer: add publickey server scp
Comments
Post a Comment