Skip to content

Commit

Permalink
missing further method replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
witokondoria authored and JohnLZeller committed Jan 29, 2017
1 parent 59a8270 commit 7c7d95a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -8,3 +8,4 @@ target/*
nb-configuration.xml
/datadog.iml
/.idea/*
.idea/
Expand Up @@ -217,7 +217,7 @@ private JSONObject gatherBuildMetadata(final Run run, @Nonnull final TaskListene
builddata.put("timestamp", endtime); // long
builddata.put("result", run.getResult().toString()); // string
builddata.put("number", run.number); // int
builddata.put("job", run.getParent().getDisplayName()); // string
builddata.put("job", run.getParent().getFullDisplayName()); // string

// Grab environment variables
try {
Expand Down
Expand Up @@ -44,7 +44,7 @@ public void onCheckout(Run<?, ?> build, SCM scm, FilePath workspace, TaskListene
HashMap<String,String> tags = new HashMap<String,String>();
DatadogJobProperty prop = DatadogUtilities.retrieveProperty(build);
// Process only if job is NOT in blacklist
if ( DatadogUtilities.isJobTracked(build.getParent().getName())
if ( DatadogUtilities.isJobTracked(build.getParent().getFullDisplayName())
&& prop != null && prop.isEmitOnCheckout() ) {
logger.fine("Checkout! in onCheckout()");

Expand Down

0 comments on commit 7c7d95a

Please sign in to comment.