Testing-DSL-Scripts wiki no more usable after war-for-test deletion

490 views
Skip to first unread message

Michele Pagot

unread,
Jan 9, 2018, 7:01:58 PM1/9/18
to job-dsl-plugin
From : https://jenkins.io/changelog-stable/

Plugin Development: Jenkins now no longer publishes a war-for-test artifact. Plugins using 2.64 or a later version of Jenkins (including 2.73.1) as baseline need to use plugin parent POM 2.30 or later. (issue 24064)


So now gradle test proposed in 
or

seems no more usable in version like LTS 2.73.3 that result in :
Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find jenkins-war-war-for-test.jar (org.jenkins-ci.main:jenkins-war:2.73.3).
Searched in the following locations:
    https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/2.73.3/jenkins-war-2.73.3-war-for-test.jar

Victor Martinez

unread,
Jan 10, 2018, 6:09:20 AM1/10/18
to job-dsl-plugin

Michele Pagot

unread,
Jan 10, 2018, 7:17:13 AM1/10/18
to job-dsl-plugin
This specific problem is solved using
        // Jenkins test harness dependencies
       testCompile 'org.jenkins-ci.main:jenkins-test-harness:2.33'
        testCompile "org.jenkins-ci.main:jenkins-war:${jenkinsVersion}

by the way i face another problem this tie due to  :compileGroovy and :compileJava tasks but I like to eventually keep them for another thread (full log in attach)
error.log
Reply all
Reply to author
Forward
0 new messages