jfrog / jenkins-jfrog-plugin

Easy integration between Jenkins and the JFrog Platform.
https://github.com/jfrog/jenkins-jfrog-plugin
Apache License 2.0
39 stars 17 forks source link

Jenkins.instance is missing in remote SSH agent #52

Closed yahavi closed 1 year ago

yahavi commented 1 year ago

Fix https://github.com/jfrog/jenkins-jfrog-plugin/issues/24#issuecomment-1467409067

Fix the following error:

java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong. at jenkins.model.Jenkins.get(Jenkins.java:814) at io.jenkins.plugins.jfrog.Utils.createProxyConfiguration(Utils.java:92)

Jenkins.get() invocation must be in the master node and never on the agent.

github-actions[bot] commented 1 year ago

What is Frogbot?