I have a fresh Jenkins install on Ubuntu
- New Job -> Build multi-configuration project
Scroll down and click "Add build step" -> Execute shell and enter:
echo hello
Run the job (it succeeds)
Look at the Console Output for the run:
Started by user My Name Building in workspace /var/lib/jenkins/jobs/my_job/workspace Triggering default default completed with result SUCCESS Finished: SUCCESS
Follow the steps again, but with the Execute shell:
echo hello
thisshouldfail
and you get...
Started by user My Name
Building in workspace /var/lib/jenkins/jobs/my_job/workspace
Triggering default
default completed with result FAILURE
Finished: FAILURE
Notice how nowhere do you see "hello" in the output. This goes for anything I might put in that Execute Shell. Any help?