]> granicus.if.org Git - icinga2/blobdiff - test/jenkins/run_tests.conf
Add external commands test [WIP]
[icinga2] / test / jenkins / run_tests.conf
index 545659c3672ba0e3a24e84be854c70e922a48082..b16faf8828500938f2d8e1f560130a786f5ba07f 100644 (file)
                     "/tmp/wait_for_ido.sh pgsql && rm /tmp/wait_for_ido.sh"
                 ]
             }
+        },
+        "external_commands.test": {
+            "setup": {
+                "copy": ["files/utils.py >> /tmp/utils.py"]
+            },
+            "teardown": {
+                "clean": ["/tmp/utils.py*"],
+                "exec": ["sudo service icinga2 restart"]
+            }
         }
     }
 }