[JIRA] (JENKINS-29065) CLI install plugin jobs-dsl fails
Title: Message Title Daniel Beck updated an issue Jenkins / JENKINS-29065 CLI install plugin jobs-dsl fails Change By: Daniel Beck Labels: lts-candidate Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.163524.1435155666000.7030.1567677303354%40Atlassian.JIRA.
[JIRA] (JENKINS-29065) CLI install plugin jobs-dsl fails
Title: Message Title Jesse Glick commented on JENKINS-29065 Re: CLI install plugin jobs-dsl fails Not sure I would consider this “fixed”, exactly—Jenkins still does not follow redirects—but the behavior is certainly better than before. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.163524.1435155666000.1946.1565712841164%40Atlassian.JIRA.
[JIRA] (JENKINS-29065) CLI install plugin jobs-dsl fails
Title: Message Title Daniel Beck commented on JENKINS-29065 Re: CLI install plugin jobs-dsl fails The part where Jenkins comes up with failures to load (potentially many) plugins is fixed; so seems reasonable to me to close this. What's left is the lack of supporting HTTP redirects, which can be filed in a new issue if desired. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.163524.1435155666000.2042.1565720160424%40Atlassian.JIRA.
[JIRA] (JENKINS-29065) CLI install plugin jobs-dsl fails
Title: Message Title Oleg Nenashev updated JENKINS-29065 Jenkins / JENKINS-29065 CLI install plugin jobs-dsl fails Change By: Oleg Nenashev Status: Fixed but Unreleased Resolved Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.163524.1435155666000.10735.1565275621364%40Atlassian.JIRA.
[JIRA] (JENKINS-29065) CLI install plugin jobs-dsl fails
Title: Message Title Oleg Nenashev reopened an issue Jenkins / JENKINS-29065 CLI install plugin jobs-dsl fails Change By: Oleg Nenashev Resolution: Cannot Reproduce Status: Resolved Reopened Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.163524.1435155666000.10709.1565275502866%40Atlassian.JIRA.
[JIRA] (JENKINS-29065) CLI install plugin jobs-dsl fails
Title: Message Title Oleg Nenashev updated JENKINS-29065 Some follow-ups were addressed in Jenkins 2.189 Jenkins / JENKINS-29065 CLI install plugin jobs-dsl fails Change By: Oleg Nenashev Status: Reopened Fixed but Unreleased Resolution: Fixed Released As: Jenkins 2.189 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.163524.1435155666000.10711.1565275502897%40Atlassian.JIRA.
[JIRA] (JENKINS-29065) CLI install plugin jobs-dsl fails
Title: Message Title Daniel Beck updated an issue Jenkins / JENKINS-29065 CLI install plugin jobs-dsl fails Change By: Daniel Beck Labels: lts-candidate Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.163524.1435155666000.10576.1565259300402%40Atlassian.JIRA.
[JIRA] (JENKINS-29065) CLI install plugin jobs-dsl fails
Title: Message Title Allan BURDAJEWICZ edited a comment on JENKINS-29065 Re: CLI install plugin jobs-dsl fails [~danielbeck] Maybe this could be reopen. Or maybe this is related to https://issues.jenkins-ci.org/browse/JENKINS-44361 ? The issue with the HTTP / HTTPS redirect is corrupting the file when downloading using the CLI.If I use {{wget https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi}} and then do a {{sha1sum groovy.jpi}} I can see the right sha {{85af4e8de47e981d3bf22adaf0c7f5747b991d83}}.If I use the Jenkins CLI to install from {{https://updates.jenkins.io}}, it succeeds:{code}java -jar jenkins-cli.jar -logger FINE -s http://cje.example.com:8081 -auth admin:admin install-plugin https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi Jul 19, 2019 2:34:09 PM org.apache.sshd.common.util.security.SecurityUtils registerFINE: register(BC) not registered - enabled=true, supported=falseJul 19, 2019 2:34:09 PM org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar getOrCreateProviderINFO: getOrCreateProvider(EdDSA) created instance of net.i2p.crypto.eddsa.EdDSASecurityProviderJul 19, 2019 2:34:09 PM hudson.cli.CLI _mainFINE: using connection mode HTTPJul 19, 2019 2:34:09 PM hudson.cli.CLI plainHttpConnectionFINE: Trying to connect to http://allan.oss.com:8081/ via plain protocol over HTTPJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: establishing download sideJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: established download sideJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: establishing upload sideJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: established upload sideInstalling a plugin from https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi{code}*but the sha of the {{$JENKINS_HOME/plugins/groovy.hpi}} is wrong {{7c5e3f4ae6540474cf24bd4cb3ece2d31e701965}}*. The file contains the HTTP response:{code}302 FoundFoundThe document has moved here.{code}This will break Jenkins startup on the next restart.If I use the Jenkins CLI to install from {{http://updates.jenkins.io}}, it succeeds:{code}java -jar jenkins-cli.jar -logger FINE -s http://cje.example.com:8081 -auth admin:admin install-plugin https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi Jul 19, 2019 2:34:09 PM org.apache.sshd.common.util.security.SecurityUtils registerFINE: register(BC) not registered - enabled=true, supported=falseJul 19, 2019 2:34:09 PM org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar getOrCreateProviderINFO: getOrCreateProvider(EdDSA) created instance of net.i2p.crypto.eddsa.EdDSASecurityProviderJul 19, 2019 2:34:09 PM hudson.cli.CLI _mainFINE: using connection mode HTTPJul 19, 2019 2:34:09 PM hudson.cli.CLI plainHttpConnectionFINE: Trying to connect to http://allan.oss.com:8081/ via plain protocol over HTTPJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: establishing download sideJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: established download sideJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: establishing upload sideJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: established upload sideInstalling a plugin from https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi{code}And the sha of the {{$JENKINS_HOME/plugins/groovy.hpi}} is correct {{85af4e8de47e981d3bf22adaf0c7f5747b991d83}}*Note that it works for the update site at {{jenkins-updates.cloudbees.com/}} whether you use {{http}} or {{https}}
[JIRA] (JENKINS-29065) CLI install plugin jobs-dsl fails
Title: Message Title Allan BURDAJEWICZ edited a comment on JENKINS-29065 Re: CLI install plugin jobs-dsl fails [~danielbeck] The issue with the HTTP / HTTPS redirect is corrupting the file when downloading using the CLI.If I use {{wget https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi}} and then do a {{sha1sum groovy.jpi}} I can see the right sha {{85af4e8de47e981d3bf22adaf0c7f5747b991d83}}.If I use the Jenkins CLI to install from {{https://updates.jenkins.io}}, it succeeds:{code}java -jar jenkins-cli.jar -logger FINE -s http://cje.example.com:8081 -auth admin:admin install-plugin https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi Jul 19, 2019 2:34:09 PM org.apache.sshd.common.util.security.SecurityUtils registerFINE: register(BC) not registered - enabled=true, supported=falseJul 19, 2019 2:34:09 PM org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar getOrCreateProviderINFO: getOrCreateProvider(EdDSA) created instance of net.i2p.crypto.eddsa.EdDSASecurityProviderJul 19, 2019 2:34:09 PM hudson.cli.CLI _mainFINE: using connection mode HTTPJul 19, 2019 2:34:09 PM hudson.cli.CLI plainHttpConnectionFINE: Trying to connect to http://allan.oss.com:8081/ via plain protocol over HTTPJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: establishing download sideJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: established download sideJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: establishing upload sideJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: established upload sideInstalling a plugin from https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi{code}*but the sha of the {{$JENKINS_HOME/plugins/groovy.hpi}} is wrong {{7c5e3f4ae6540474cf24bd4cb3ece2d31e701965}}*. The file contains the HTTP response:{code}302 FoundFoundThe document has moved here.{code} This will break Jenkins startup on the next restart.If I use the Jenkins CLI to install from {{http://updates.jenkins.io}}, it succeeds:{code}java -jar jenkins-cli.jar -logger FINE -s http://cje.example.com:8081 -auth admin:admin install-plugin https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi Jul 19, 2019 2:34:09 PM org.apache.sshd.common.util.security.SecurityUtils registerFINE: register(BC) not registered - enabled=true, supported=falseJul 19, 2019 2:34:09 PM org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar getOrCreateProviderINFO: getOrCreateProvider(EdDSA) created instance of net.i2p.crypto.eddsa.EdDSASecurityProviderJul 19, 2019 2:34:09 PM hudson.cli.CLI _mainFINE: using connection mode HTTPJul 19, 2019 2:34:09 PM hudson.cli.CLI plainHttpConnectionFINE: Trying to connect to http://allan.oss.com:8081/ via plain protocol over HTTPJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: establishing download sideJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: established download sideJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: establishing upload sideJul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: established upload sideInstalling a plugin from https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi{code}And the sha of the {{$JENKINS_HOME/plugins/groovy.hpi}} is correct {{85af4e8de47e981d3bf22adaf0c7f5747b991d83}}*Note that it works for the update site at {{jenkins-updates.cloudbees.com/}} whether you use {{http}} or {{https}}
[JIRA] (JENKINS-29065) CLI install plugin jobs-dsl fails
Title: Message Title Allan BURDAJEWICZ commented on JENKINS-29065 Re: CLI install plugin jobs-dsl fails Daniel Beck The issue with the HTTP / HTTPS redirect is corrupting the file when downloading using the CLI. If I use wget https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi and then do a sha1sum groovy.jpi I can see the right sha 85af4e8de47e981d3bf22adaf0c7f5747b991d83. If I use the Jenkins CLI to install from https://updates.jenkins.io, it succeeds: java -jar jenkins-cli.jar -logger FINE -s http://cje.example.com:8081 -auth admin:admin install-plugin https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi Jul 19, 2019 2:34:09 PM org.apache.sshd.common.util.security.SecurityUtils register FINE: register(BC) not registered - enabled=true, supported=false Jul 19, 2019 2:34:09 PM org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar getOrCreateProvider INFO: getOrCreateProvider(EdDSA) created instance of net.i2p.crypto.eddsa.EdDSASecurityProvider Jul 19, 2019 2:34:09 PM hudson.cli.CLI _main FINE: using connection mode HTTP Jul 19, 2019 2:34:09 PM hudson.cli.CLI plainHttpConnection FINE: Trying to connect to http://allan.oss.com:8081/ via plain protocol over HTTP Jul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: establishing download side Jul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: established download side Jul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: establishing upload side Jul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: established upload side Installing a plugin from https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi but the sha of the $JENKINS_HOME/plugins/groovy.hpi is wrong 7c5e3f4ae6540474cf24bd4cb3ece2d31e701965. This will break Jenkins startup on the next restart. If I use the Jenkins CLI to install from http://updates.jenkins.io, it succeeds: java -jar jenkins-cli.jar -logger FINE -s http://cje.example.com:8081 -auth admin:admin install-plugin https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi Jul 19, 2019 2:34:09 PM org.apache.sshd.common.util.security.SecurityUtils register FINE: register(BC) not registered - enabled=true, supported=false Jul 19, 2019 2:34:09 PM org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar getOrCreateProvider INFO: getOrCreateProvider(EdDSA) created instance of net.i2p.crypto.eddsa.EdDSASecurityProvider Jul 19, 2019 2:34:09 PM hudson.cli.CLI _main FINE: using connection mode HTTP Jul 19, 2019 2:34:09 PM hudson.cli.CLI plainHttpConnection FINE: Trying to connect to http://allan.oss.com:8081/ via plain protocol over HTTP Jul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: establishing download side Jul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: established download side Jul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: establishing upload side Jul 19, 2019 2:34:09 PM hudson.cli.FullDuplexHttpStream FINE: established upload side Installing a plugin from https://updates.jenkins.io/download/plugins/groovy/2.2/groovy.hpi
[JIRA] (JENKINS-29065) CLI install plugin jobs-dsl fails
Title: Message Title Daniel Beck resolved as Cannot Reproduce I expect this to have been an infra issue due to the http -> https redirect (which isn't supported by Jenkins). Accessing http://updates.jenkins-ci.org/latest/job-dsl.hpi redirects me to plain http, so should work. Jenkins / JENKINS-29065 CLI install plugin jobs-dsl fails Change By: Daniel Beck Status: Open Resolved Resolution: Cannot Reproduce Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from t