You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "BJ Hargrave (JIRA)" <ji...@apache.org> on 2016/10/04 13:40:20 UTC
[jira] [Comment Edited] (EDGENT-259) [gradle] travis-ci runs not
setting edgent.build.ci
[ https://issues.apache.org/jira/browse/EDGENT-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15545370#comment-15545370 ]
BJ Hargrave edited comment on EDGENT-259 at 10/4/16 1:40 PM:
-------------------------------------------------------------
You need to pass any system properties set on the gradle command line into the test vm. For example:
{quote}
test {
if (System.properties['edgent.build.ci']) {
systemProperty 'edgent.build.ci', System.properties['edgent.build.ci']
}
}
{quote}
This will set the system property in the test vm with the value from the gradle command line.
was (Author: bjhargrave):
You need to pass any system properties set on the gradle command line into the test vm. For example:
test {
if (System.properties['edgent.build.ci']) {
systemProperty 'edgent.build.ci', System.properties['edgent.build.ci']
}
}
This will set the system property in the test vm with the value from the gradle command line.
> [gradle] travis-ci runs not setting edgent.build.ci
> ---------------------------------------------------
>
> Key: EDGENT-259
> URL: https://issues.apache.org/jira/browse/EDGENT-259
> Project: Edgent
> Issue Type: Bug
> Components: Miscellaneous
> Reporter: Dale LaBossiere
> Assignee: Dale LaBossiere
>
> .travis.yml is attempting to set the system property but it's not getting set and tests that are supposed to be skipped in ci builds are still running (and failing intermittently)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)