GithubHelp home page GithubHelp logo

Comments (60)

jira-importer avatar jira-importer commented on May 26, 2024

thomasvandoren:

[UPDATE: this only works while jenkins is running. The jenkins start up is still unable to parse the xml file.]

I manually re-entered all of the hosts and jenkins is now able to parse the newly created file. The main differences between the new one that works and the old one that doesn't are (old version is on top):

2c2
< overssh.BapSshPublisherPlugin-Descriptor plugin="[email protected]">

> overssh.BapSshPublisherPlugin-Descriptor plugin="[email protected]">

181,217c181
<
... (a bunch of default configs)
<

>

Note that the defaults class attribute is different.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

npannu:

Same issue, went from v1.7 to v1.10 of the plugin as well as v1.504 of Jenkins.

Lost about 25 configured ssh connections, which is not realistic to re-enter every time Jenkins is restarted.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

thomasvandoren:

I eventually rolled back to jenkins version 1.501 and publish over ssh version 1.9. I'm not aware of any other work arounds at this time.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

bap:

@thomas, I'm glad you found a workaround. Is there any chance that you could try using 1.10 on Jenkins 1.501 and see if the problem is reproducible on that version of Jenkins.

@nick, were you running 1.7 on Jenkins 1.504, or did you upgrade the plugin and Jenkins at the same time? Which version did you upgrade from?

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

bap:

Someone has just reported an issue about data persistence in the Publish Over CIFS plugin when using Jenkins 1.504.

The po-cifs plugin has not changed for a very long time, so I suspect that something in core in 1.504 (and maybe earlier) is broken

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

npannu:

We upgraded Jenkins from v1.502 to v1.504 at the same time as upgrading the plugin. Everything was fine with v1.502 so it is a very recent issue.

We will try downgrading Jenkins and see if that works with v1.10 of the plugin.

[EDIT] Downgrade to Jenkins v1.502 worked. Still using v1.10 of the plugin.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

thomasvandoren:

@bap thanks for responding. I'll try v1.10.

Maybe the recent upgrade in jenkins core to xstream 1.4.4 is the culprit?

https://issues.jenkins-ci.org/browse/JENKINS-12542

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

fdumont:

I'm wondering how this issue is not In Progress. Kinda disturbing regression, guys!

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

afischer:

I have resolved the problem for Publish-Over-FTP (I'm sure, the solution for Publish-Over-SSH is the same).
You have to override the method readResolve() in all inherited classes, for Publish-Over-FTP this are:

  • BapFtpHostConfiguration
  • BapFtpPublisherPlugin$Descriptor

The reason is, that the reflection-mechanism looks for the method readResolve() in the inherited class (see above) and after this in the base-class. The reflection-invoke of the method fails, if the method is declared in the base-class and call over the derived class.
Can I check in the patched classes on GitHub?

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

afischer:

The patched sources for resolving the bug...

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

afischer:

I can not commit to GitHub, so we have to wait on "bap"...
I use my own patched version successful in my Jenkins 1.510

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

thomasvandoren:

I tried patching both the SSH and FTP plugins with the readResolve override and running 1.510. I saw a bunch of CannotResolveClassExceptions and the plugin did not load its configuration.

com.thoughtworks.xstream.mapper.CannotResolveClassException: jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin
...

Here's the patch I used, which is the patch @afischer attached: #3

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

thomasvandoren:

It's possible that I didn't correctly package the plugin, though.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

afischer:

I have patched and tested only the publish-over-ftp. But I also modified the pom-files for building against the Jenkins API (not anymore the Hudson-API). I can attach the modified pom for the Maven-build.
Can I create my own GitHub-repository and publish the patched plugin (sources, pom, ...) until bap has checked and merged my modifications? I will also patch publish-over-ssh and check again.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

afischer:

I have added a complete patched version of the plugins "publish-over" (base) and "publish-over-ssh" on GitHub:

Can you test it?

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

bap:

Thanks for looking int this Alex,

Unfortunately I am still unable to reproduce this issue - and I have tried upgrading from many versions of the plugins at the same time as upgrading Jenkins to 1.504 accross all of cifs, ftp and ssh. I suspect that the problem is JVM version specific.

I'd like to identify exactly where the problem lies, and and only fix there (i.e I do not really want to pull the minimum required version of jenkins to a version that is even newer than the current LTC RC)

The issue could potentially be solved with a calculated serialVerUID - a readResolve method is not supposed to concern itself with any sub or supertypes (so another possible fix may be to return "this" from readResolve in the serialized class definition)

I will be able to dedicate a large amount of time to this issue following this weekend.

Can everyone with this problem please provide their os, version including architecture and the full details of the JVM that the jenkins master is using?

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

mmenard:

I have the same issue if I upgrade Jenkins from 1.502 to the latest version.

Debian 2.6.39-3 x86_64
java 1.6.0_26

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

abo:

We have the same Issue.

  • Red Hat Enterprise Linux Server release 5.9 (Tikanga)
  • Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
  • tomcat5.x86_64 5.5.23-0jpp.38.el5_9
  • Jenkins 1.501
  • Publish Over SSH 1.10

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

thomasvandoren:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release:12.04
Codename: precise

$ uname -a
Linux jenkins 3.2.0-36-virtual #57-Ubuntu SMP Tue Jan 8 22:04:49 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

$ java -version
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.3) (6b27-1.12.3-0ubuntu1~12.04)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

