Jenkins Single Stage Pipeline

I was able to get the task successfully. @rahul456 Thanks.

1 Like

Hi @rahul456.
As seen on the second screenshot, the change was made on sarah’s profile and push to git.
Hence when i curl you see 2 different contents. I did not make any changes after submitting.
According @lionel, all he did was copy file from sarah’s profile to /data on ststor01 without any effects on the git repository.
I’m stuggling to understand your point.
Anyway the task is still marked failed for me as it has expired.
I look forward to the task resolution for multistage pipeline.
Thanks

@andubodunrin, marked pending for you, give it an another try.

@rahul456 Thanks, task is completed

@makadia.dhaval88 trust you are keeping safe , kindly assist with pipeline script for Jenkins multistage pipeline
Regards

Hi @andubodunrin,

Can you send the Task for review with the details?

Hi @rahul456 @Inderpreet I had also same issue. please review my screenshots. Can you please make it pending for me?






HI Rahul,

Thanks! Completed the task. guess i ran into the same issue in the Multi-Stage Pipeline too. Could you please re-enable that task too.

hi @fazalmahmood, as per question, you were supposed to deploy a code in apache’s default doc root, rather than sub directory.

@prash, please share ( Direct Message ) the solution video.

Unfortunately, I failed this task yesterday.

While I completed all the steps related to using a pipeline to pull the code from GIT and push it to a location of the Storage Server, I failed because of incomplete Slave Node setup. This is because I never set up the Agent on the Storage Server. I wish the question was worded a bit more clearer.

The part of the question reads that:

Add a slave node named Storage Server. It should be labeled as ststor01 and its remote root directory should be /home/natasha.

The way the question is worded, it’s sounds like the setup is required on the Jenkins UI only. It’s not clear whether the question expects us to complete the Agent setup in Storage Server. Also, what’s the purpose of this Slave Node? To use this in the pipeline like this?

pipeline {
  agent ststor01
  ...
  ...
}

Please improve the wording in the question to state the expectation clearly.