Integration of Appian with Jenkins

Hi All,

I am working on Integration of Appian with Jenkins as per the document "Running Automated Tests on Expression Rules with Jenkins" . But since we are working with a Bank restricted machine ,some of the plugins(groovyx.net.http.HTTPBuilder, groovyx.net.http.RESTClient, groovyx.net.http.EncoderRegistry) are restricted by the proxy which we cannot download even manually. Which are needed by the Gradle script to perform the Integration (as per the document steps). Is there is any alternate way to integrate Jenkins with Appian. My requirement is to pass the start rule test results to Jenkins slave machine.

Kindly help me out...

  Discussion posts and replies are publicly visible

  • Which portion of that document are you stuck on - standing up the Jenkins server plugins to begin with, or the gradle script to manage the tests?

    If the latter, the only way to resolve dependencies for an offline gradle execution is via manual injection. In my experience, dealing with the Jenkins API manually is more effort than it's worth - so this gradle script is the way to go.

    The strategy I've used in the past was to execute the gradle script on a machine that has open internet connectivity, and then copy the ~/.gradle/caches folder to the target environment. A security team could examine the contents of your ~/.gradle/caches folder and copy the folder for you. If this is feasible for you, there are just a couple of things to consider:
    - The machine with open internet connectivity should have a clean/empty ~/.gradle/caches folder before running the gradle script.
    - Backup the entire ~/.gradle folder on the target environment, just to be safe. If it doesn't exist, then don't worry about it.

    Good luck!
    Regards,
    Jesse

  • Thank you so much Jesse Knight. It helped me to resolve the issue.