$ dpkg -s jenkins
Package: jenkins
Status: install ok installed
Priority: extra
Section: devel
Installed-Size: 47976
Maintainer: Kohsuke Kawaguchi
Architecture: all
Version: 1.501
Replaces: hudson
Depends: daemon, adduser, psmisc, java2-runtime
Conflicts: hudson
Conffiles:
/etc/default/jenkins 2157fbd24d94c06f741ba93ab49364c1
/etc/init.d/jenkins adca5f379add743ef0d73f2718392ecf
/etc/logrotate.d/jenkins 9ccf66fc7b41f580d6c701e42d1bb794
Description: Continuous integration system written in Java
Jenkins is an extensible continuous engine written in Java.
Homepage: https://jenkins-ci.org/

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

npannu:

$ java -version
java version "1.6.0_24"

$ uname -a
Linux 2.6.32-279.22.1.el6.x86_64 #1 SMP Wed Feb 6 03:10:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/issue
CentOS release 6.3 (Final)
Kernel \r on an \m

Jenkins v1.502 and Plugin v1.10 works, upgrading Jenkins to v1.504 caused the issue. Haven't tried any of the newer versions of Jenkins.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

mlua:

os.name=Windows Server 2012
os.arch=amd64
java.version=1.7.0_09

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

pelam:

java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
Ubuntu 11.10
Linux jenkins 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Jenkins ver. 1.512

Publish Over SSH
1.10

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

jswager1:

Just updated to Jenkins ver 1.513. Then went to re-add the Publish over SSH sites like I typically do after a Jenkins restart. I was a bit surprised to find the SSH information still present. All I had done was update to Jenkins 1.513, update the Maven and ScriptTrigger plugins. Suspect that something in the new Jenkins eliminates this issue?

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

turb:

Still KO for us with 1.513 (same Jenkins instance than Maxime Ménard).

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

pelam:

Any word on official fix for this?

Alexander Fischers github versions worked for us.

Perhaps the support for older versions of Jenkins / Hudson could/should be sacrificed?

Thank You!

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

pgilchrist:

This continues to be a painful issue. Are the code fixes mentioned in the thread not candidates for release?

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

krj:

indeed

