How to dynamically set the local maven repo for a jenkins job -
i'm trying create jenkins job using jenkins remote access api[1]. want achieve is, want specify local maven repository job(instead of using global repository), using job configuration(config.xml) send create job api. how can achieve that? xml attributes should have added(or changed)?
[1] https://wiki.jenkins-ci.org/display/jenkins/remote+access+api
according api that:
curl -x post -h "content-type:application/xml" -d @config.xml "http://jenkins_host/createitem?name=some_job_name"
Comments
Post a Comment