All Questions
Tagged with groovy release-management
1 question
2
votes
1
answer
2k
views
How to set a Git repository when creating a job in Jenkins from a Groovy script?
I'm trying to setup a Jenkins server with Groovy script:
def repository = 'git@somerepo'
import hudson.tasks.Shell;
job = Jenkins.instance.createProject(FreeStyleProject, 'TestJob')
job....