一 创建一个python脚本
#coding:utf8
import time
text1=time.strftime("%Y%m%d %X", time.gmtime(time.time()))
print u"你好",text1
再创建一个bat文件11.bat
python E:\proj\test\test201900.py
二 创建一个新任务
选择freestyle,
general下面的选项:
描述
三 源码管理
git: Repository URL
Branches to build
四 构建触发器
This field follows the syntax of cron (with minor differences). Specifically, each line consists of 5 fields separated by TAB or whitespace: MINUTE HOUR DOM MONTH DOW
|