I've created a Jenkins Pipeline that clones a GitHub repository and ... SHOULD ... execute a bunch o' instructions in a Jenkinsfile in the top-level of the repo ....
SHOULD being the operative word ...
The Pipeline runs, clones the repo, even showing up the most recent Commit message ... and then reports: -
Finished: SUCCESS
What was I doing wrong ?
Yeah, you guessed it ...
When I created the Pipeline, I neglected to choose Pipeline script from SCM, which allows me to specify the Script Path as Jenkinsfile
Which meant that there was NOTHING for the Pipeline to do, apart from clone the GitHub repo ....
SHOULD being the operative word ...
The Pipeline runs, clones the repo, even showing up the most recent Commit message ... and then reports: -
Finished: SUCCESS
What was I doing wrong ?
Yeah, you guessed it ...
When I created the Pipeline, I neglected to choose Pipeline script from SCM, which allows me to specify the Script Path as Jenkinsfile
Which meant that there was NOTHING for the Pipeline to do, apart from clone the GitHub repo ....