Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Octane fixes 5.6.5 #217

Merged
merged 24 commits into from
Jan 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
21e07b5
user story #731105 : Clean discovery job should work in multi-shareds…
Jan 9, 2019
897b66b
Merge remote-tracking branch 'upstream/octane-dev-latest' into octane…
Jan 9, 2019
fc607c6
defect #776096: Duplicated runs when using TestsToRunConverterBuilder…
Jan 14, 2019
a551dc5
Merge pull request #169 from radislavB/add-maven-support-for-pipeline…
radislavB Jan 14, 2019
d6e06aa
tech: advance sonarqube plugin version (#170)
eemanuelhpe Jan 14, 2019
c80743d
sonar fix
Jan 14, 2019
20565b4
Merge pull request #171 from radislavB/sonar-fixes
radislavB Jan 14, 2019
8bb39c2
defect #761022 : Uft discovery job is not working correctly in Jenkin…
Jan 15, 2019
59ed242
Merge branch 'octane-dev-latest' into 5.6.5-start-classfilter-fix
radislavB Jan 15, 2019
993756a
defect #779056 : Commits on branches in a multibranch context are not…
Jan 15, 2019
24cd98a
Merge pull request #172 from radislavB/5.6.5-start-classfilter-fix
radislavB Jan 15, 2019
773fbb3
Merge branch 'octane-dev-latest' into multibranch-commit-fix
radislavB Jan 15, 2019
56fee81
Merge pull request #173 from radislavB/multibranch-commit-fix
radislavB Jan 15, 2019
7dceb22
defect #761022 : Uft discovery job is not working correctly in Jenkin…
Jan 16, 2019
fa75a7d
Merge pull request #174 from radislavB/fix-class-filter-issue
radislavB Jan 16, 2019
7f155a5
tech : add data-aid for QA to recognize octane configuration section
Jan 16, 2019
ae4760f
Test results from pipe without workspace (#167)
radislavB Jan 16, 2019
fafd795
removing optional for workflow plugins
Jan 16, 2019
8b71b4c
Merge remote-tracking branch 'upstream/octane-dev-latest' into octane…
Jan 16, 2019
f27b45a
tech : removing dependencies that comes along with jenkins
Jan 17, 2019
0a4d885
us #737054: SonarQube integration - vulnerabilities (#176)
eemanuelhpe Jan 18, 2019
80516cf
defect #781103 : Failed to create two test runners with the same cred…
Jan 20, 2019
9f5fe3e
Merge branch 'octane-dev-latest' into fix-test-runner-credentials2
radislavB Jan 20, 2019
9017883
Merge pull request #177 from radislavB/fix-test-runner-credentials2
radislavB Jan 20, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 39 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,6 @@
</pluginRepositories>

<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.2</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
Expand Down Expand Up @@ -393,12 +388,46 @@
<artifactId>*</artifactId>
<groupId>com.fasterxml.jackson.datatype</groupId>
</exclusion>
<exclusion>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-multibranch</artifactId>
</exclusion>
<exclusion>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-job</artifactId>
</exclusion>


</exclusions>
</dependency>
<dependency>
<artifactId>workflow-cps</artifactId>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<version>2.42</version>
<version>2.53</version>
<exclusions>
<exclusion>
<!-- workflow-support 2.18 requires 2.2.6, while org.jenkins-ci.plugins.workflow 2.50 requires 2.0.8-->
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>scm-api</artifactId>
</exclusion>

</exclusions>
</dependency>
<!-- sonar 2.7.1 requires 2.18 required, while org.jenkins-ci.plugins.workflow 2.50 requires 2.17-->
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-support</artifactId>
<version>2.18</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-multibranch</artifactId>
<version>2.20</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-job</artifactId>
<version>2.21</version>
</dependency>

<dependency>
Expand All @@ -414,7 +443,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>credentials</artifactId>
<version>2.1.8</version>
<version>2.1.11</version>
</dependency>
<dependency>
<groupId>com.microfocus.sv</groupId>
Expand Down Expand Up @@ -443,7 +472,7 @@
<dependency>
<artifactId>integrations-sdk</artifactId>
<groupId>com.hpe.adm.octane.ciplugins</groupId>
<version>2.0.26</version>
<version>2.0.27</version>
</dependency>

<!--BUILDER providers integration-->
Expand All @@ -456,7 +485,7 @@
<dependency>
<artifactId>maven-plugin</artifactId>
<groupId>org.jenkins-ci.main</groupId>
<version>2.15.1</version>
<version>2.17</version>
<exclusions>
<exclusion>
<artifactId>mailer</artifactId>
Expand Down Expand Up @@ -536,7 +565,7 @@
<dependency>
<artifactId>sonar</artifactId>
<groupId>org.jenkins-ci.plugins</groupId>
<version>2.6.1</version>
<version>2.8.1</version>
<optional>true</optional>
</dependency>

Expand Down Expand Up @@ -578,13 +607,6 @@
</dependency>

<!--Test-->

<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>9.4.5.v20170502</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.microfocus.application.automation.tools.octane.actions;

import com.microfocus.application.automation.tools.octane.model.SonarHelper;
import hudson.model.Action;

/*
Expand All @@ -25,43 +26,53 @@
*/

import javax.annotation.CheckForNull;
import java.util.List;

/*
Class for handling webhook exception
*/

public class WebhookExpectationAction implements Action {
private Boolean isExpectingToGetWebhookCall;
private String serverUrl;
public class WebhookAction implements Action {
private Boolean isExpectingToGetWebhookCall;
private String serverUrl;
private List<SonarHelper.DataType> dataTypeList;

public String getServerUrl() {
return serverUrl;
}

public Boolean getExpectingToGetWebhookCall() {
return isExpectingToGetWebhookCall;
}
public WebhookAction(Boolean isExpectingToGetWebhookCall, String serverUrl, List<SonarHelper.DataType> dataTypeList) {
this.isExpectingToGetWebhookCall = isExpectingToGetWebhookCall;
this.serverUrl = serverUrl;
this.dataTypeList = dataTypeList;
}

public WebhookExpectationAction(Boolean isExpectingToGetWebhookCall, String serverUrl) {
this.isExpectingToGetWebhookCall = isExpectingToGetWebhookCall;
this.serverUrl = serverUrl;
}

@CheckForNull
@Override
public String getIconFileName() {
return null;
}
public String getServerUrl() {

@CheckForNull
@Override
public String getDisplayName() {
return null;
}
return serverUrl;
}

@CheckForNull
@Override
public String getUrlName() {
return null;
}
public Boolean getExpectingToGetWebhookCall() {
return isExpectingToGetWebhookCall;
}

public List<SonarHelper.DataType> getDataTypeList() {
return dataTypeList;
}

@CheckForNull
@Override
public String getIconFileName() {
return null;
}

@CheckForNull
@Override
public String getDisplayName() {
return null;
}

@CheckForNull
@Override
public String getUrlName() {
return null;
}
}
Loading