Skip to content

Commit

Permalink
Merge pull request #83 from danieldanan/latest
Browse files Browse the repository at this point in the history
JENKINS-51055: Rebranding - HPE still appears in a few places in Job …
  • Loading branch information
YafimK committed May 15, 2018
2 parents 956c745 + 4c329af commit a5e8ad1
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -171,7 +171,7 @@ public DescriptorImpl getDescriptor() {
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener)
throws InterruptedException, IOException {
WorkspacePath = new File(build.getWorkspace().toURI());
pcModel.setBuildParameters(((AbstractBuild)build).getBuildVariables().toString());
try { pcModel.setBuildParameters(((AbstractBuild)build).getBuildVariables().toString()); } catch (Exception ex) { }
perform(build, build.getWorkspace(), launcher, listener);

return true;
Expand Down Expand Up @@ -219,7 +219,7 @@ public static String getPcreportFileName() {
private Testsuites execute(PcClient pcClient, Run<?, ?> build)
throws InterruptedException,NullPointerException {
try {
pcModel.setBuildParameters(((AbstractBuild)build).getBuildVariables().toString());
try { pcModel.setBuildParameters(((AbstractBuild)build).getBuildVariables().toString()); } catch (Exception ex) { }
if (!StringUtils.isBlank(pcModel.getDescription()))
logger.println("- - -\nTest description: " + pcModel.getDescription());
if (!beforeRun(pcClient))
Expand All @@ -245,7 +245,7 @@ private Testsuites execute(PcClient pcClient, Run<?, ?> build)
private Testsuites run(PcClient pcClient, Run<?, ?> build)
throws InterruptedException, ClientProtocolException,
IOException, PcException {
pcModel.setBuildParameters(((AbstractBuild)build).getBuildVariables().toString());
try { pcModel.setBuildParameters(((AbstractBuild)build).getBuildVariables().toString()); } catch (Exception ex) { }
PcRunResponse response = null;
String errorMessage = "";
String eventLogString = "";
Expand Down

0 comments on commit a5e8ad1

Please sign in to comment.