Configure or Create hudson job automatically

前端 未结 7 538
猫巷女王i
猫巷女王i 2020-12-11 14:44

Is there any way to create new Hudson job by one more Hudson job based one previous Jobs?

For example if I need to create new bunch of jobs one by one, Automatically

7条回答
  •  一个人的身影
    2020-12-11 15:28

    Kind of already covered in the other answers, but for an easy way to copy the config.xml over:

    curl --user USER:PASS -H "Content-Type: text/xml" -s  
    --data-binary "@config.xml" "http://hudsonserver:8080/createItem?name=newjobname"
    

提交回复
热议问题