Jenkins Scheduled Jobs -KKE-Jenkins Level 2

Hi, I’m unable to complete the Jenkins Scheduled Jobs task (KKE - Jenkins Level 2). I’ve configured everything correctly — the build was successful and the log files were copied to the storage server — but the task still shows as incomplete. Please help me identify what I might be missing.

Please see if this guy’s approach works for you.

Able to complete the task with below steps

Below commands to be run from command line

To copy logs from App Server 2 to Storage Server, Jenkins needs SSH access

Generate a new SSH key pair

jenkins@jenkins:~$ ssh-keygen -t rsa -b 4096 -N “” -f ~/.ssh/id_rsa
Your identification has been saved in /var/lib/jenkins/.ssh/id_rsa
Your public key has been saved in /var/lib/jenkins/.ssh/id_rsa.pub

Now, copy the public key to both severs (stapp02, ststor01)
jenkins@jenkins:~$ ssh-copy-id -i ~/.ssh/id_rsa.pub steve@stapp02

jenkins@jenkins:~$ ssh-copy-id -i ~/.ssh/id_rsa.pub natasha@ststor01
Once we copied the public key, Next time SSH will not ask for password

Below instructions to be run from Jenkins UI

Log in to Jenkins UI as user “admin”

Create a new job named “copy-logs”

Jenkins Dashboard  Create a job  Keep Job name as “copy-logs”  Select Freestyle project  click Ok

Add Job Trigger

Now, go to triggers section  select check box “Build Periodically”  Mention schedule to run every 5 mins

Configure Build Step

Now, Add Build step  Execute Shell  Add below commands and then Click Save

Click on Save

Now, click “Build now” to verify the functionality

Verify log (Console output)

Task Completed!!

It seems no one has responded for this issue, pls check and let us know what is the expected approach as I am also seeing same error.