Our environment
jenkins 1.521
Publish Over SSH 1.10
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.5) (6b27-1.12.5-0ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
Ubuntu 12.04.2 LTS

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

furick1:

awt.toolkit sun.awt.windows.WToolkit
catalina.base e:\Tomcat 7.0
catalina.home e:\Tomcat 7.0
catalina.useNaming true
common.loader ${catalina.base}/lib,${catalina.base}/lib/.jar,${catalina.home}/lib,${catalina.home}/lib/.jar
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path e:\Tomcat 7.0\bin\bootstrap.jar;e:\Tomcat 7.0\bin\tomcat-juli.jar
java.class.version 50.0
java.endorsed.dirs e:\Tomcat 7.0\endorsed
java.ext.dirs C:\Program Files\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\Program Files\Java\jre6
java.io.tmpdir e:\Tomcat 7.0\temp
java.library.path e:\Tomcat 7.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Ruby193\bin;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\IBM\WebSphere\AppServer\java;C:\usr\local\wbin;C:\Perl\bin;C:\apache-ant-1.7.1\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\cvsnt;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Imaging\;C:\Program Files\Git\cmd
java.naming.factory.initial org.apache.naming.java.javaURLContextFactory
java.naming.factory.url.pkgs org.apache.naming
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_20-b02
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file e:\Tomcat 7.0\conf\logging.properties
java.util.logging.manager org.apache.juli.ClassLoaderLogManager
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_20
java.vm.info mixed mode, sharing
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 16.3-b01
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
org.apache.catalina.startup.ContextConfig.jarsToSkip
org.apache.catalina.startup.TldConfig.jarsToSkip
os.arch x86
os.name Windows Vista
os.version 6.0
package.access sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
package.definition sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
path.separator ;
server.loader
shared.loader
sun.arch.data.model 32
sun.boot.class.path C:\Program Files\Java\jre6\lib\resources.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\sunrsasign.jar;C:\Program Files\Java\jre6\lib\jsse.jar;C:\Program Files\Java\jre6\lib\jce.jar;C:\Program Files\Java\jre6\lib\charsets.jar;C:\Program Files\Java\jre6\classes
sun.boot.library.path C:\Program Files\Java\jre6\bin
sun.cpu.endian little
sun.cpu.isalist
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 2
svnkit.http.methods Digest,Basic,NTLM,Negotiate
svnkit.ssh2.persistent false
svnkit.symlinks false
tomcat.util.buf.StringCache.byte.enabled true
tomcat.util.scan.DefaultJarScanner.jarsToSkip bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,jasper.jar,jasper-el.jar,ecj-.jar,tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,tomcat-jni.jar,tomcat-spdy.jar,tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,tomcat-jdbc.jar,tools.jar,commons-beanutils.jar,commons-codec*.jar,commons-collections*.jar,commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,commons-math*.jar,commons-pool*.jar,jstl.jar,geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,jmx-tools.jar,jta*.jar,log4j*.jar,mail*.jar,slf4j*.jar,xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,junit.jar,junit-*.jar,ant-launcher.jar
user.country US
user.dir e:\Tomcat 7.0
user.home C:\
user.language en
user.name WDCVMHUDS01$
user.timezone America/New_York
user.variant
Environment Variables

Name ↓
Value
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
COMPUTERNAME WDCVMHUDS01
ComSpec C:\Windows\system32\cmd.exe
CommonProgramFiles C:\Program Files\Common Files
DFSTRACINGON FALSE
FP_NO_HOST_CHECK NO
HUDSON_HOME E:\hudson
JAVA_HOME C:\Program Files\Java\jdk1.6.0_17
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 2
OS Windows_NT
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER x86 Family 16 Model 8 Stepping 0, AuthenticAMD
PROCESSOR_LEVEL 16
PROCESSOR_REVISION 0800
PSModulePath C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC C:\Users\Public
Path C:\Ruby193\bin;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\IBM\WebSphere\AppServer\java;C:\usr\local\wbin;C:\Perl\bin;C:\apache-ant-1.7.1\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\cvsnt;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Imaging\;C:\Program Files\Git\cmd
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
TRACE_FORMAT_SEARCH_PATH \\NTREL202.ntdev.corp.microsoft.com\4F18C3A5-CA09-4DBD-B6FC-219FDD4C6BE0\TraceFormat
UATDATA C:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
USERDOMAIN NA
USERNAME WDCVMHUDS01$
USERPROFILE C:\Windows\system32\config\systemprofile
WORKSPACE c:\autodeploy
XNAGSShared C:\Program Files\Common Files\Microsoft Shared\XNA\
XNAGSv4 C:\Program Files\Microsoft XNA\XNA Game Studio\v4.0\
windir C:\Windows
Plugins

Name ↓
Version
Enabled
Pinned
mailer 1.5 true true
external-monitor-job 1.1 true false
ldap 1.5 true true
pam-auth 1.1 true true
ant 1.2 true true
javadoc 1.1 true true
backup 1.6.1 true false
deploy 1.9 true false
deploy-websphere 1.0 true false
ftppublisher 1.2 true false
hudson-pview-plugin 1.8 true false
iphoneview 0.2 true false
mask-passwords 2.7.2 true false
publish-over-cifs 0.2 true false
token-macro 1.8.1 true false
run-condition 0.10 true false
cvs 2.9 true true
scis-ad 1.2 true false
scp 1.8 true false
selenium-aes 0.5 true false
seleniumhq 0.4 true false
seleniumhtmlreport 0.94 true false
subversion 1.50 true true
svn-release-mgr 1.2 true false
was-builder 1.6.1 true false
webtestpresenter 0.23 true false
active-directory 1.33 true false
maven-plugin 1.509.2 true false
build-publisher 1.17 true false
cloverphp 0.3.3 true false
conditional-buildstep 1.3 true false
confluence-publisher 1.8 true false
credentials 1.4 true true
email-ext 2.30.2 true false
git-client 1.0.7 true false
git 1.4.0 true false
github-api 1.42 true false
github 1.7 true false
greenballs 1.12 true false
htmlpublisher 1.2 true false
jira 1.37 true false
msbuild 1.18 true false
publish-over-ftp 1.9 true false
publish-over-ssh 1.10 true false
ssh-credentials 0.4 true true
ssh-slaves 0.27 true true
svn-tag 1.16 true false
testlink 3.5 true false
translation

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

bdellegrazie:

We have the same problem (SSH sites configuration and credentials disappear upon Jenkins restart).
Windows Server 2008R2
JVM: 1.7.0_21-b11
Jenkins: 1.509.2 (LTS)
publish-over-ssh: 1.10
ssh-credentials: 0.4

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

bryceman:

I had exactly this problem as well.
I tried downgrading the plugin to 1.9, which didn't help.
Then I tried upgrading from 1.509.2 LTS to 1.524 latest, and that didn't help.
Then I downgraded back to 1.509.2 LTS w/ the 1.9 plugin, and that seems to be ok now...

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

achimhenselcsx:

Same Problem:

  • Jenkins ver. 1.525 (Release: 1.1, Buildtime: Mon Jul 29 20:49:41 2013)
  • PlugIn-Versions 1.7 and 1.10
  • OS: CentOS release 6.2
  • JVM: java version "1.7.0_25" OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-i386)
  • Jenkins installed and updated by "YUM"; Repo: http://pkg.jenkins-ci.org/redhat/

