Setting up Jenkins to run automated tests against expression rules

I'm trying to set up a Jenkins job to run automated tests against our expression rules.

I've followed the steps outlined on the help page (avivadev.appiancloud.com/.../Running_Automated_Tests_on_Expression_Rules_with_Jenkins.html

However when the Jenkins build job runs it fails with the following message ...

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'SystemTest'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve org.codehaus.groovy.modules.http-builder:http-builder:0.7.2.
Required by:
:SystemTest:unspecified
> Could not resolve org.codehaus.groovy.modules.http-builder:http-builder:0.7.2.
> Could not get resource 'jcenter.bintray.com/.../http-builder-0.7.2.pom'.
> Could not G...

OriginalPostID-223153

OriginalPostID-223153

  Discussion posts and replies are publicly visible

Parents
  • Hi Steve,

    I recently configured jenkins to run test case for rules on my environment, some quick suggestions that may help resolve your issues

    a: Check if your network is behind proxy, if yes, then you need to add proxy authentication details(for both http and https) in gradle.prperties file(Please refer the documentation of gradle for the same)

    b: If doing step does not resolve the issue you can use an alternative maven url for the http-builder:0.7.2 dependency
    following is the buildscript snippet for build.gradle that worked for me

    buildscript {
    repositories {
    mavenCentral()
    maven {
    url "repo.spring.io/.../"
    }
    }
    dependencies {
    classpath 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.2'
    }
    }
Reply
  • Hi Steve,

    I recently configured jenkins to run test case for rules on my environment, some quick suggestions that may help resolve your issues

    a: Check if your network is behind proxy, if yes, then you need to add proxy authentication details(for both http and https) in gradle.prperties file(Please refer the documentation of gradle for the same)

    b: If doing step does not resolve the issue you can use an alternative maven url for the http-builder:0.7.2 dependency
    following is the buildscript snippet for build.gradle that worked for me

    buildscript {
    repositories {
    mavenCentral()
    maven {
    url "repo.spring.io/.../"
    }
    }
    dependencies {
    classpath 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.2'
    }
    }
Children
No Data