- <execution>
- <phase>validate</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <echo>******** Displaying value of property ********</echo>
- <echo>Docker host set:${env.DOCKER_HOST}</echo>
- </tasks>
- </configuration>
- </execution>
+ <execution>
+ <id>docker_info</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>docker</executable>
+ <arguments>
+ <argument>ps</argument>
+ <argument>--all</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ <execution>
+ <id>docker_info2</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>docker</executable>
+ <arguments>
+ <argument>images</argument>
+
+ </arguments>
+ </configuration>
+ </execution>