Job
Job describes a series of operations that Jenkins wants to run. If you think that is something like batch files or Linux shell script now.
1. put name for Enter an item and press free style project build
2. Next page, chose build and set shell execution
3. write shell script
echo 'hello jenkins'
4. save task and run build
console output
ユーザーhpscriptが実行
ビルドします。 ワークスペース: /var/lib/jenkins/workspace/HelloJenkins
[HelloJenkins] $ /bin/sh -xe /tmp/jenkins6861841405666017940.sh
+ echo ‘hello jenkins’
hello jenkins
Finished: SUCCESS
Wow, Perhaps it’s fun to play.