Hello KodeKloud Team,
My Jenkins pipeline task was marked failed with:
Build failed: FAILURE
But the Jenkins job deploy-job completed successfully.
Console output shows:
Started by user admin
Running on App Server 1 in /home/sarah/jenkins_agent/workspace/deploy-job
Deploy stage:
cd /var/www/html
git fetch origin master
git reset --hard origin/master
cat index.html
Output:
Welcome to xFusionCorp Industries
Test stage:
curl -sf http://stlb01:8091 | grep -F “Welcome to xFusionCorp Industries”
Output:
Welcome to xFusionCorp Industries
Final result:
Finished: SUCCESS
The Jenkins node was configured as:
Node name: App Server 1
Label: stapp01
Remote root directory: /home/sarah/jenkins_agent
Launch method: Launch agents via SSH
Host: stapp01
User: sarah
The task still got marked failed. Please review this attempt.






