Skip to content

Commit

Permalink
Updated bintray url
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Jan 16, 2020
1 parent f3281e6 commit 35547ea
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ xstreamVersion = 1.4.9
jodaTimeVersion = 2.7
gsonVersion = 2.8.4
typesafeConfigVersion = 1.3.1
freemarkerVersion = 2.3.28
freemarkerVersion = 2.3.29
wiremockCoreVersion = 1.58
cucumberVersion = 2.4.0
commonsLoggingVersion = 1.2
Expand Down
4 changes: 2 additions & 2 deletions serenity-appium-screenplay-poc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</snapshots>
<id>central</id>
<name>bintray</name>
<url>http://jcenter.bintray.com</url>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
<pluginRepositories>
Expand All @@ -34,7 +34,7 @@
</snapshots>
<id>central</id>
<name>bintray-plugins</name>
<url>http://jcenter.bintray.com</url>
<url>https://jcenter.bintray.com</url>
</pluginRepository>
</pluginRepositories>

Expand Down
4 changes: 2 additions & 2 deletions serenity-appium/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</snapshots>
<id>central</id>
<name>bintray</name>
<url>http://jcenter.bintray.com</url>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
<pluginRepositories>
Expand All @@ -34,7 +34,7 @@
</snapshots>
<id>central</id>
<name>bintray-plugins</name>
<url>http://jcenter.bintray.com</url>
<url>https://jcenter.bintray.com</url>
</pluginRepository>
</pluginRepositories>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ public void updateTestResultFor(TestOutcome testOutcome) throws URISyntaxExcepti
}

public String getPublicUrl() throws URISyntaxException, IOException {
if ((browserStackUsername == null) || (browserStackKey == null)) {
return "";
}
HttpGet querySessionInfo = new HttpGet(getSessionUri());
HttpEntity sessionDetails = HttpClientBuilder.create().build().execute(querySessionInfo).getEntity();
String sessionBody = EntityUtils.toString(sessionDetails, charsetOf(sessionDetails));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class SerenityPlugin implements Plugin<Project> {
List<String> extendedReportTypes = project.serenity.reports
if (extendedReportTypes) {
for (ExtendedReport report : ExtendedReports.named(extendedReportTypes)) {
generatedReport = report.generateReportFrom(reportDirectory)
generatedReport = report.generateReportFrom(reportDirectory).toPath()
logger.lifecycle(" - ${report.description}: ${generatedReport.toURI()}")
}
}
Expand Down
4 changes: 2 additions & 2 deletions serenity-mobile-screenplay-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</snapshots>
<id>central</id>
<name>bintray</name>
<url>http://jcenter.bintray.com</url>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
<pluginRepositories>
Expand All @@ -39,7 +39,7 @@
</snapshots>
<id>central</id>
<name>bintray-plugins</name>
<url>http://jcenter.bintray.com</url>
<url>https://jcenter.bintray.com</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,8 @@
</#if>
<#if step.hasData()>
<#list step.reportData as recordedData>
<#assign restDataNumber = "EVIDENCE-${step.number}-${recordedData?index}">
<#assign stepIndex=recordedData?index>
<#assign restDataNumber = "EVIDENCE-${step.number}-${stepIndex}">
<span class="piece-of-evidence">
<@reportData reportData=recordedData number=restDataNumber />
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

class Reporter {

private static final TimeoutValue DEFAULT_TIMEOUT = new TimeoutValue(60, TimeUnit.SECONDS);
private static final TimeoutValue DEFAULT_TIMEOUT = new TimeoutValue(600, TimeUnit.SECONDS);

private static final Logger LOGGER = LoggerFactory.getLogger(HtmlAggregateStoryReporter.class);

Expand Down
4 changes: 2 additions & 2 deletions serenity-smoketests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</snapshots>
<id>central</id>
<name>bintray</name>
<url>http://jcenter.bintray.com</url>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
<pluginRepositories>
Expand All @@ -39,7 +39,7 @@
</snapshots>
<id>central</id>
<name>bintray-plugins</name>
<url>http://jcenter.bintray.com</url>
<url>https://jcenter.bintray.com</url>
</pluginRepository>
</pluginRepositories>

Expand Down

0 comments on commit 35547ea

Please sign in to comment.