<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/discussions/f/general/8016/setting-up-jenkins-to-run-automated-tests-against-expression-rules</link><description>I&amp;#39;m trying to set up a Jenkins job to run automated tests against our expression rules. I&amp;#39;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</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/82698?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 10:34:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:caa41179-7e6f-4eb0-9afe-a601d4771c96</guid><dc:creator>PriyeshPSingh</dc:creator><description>&lt;p&gt;me too&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/46037?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2017 09:02:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e281ca7f-3d06-4d16-aa46-23c646e504f8</guid><dc:creator>toyerm</dc:creator><description>Hi guys, has anyone managed to get this jenkins job running? I am still battling with the error&amp;quot; &amp;gt; Could not resolve org.codehaus.groovy.modules.http-builder:http-builder:0.7.2.&amp;quot;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/34687?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 17:45:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5e14db9e-9159-4077-b325-a08f654d3fdc</guid><dc:creator>sneham</dc:creator><description>Seems the gradle task is not able to make the post request, you can try checking the URL that is formed at run time in the build.gradle, and making the post request using CURL command to check if the web-api is working fine.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/34686?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 17:29:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2329b937-ecf1-4856-ad10-91814b9f726d</guid><dc:creator>steveb</dc:creator><description>Unfortunately neither suggestion worked. Adding the systemProp.xxxx statements, with the appropriate values, to either end of the properties file makes no difference. I get the response&lt;br /&gt;&lt;br /&gt;:runApplicationTest&lt;br /&gt;Start System Test&lt;br /&gt;:runApplicationTest FAILED&lt;br /&gt;&lt;br /&gt;FAILURE: Build failed with an exception.&lt;br /&gt;&lt;br /&gt;* Where:&lt;br /&gt;Build file &amp;#39;C:\\Program Files (x86)\\Jenkins\\workspace\\ApplicationTest\\build.gradle&amp;#39; line: 47&lt;br /&gt;&lt;br /&gt;* What went wrong:&lt;br /&gt;Execution failed for task &amp;#39;:runApplicationTest&amp;#39;.&lt;br /&gt;&amp;gt; This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server&lt;br /&gt;&lt;br /&gt;I assume my company has put in place additional security which is blocking the request.&lt;br /&gt;&lt;br /&gt;I did manage to get the file(s) from codehaus using the original build script, but only by downloading and installing Gradle and running the script directly from the CMD&amp;gt; line.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/34683?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 12:59:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:577e7408-aa0a-4527-80f8-cd0187c96779</guid><dc:creator>sneham</dc:creator><description>Yes, these proxy details are added to the &amp;quot;gradle.properties&amp;quot; file, this is the same property files as mentioned in the Appian help document.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/34682?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 12:31:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:11b29ed8-a51c-4ec1-a791-db5217368940</guid><dc:creator>steveb</dc:creator><description>Is the Gradle properties file you refer to the same one the Appian help asks you to create with the user id and base64 password in ?&lt;br /&gt;&lt;br /&gt;Looking at Gradle&amp;#39;s help it suggests putting the following in the &amp;quot;properties file&amp;quot; (is this the same one as above ?)&lt;br /&gt;&lt;br /&gt;systemProp.https.proxyHost=www.somehost.org #&lt;br /&gt;systemProp.https.proxyPort=8080 #&lt;br /&gt;systemProp.https.proxyUser=userid #&lt;br /&gt;systemProp.https.proxyPassword=password #&lt;br /&gt;systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost&lt;br /&gt;&lt;br /&gt;With any text suffixed with # (eg www.somehost.org) being replaced by my company&amp;#39;s details&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/34677?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 10:50:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e49c53f7-e0d9-42fe-8582-3ec3d6c22eb5</guid><dc:creator>sneham</dc:creator><description>Hi Steve,&lt;br /&gt;&lt;br /&gt;I recently configured jenkins to run test case for rules on my environment, some quick suggestions that may help resolve your issues&lt;br /&gt; &lt;br /&gt; 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)&lt;br /&gt; &lt;br /&gt; b: If doing step does not resolve the issue you can use an alternative maven url for the http-builder:0.7.2 dependency&lt;br /&gt; following is the buildscript snippet for build.gradle that worked for me&lt;br /&gt; &lt;br /&gt; buildscript {&lt;br /&gt;   repositories {&lt;br /&gt;      mavenCentral()&lt;br /&gt;      maven {&lt;br /&gt;            url &amp;quot;&lt;a href="http://repo.spring.io/libs-release-remote/"&gt;repo.spring.io/.../&amp;quot;&lt;/a&gt;&lt;br /&gt;        }&lt;br /&gt;   }&lt;br /&gt;   dependencies {&lt;br /&gt;     classpath &amp;#39;org.codehaus.groovy.modules.http-builder:http-builder:0.7.2&amp;#39;&lt;br /&gt;   }&lt;br /&gt;}&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/34336?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 10:03:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ac709a4-c26d-42b1-8f3b-74883a842252</guid><dc:creator>Tom Ryan</dc:creator><description>I&amp;#39;m not a Jenkins expert so I couldn&amp;#39;t say. Feel free to re-post your question to see if any other practitioners have other suggestions.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/34312?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2016 14:33:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e8ee0ab-966c-4987-91ce-021585520c1d</guid><dc:creator>steveb</dc:creator><description>Hi Tom, unfortunately no, hence my question as to whether there was an alternative way of approaching this.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/34293?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2016 04:21:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:14bd4f48-25c9-4ce3-8633-d1c6242736e0</guid><dc:creator>Tom Ryan</dc:creator><description>Hi Steve, in an earlier post you mentioned that there was a permissions issue that was apparently preventing the dependencies from being downloaded. Was this already resolved?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/34279?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2016 23:30:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:18e869c7-6bbc-42f0-b8e5-d5d09a6ebca0</guid><dc:creator>steveb</dc:creator><description>Hi Tom&lt;br /&gt;&lt;br /&gt;Are there any other ways of constructing the Gradle build file that doesn&amp;#39;t reference the org.codehaus.groovy.modules.http-builder:http-builder:0.7.2 as we still cannot get round the problem I&amp;#39;ve mentioned above.&lt;br /&gt;&lt;br /&gt;Alternatively are the any other ways of integrating with Jenkins that doesn&amp;#39;t involve Gradle ?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Steve&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/33525?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 04:00:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e7a5dacb-a1ca-4a43-8357-c0db4710449d</guid><dc:creator>Tom Ryan</dc:creator><description>Our only suggestions for Jenkins setup/configuration are those mentioned in the docs:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://forum.appian.com/suite/help/16.2/Running_Automated_Tests_on_Expression_Rules_with_Jenkins.html#Install_Jenkins"&gt;forum.appian.com/.../Running_Automated_Tests_on_Expression_Rules_with_Jenkins.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;However, depending on your environment, it may be that additional or different steps are required.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/33512?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 20:57:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20b31853-45c4-40bc-aa85-43318bc290eb</guid><dc:creator>steveb</dc:creator><description>Hi Tom&lt;br /&gt;Thanks for the suggestion. Further investigation suggests it is a permissions issue with the parent folder the Jenkins workspace folder is in. I copied the build file into a different folder and ran Gradle, which I downloaded separately, against it. Whilst the script failed it managed to process the steps that retrieved the data from the url. This was sufficient for me to then successfully run the project in Jenkins.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure if this is what Appian expect people to do, but at the moment it works although I will shortly be using a different Jenkins server so may be back.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/33451?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 03:39:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6d4e9083-5b66-4f5c-9006-7f10ce3beec4</guid><dc:creator>Tom Ryan</dc:creator><description>Based on the error it seems there is an issue downloading dependencies. The error suggests that this could be temporary, so it is worth trying again and seeing if the same error is reproducible. If it is, ensure that the host is able to resolve the URLs mentioned there. You could also try running with the --stacktrace option to get more information as to what went wrong.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up Jenkins to run automated tests against expression rules</title><link>https://community.appian.com/thread/33408?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 12:20:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:480e8c2d-acf8-4a91-9347-ad1692d1518a</guid><dc:creator>steveb</dc:creator><description>...ET &amp;#39;&lt;a href="https://jcenter.bintray.com/org/codehaus/groovy/modules/http-builder/http-builder/0.7.2/http-builder-0.7.2.pom&amp;#39;."&gt;jcenter.bintray.com/.../http-builder-0.7.2.pom&amp;#39;.&lt;/a&gt;&lt;br /&gt;               &amp;gt; This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server&lt;br /&gt;&lt;br /&gt;* Try:&lt;br /&gt;Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.&lt;br /&gt;&lt;br /&gt;BUILD FAILED&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Any suggestions as to how to resolve this ?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Steve&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>