Skip to content
Advertisement

Tag: jenkins

SessionNotCreatedException with Selenium 4.1.3/IEDriverServer 4.0.0 without open desktop session (works with Selenium 3.141.0/IEDriverServer 2.53.1)

I’m running Selenium via a Jenkins Maven job. The job is running on a separate Jenkins agent without a remote desktop session open to it. When I run in Selenium 3.141.0 with IEDriverServer 2.53.1.0 it works fine. However, running with Selenium 4.1.3 and IEDriverServer 4.0.0.0 throws a SessionNotCreatedException. Note that if I keep a remote desktop session open it works

Installing jenkins on Linux Mint 20.2

I’ve Linux Mint 20.2 Cinnamon and I tried to install jenkins. Detailed steps for installation is as below: 1. Installing java – installed via apt I’ve also added JAVA_HOME in ~/.zshrc which gives: 2. Installing jenkins I’ve tried with different versions of java, yet the same error. What am I doing wrong? Related solutions that I tried, but failed: [1],

How to copy keystore.jks file to jenkins workspace using credentials parameter secret file type?

My application using jks type keystore file. I have to secure it using jenkins credentials parameter’s secret file. Write file using below code to jenkins workspace. But keystore corrupted by above way. throw Invalid keystore format error Caused by: java.io.IOException: Invalid keystore format at java.base/sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:659) at java.base/sun.security.util.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:222) at java.base/java.security.KeyStore.load(KeyStore.java:1479) at org.springframework.security.saml.key.JKSKeyManager.initialize(JKSKeyManager.java:117) Please help me to write keystore file into jenkins

Unable to load a groovy classes

I am trying to serialize and deserialize a groovy object with the below class in the jenkins pipeline. SerializationUtil.groovy Test.groovy Jenkins pipeline script I was able to serialize the object but not deserialize. I am getting the below exception. From the exception, I could see that GroovyClassLoader is not called and I assume that might be the issue. Answer The

Advertisement