Looks like Class-Loader-Issue.

If you cannot reproduce it, maybe it is related to: Other Plugin; Ancient un-Migrated config-XML; Classloader-isolation issues of the runtime-Container

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

jankrotky:

If it helps with reproducing the issue, I've started using Jenkins from version 1.520 so the configs were newly created. No older configs were present. Only thing that may be older than this version was a sample php project from jenkins-php.org which doesn't use the publish over ssh plugin.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

turb:

Still stucked on 1.502 due to this issue (last tested against 1.526).

Note that "Publish over FTP" config does work for us.

To summarize JVM on previous comments:

  • 6u20 (32b?)
  • 6u24 (64b?)
  • 6u26 (64b)
  • 6u27 (64b)
  • 6u33b3 (64b)
  • 7u5 (64b)
  • 7u9 (64b?)
  • 7u21 (? )
  • 7u25 (32b?)

This bug is on Linux (RH-based and Debian based), Windows (2008 server, Vista, 7).

@bap is'nt it possible to start from Alexander Fischer's patch? I undestand you want to reproduce it first, but this patch does not seem error-prone.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

pgilchrist:

Is @bap still working on this plugin? We have several folks for whom this has become an persistent nagging issue. What do we need to do to get a functional update checked in and built???

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

turb:

I have retaken Alexander's patch, forking Thomas Van Doren repo that included it. I corrected the build failure (only an artifact version problem), and now it works on our Jenkins installation, updated to 1.527.

It's here: https://github.com/key-consulting/publish-over-ssh-plugin/tree/JENKINS-17058

Could someone build(1) and test it one more time, to be sure?

I will then launch another pull request.

(1) cannot be built with JDK7, given Jenkins API version.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

birkle:

I tested Alexander's patch and it also works in my environment Jenkins 1.527 installation. I used JDK6

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

turb:

Here the pull request: #4

The Jenkins build has failed, due to the lack of compat with JDK 1.7 I pointed.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

maarek:

I'd like to add that it is now October 15th and it still has not been fixed.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

vacuum:

Hello there. I was able to reproduce this bug. It happens when I add at least one server to both publish over ftp & ssh settings, then ssh config can't be read, but ftp is ok. Ssh plugin alone works well. Tested on jenkins 1.533 clean install.

So, if I delete all ftp servers, newly added ssh servers could be loaded after restart.

Hope this info will be helpful, and would be glad if someone could confirm it.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

dm82m:

we were using that plugin several months without problems. we were only using the "publish over ssh" plugin. a few days ago we installed the "publish over cifs" plugin and now we are running into that problem! if I disable the "cifs" plugin all is fine! maybe this helps...

@Sylvain Veyrié: I tested your pull request and it works!

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

lukelast:

I can confirm that when I uninstalled both the publish over FTP and CIFS plugins that is resolved this issue. This is with Jenkins 1.536 on Ubuntu Java 7.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

fdumont:

I'm so glad this is In Progress... For so many months I've had to re-enter all my SSH configs after each restart. I know all the paswords by heart now.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

pgilchrist:

Now that we know the way to reproduce this issue is anyone working on a permanent fix?

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

mottaviani:

There does appear to be a pending pull request: JENKINS-17885

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

mottaviani:

Email from bap:

Hi Mark,

I no longer use Jenkins and don't have time to maintain the publish over plugins.

Feel free to merge, test and release as you see fit.

Regards,
Bap.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

scm_issue_link:

