I tried below script.
but I tried cancel the node, but it don't stop.
echo "aaa" | ${groovy:
def a = System.in.text
return a;
}
How can I stop the node?
I tried below script.
but I tried cancel the node, but it don't stop.
echo "aaa" | ${groovy:
def a = System.in.text
return a;
}
How can I stop the node?
QB cancels groovy code via thread interruption. However some logic will not respond to interruption. In this case, the only way is to restart the node, and avoid reading text in CI/CD pipeline.