Happy
Happy

Reputation: 437

Jenkins-DSL deprication warnings on Jenkins 2.x

Currently I'm using Jenkins-dsl-core:1.43 and Jenkins 1.64. We are planning to migrate(upgrade) to latest version 2.x in near future.

My DSL pretty much similar to https://github.com/sheehan/job-dsl-gradle-example . Does DSL support 2.x Version of Jenkins?

UPDATE: Downgraded Jenkins-dsl-core:1.42, there is no deprication warnings but some how it's failing to create new jobs.

Processing provided DSL script Example - create failed

Upvotes: 0

Views: 78

Answers (1)

daspilker
daspilker

Reputation: 8194

Job DSL is fully compatible with Jenkins 2.x. You can probably even run Job DSL 1.43 on Jenkins 2.x. See Migration for details about migrating to newer Job DSL versions.

Upvotes: 2

Related Questions