Code changed in jenkins
User: Thomas Van Doren
Path:
src/main/java/jenkins/plugins/publish_over_ssh/BapSshHostConfiguration.java
src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin.java
http://jenkins-ci.org/commit/publish-over-ssh-plugin/549ebd579841e5a7989aa1df30339d5367fdae3f
Log:
JENKINS-17058 Add Alexander Fisher's patches from comments.

https://issues.jenkins-ci.org/browse/JENKINS-17058?focusedCommentId=177125&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-177125

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

scm_issue_link:

Code changed in jenkins
User: Alex Earl
Path:
pom.xml
src/main/java/jenkins/plugins/publish_over_ssh/BapSshHostConfiguration.java
src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin.java
http://jenkins-ci.org/commit/publish-over-ssh-plugin/dbc15b7ae03b4b140e074295a6c243a4781842ec
Log:
Merge pull request #4 from key-consulting/master

JENKINS-17058 add readResolve on BapSshHostConfiguration, fix dep

Compare: c591bae...dbc15b7

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

pgilchrist:

What do we need to do to get on the maintainers list?

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

afischer:

Hello,

I hve fixed the problem earlier this year. See my Jira-comments on April of 2013.
You can look into my sources on Github.

I don't know, how to propagate my patches to the official version of the plugins (pull-request?). So I use my own patched version since April without any problems until now with Jenkins 1.544.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

mottaviani:

@preston, I suggest e-mailing on this thread in the jenkins-dev mailing list: https://groups.google.com/forum/#!topic/jenkinsci-dev/7vEwarVHbgc

Slide merged the change today and is supposed to be pushing out a release, but he's still looking for a new official maintainer.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

scm_issue_link:

Code changed in jenkins
User: Alexander Fischer
Path:
.gitignore
pom.xml
src/test/java/jenkins/plugins/publish_over/BPBuildInfoTest.java
http://jenkins-ci.org/commit/publish-over-plugin/a9d9ab51505ce83b3a6d507465e0b2bb9b72f558
Log:
fix for jenkins-bug #JENKINS-17058

modified unit-test for resolving relative paths;
updated pom - integrate plugin-API for Jenkins1.510 and adapt for
Eclipse m2e

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

scm_issue_link:

Code changed in jenkins
User: Alexander Fischer
Path:
src/test/java/jenkins/plugins/publish_over/BPHostConfigurationTest.java
src/test/java/jenkins/plugins/publish_over/helper/BPHostConfigurationFactory.java
http://jenkins-ci.org/commit/publish-over-plugin/962aace22881b26507a091e7397b79a77aaa4927
Log:
fix for jenkins-bug #JENKINS-17058

overriding method readResolve() from base-class BPHostConfiguration for
resoving Reflection-problems with XStream

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

mottaviani:

Fixed in version 1.11 of the Publish over SSH plugin.

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

computabloke:

Hi All, For clarity, can someone please answer this q'n?

We're still on Jenkins 1.509.2 LTS, Windows exe, bundled 1.6 Java RE (like Brett Delle Grazie above) and have this problem.

I am browsing the GitHub forks trying to work out the necessary dependencies to obtain a compatible 'fix' for Publish Over SSH without updating Java RE or Jenkins core.

Will the 'fixed' SSH 1.11 work on 1.509 LTS and J6RE despite the apparent new baseline?

Ref from the MANIFEST.MFs:

Plugin-Version: 1.10
Hudson-Version: 1.388
Build-Jdk: 1.6.0_32
Depends on Publish-Over: 0.17

Plugin-Version: 1.11
Hudson-Version: 1.532.1
Jenkins-Version: 1.532.1
Build-Jdk: 1.7.0_45
Depends on Publish-Over: 0.18

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

elaine_richards_symantec:

I came in with a similar issue. I installed a brand new Jenkins and brand new set of plugins. I attempted to add a server in the manage jenkins configuration area and the values would disappear over and over again. I am essentially copying another jenkins master to test something. So, I went to the existing jenkins master and copied 

jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml

 from the old master to the new one. The values show up in the dashboard and I can modify it and it works, etc. 

The Jenkins is version 2.104, the plugin is 1.18 The underlying OS is Centos 7.2

 

Something is preventing Jenkins from creating this file. I don't know what to stack trace. Not a java programmer. I figure I'd throw this out there if you want a workaround. 

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

[Originally duplicated by: JENKINS-17885]

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

[Originally duplicated by: JENKINS-17165]

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

[Originally duplicated by: JENKINS-17319]

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

[Originally related to: JENKINS-18019]

from publish-over-ssh-plugin.

jira-importer avatar jira-importer commented on May 26, 2024

[Originally related to: JENKINS-12542]

from publish-over-ssh-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.