Branch: refs/heads/extract_pql_query_keys
  Home:   https://github.com/jenkinsci/puppet-enterprise-pipeline-plugin
  Commit: 7ed2a1e597171d3e35dd27e4737ef6aea1d4e4b1
      
https://github.com/jenkinsci/puppet-enterprise-pipeline-plugin/commit/7ed2a1e597171d3e35dd27e4737ef6aea1d4e4b1
  Author: Carl Caum <[email protected]>
  Date:   2017-07-10 (Mon, 10 Jul 2017)

  Changed paths:
    M src/main/java/org/jenkinsci/plugins/workflow/steps/QueryStep.java
    M src/main/resources/org/jenkinsci/plugins/workflow/Puppet.groovy

  Log Message:
  -----------
  Add ability to extract values from PQL qury results

When users run PQL queries, it returns an array of hashes where each
hash is an item that matched the query. If users want to extract
information from the results, such as ipaddresses or certnames, the user
must iterate over the PQL results. However, this is highly discouraged
in Jenkins pipeline scripts.

This solution enables users to extract out information into a flat array
so they do not need to resort to iterating over the results.


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to