How to import the jenkins-api in Groovy?

后端 未结 1 1856
死守一世寂寞
死守一世寂寞 2021-01-20 19:29

I have a small groovy script that I want to edit and I have issues with the dependency management in Groovy. I am new to groovy and sorry in advance if this question is kind

相关标签:
1条回答
  • 2021-01-20 20:21

    You can get this dependency from jenkins-ci maven repo:

    @GrabResolver(name='jenkins', root='http://repo.jenkins-ci.org/public/')
    @Grab(group='org.jenkins-ci.main', module='jenkins-core', version='2.167')
    
    0 讨论(0)
提交回复
热议问题