I am using the following plugin to read the message content from Gmail.
The test runs successfully without any issues on my local machine, but when I am running the test through CI/CD pipeline, the test failed on the step where it is using this plugin.
Does someone knows what to do here? Do I need to do something on my pipeline settings?
Also, when I am running the tests on the client VPN, it gives me the following error:
org.codehaus.groovy.runtime.InvokerInvocationException: javax.mail.MessagingException: Connection refused: connect; nested exception is: java.net.ConnectException: Connection refused: connect at com.testwithhari.katalon.plugins.Gmail.invokeMethod(Gmail.groovy)
Has someone came across these issues before?