This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | def echoAndStash(index, openshiftMap) { | |
| echo "$index == $openshiftMap" | |
| openshiftMap.each { project -> | |
| sh """ | |
| echo "hello${project}" >> batch${index}.tmp | |
| """ | |
| } | |
| def batchName = "batch${index}" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | def progressingCondition = dcObject?.status?.conditions.find { condition -> condition.type == "Progressing" } | |
| if (progressingCondition == null) { | |
| //maybe this is because there isnt an active dc? | |
| return false | |
| } | |
| if (progressingCondition.status == "Unknown") { | |
| //Deployment already in-progress due to oc apply - deployer pod not ready yet | |
| isRolloutRequired = false | |
| } else if (progressingCondition.status == "True" && progressingCondition.reason == "ReplicationControllerUpdated") { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | [INFO] ------------------------------------------------------------------------ | |
| [INFO] Building Dozer :: Tests :: OSGi Bundle Tests 6.2.0-SNAPSHOT | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] | |
| [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ dozer-osgi-tests --- | |
| [INFO] | |
| [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ dozer-osgi-tests --- | |
| [INFO] | |
| [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce) @ dozer-osgi-tests --- | |
| [INFO] | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import jenkins.model.Jenkins | |
| import com.openshift.jenkins.plugins.OpenShift | |
| import net.sf.json.JSONObject | |
| import net.sf.json.JSONArray | |
| import org.kohsuke.stapler.Stapler | |
| import org.kohsuke.stapler.RequestImpl | |
| import javax.servlet.http.HttpServletRequest | |
| def httpServletRequest = [ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "apiVersion":"enmasse.io/v1", | |
| "kind":"AddressList", | |
| "items":[ | |
| { | |
| "metadata":{ | |
| "name":"my-queue11", | |
| "addressSpace":"default", | |
| "uuid":"27087d8a-0081-3671-a221-2dcc5a3787cf" | |
| }, | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 2018-01-25T12:28:30.220Z agent info GET /oapi/v1/namespaces/enmasse/routes/messaging => 200 | |
| 2018-01-25T12:28:30.247Z agent info Connecting to MESSAGING service with host: 172.30.57.86, port: 55671, container: admin-401198903-n27gt, id: agent-1 | |
| 2018-01-25T12:28:30.269Z agent info Router agent listening on 55671 | |
| 2018-01-25T12:28:30.275Z agent info GET /api/v1/namespaces/enmasse/configmaps?labelSelector=type%3Daddress-config => 200 | |
| 2018-01-25T12:28:30.277Z agent info list retrieved; watching... | |
| 2018-01-25T12:28:30.278Z agent info updating addresses: {} | |
| 2018-01-25T12:28:30.279Z agent info GET /api/v1/namespaces/enmasse/pods?labelSelector=role%3Dbroker => 200 | |
| 2018-01-25T12:28:30.279Z agent info list retrieved; watching... | |
| 2018-01-25T12:28:30.284Z agent info GET /api/v1/watch/namespaces/enmasse/pods?labelSelector=role%3Dbroker => 200 | |
| 2018-01-25T12:28:30.285Z agent info GET /api/v1/watch/namespaces/enmasse/configmaps?labelSelector=type%3Daddress-config => 200 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "apiVersion": "enmasse.io/v1", | |
| "kind": "AddressList", | |
| "items": [ | |
| { | |
| "metadata": { | |
| "name": "my-queue" | |
| }, | |
| "spec": { | |
| "type": "queue" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "apiVersion":"enmasse.io/v1", | |
| "kind":"AddressSpace", | |
| "metadata":{ | |
| "name":"testing-1", | |
| "namespace":"enmasse", | |
| "createdBy":"anonymous" | |
| }, | |
| "spec":{ | |
| "type":"brokered", | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | @MessageDriven( | |
| mappedName = "HELLOWORLDMDBQueue", | |
| activationConfig = { | |
| @ActivationConfigProperty(propertyName = "destination", propertyValue = "HELLOWORLDMDBQueue"), | |
| @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), | |
| @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "10") | |
| }) | |
| @TransactionManagement(TransactionManagementType.BEAN) | |
| @ResourceAdapter("activemq-rar") | |
| @org.jboss.ejb3.annotation.Pool(value="mdb-strict-max-pool") | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=JavaSE/providerutil.jar -DgroupId=com.ibm.mq -DartifactId=providerutil -Dversion=1.0.0 -Dpackaging=jar | |
| mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=JavaSE/jms.jar | |
| mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=JavaSE/fscontext.jar -DgroupId=com.ibm.mq -DartifactId=fscontext -Dversion=1.0.0 -Dpackaging=jar | |
| mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=JavaSE/com.ibm.mq.traceControl.jar -DgroupId=com.ibm.mq -DartifactId=traceControl -Dversion=1.0.0 -Dpackaging=jar | |
| mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=JavaSE/com.ibm.mq.allclient.jar -DgroupId=com.ibm.mq -DartifactId=allclient -Dversion=1.0.0 -Dpackaging=jar |