Creating Chained Builds in Jenkins - Task Failed

Hi Team,

Task failed with :slight_smile:
Seems like Jenkins job is not configured correctly to deploy latest code from Git repository!

image

Following was my config:

scp -v -o StrictHostKeyChecking=no -i /var/jenkins_home/.ssh/id_rsa /var/jenkins_home/workspace/nautilus-app-deployment/index.html natasha@172.16.238.15:/data/

image

image

Everything went fine and I was able to view the latest webpage.

Kindly suggest what went wrong here. I do not have recording to this. I am putting up this task in review as well.

Regards,
Mayank Agrawal

hi @mayankagrwl, seems like you have completed the task.

Thanks @rahul456 for checking on it. After looking into the forums I found out we needed to copy everything from the repository. By doing this I was able to complete the task.