Is there a way to keep Hudson / Jenkins configuration files in source control?

后端 未结 10 821
难免孤独
难免孤独 2020-11-29 15:45

I am new to Hudson / Jenkins and was wondering if there is a way to check in Hudson\'s configuration files to source control.

Ideally I want to be able to click some

10条回答
  •  青春惊慌失措
    2020-11-29 15:58

    I've written a plugin that lets you check your Jenkins instructions into source control. Just add a .jenkins.yml file with the contents:

    script:
        - make
        - make test
    

    and Jenkins will do it:

    enter image description here

提交回复
热议问题