+def uninstall_osm(stackName) {
+ sh """
+ export OSM_USE_LOCAL_DEVOPS=true
+ export PATH=$PATH:/snap/bin
+ installers/full_install_osm.sh -y -w /tmp/osm -t ${stackName} -s ${stackName} --test --nolxd --nodocker --nojuju --nohostports --nohostclient --uninstall
+ """
+}
+
+def run_systest(stackName,tagName,testName) {
+ sh """
+ tempdir=$(mktemp -d)
+ docker run -ti --network net${stackName} -v $tempdir:/usr/share/osm-devops/systest/reports osm/osmclient:${tagName} make -C /usr/share/osm-devops/systest ${testName}
+ cp $tempdir/*.xml .
+ """
+ junit '*.xml'
+}
+