[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2019-10-15 Thread host...@post.cz (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Petr H edited a comment on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 - automatically installed JDK (when it worked):hudson.model.JDK/JDK8u152/bin/- manually downloaded and locally used binary archive (jdk-8u212-linux-x64.tar.gz in this example):hudson.model.JDK/JDK8/*jdk1.8.0_212*/bin/Although I can set the *Subdirectory of extracted archive* to "jdk1.8.0_212" (for the above example) which sets the java home correctly, I'd like to get the same result as with the automatically installed JDK - e.g. without that additional subdirectory  in the filesystem path .  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.195983.1543566344000.8429.1571185440333%40Atlassian.JIRA.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2019-10-15 Thread host...@post.cz (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Petr H edited a comment on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 - automatically installed JDK (when it worked):hudson.model.JDK/JDK8u152/bin/- manually downloaded and locally used binary archive (jdk-8u212-linux-x64.tar.gz in this example):hudson.model.JDK/JDK8/*jdk1.8.0_212*/bin/  Although I can set the *Subdirectory of extracted archive* to "jdk1.8.0_212" (for the above example) which sets the java home correctly, I'd like to get the same result as with the automatically installed JDK - e.g. without that additional subdirectory.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.195983.1543566344000.8423.1571185380197%40Atlassian.JIRA.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2019-10-15 Thread host...@post.cz (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Petr H commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 
 
automatically installed JDK (when it worked): hudson.model.JDK/JDK8u152/bin/ 
manually downloaded and locally used binary archive (jdk-8u212-linux-x64.tar.gz in this example): hudson.model.JDK/JDK8/jdk1.8.0_212/bin/ Although I can set the Subdirectory of extracted archive to "jdk1.8.0_212" (for the above example) which sets the java home correctly, I'd like to get the same result as with the automatically installed JDK - e.g. without that additional subdirectory. 
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.195983.1543566344000.8421.1571185260347%40Atlassian.JIRA.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2019-08-03 Thread bruno...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bruno Medeiros updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-54959  
 
 
  Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
Change By: 
 Bruno Medeiros  
 
 
Comment: 
 It seems that setting the "Subdirectory of extracted archive" of the JDK tool configuration is a valid workaround:!screenshot-1.png|width=485,height=177,thumbnail!  
 

  
 
 
 
 

 
 
 

 
 
 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.195983.1543566344000.7223.1564825200816%40Atlassian.JIRA.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2019-08-03 Thread bruno...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bruno Medeiros commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 It seems that setting the "Subdirectory of extracted archive" of the JDK tool configuration is a valid workaround:   
 

  
 
 
 
 

 
 
 

 
 
 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.195983.1543566344000.7218.1564825140160%40Atlassian.JIRA.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2019-08-03 Thread bruno...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bruno Medeiros updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-54959  
 
 
  Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
Change By: 
 Bruno Medeiros  
 
 
Attachment: 
 screenshot-1.png  
 

  
 
 
 
 

 
 
 

 
 
 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.195983.1543566344000.7213.1564825020409%40Atlassian.JIRA.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-05 Thread legall.ben...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Benoit Le Gall edited a comment on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 as it is a automatic installed jdk, it's on the java_home volume for the container. There is no specifics rights/permissions set as I have installed following the documentation.Here is what I have{code:bash}root@vps536376:~#  ls /var/lib/ docker /volumes/jenkins_home/_data/tools/hudson.model.JDK/Java_10/jdk-10.0.2/bin/appletviewer  jarjavacjcmd  jdeprscan  jimage  jlink  jps jstack  keytool  rmic schemagen   tnameserv  wsimportidlj  jarsigner  javadoc  jconsole  jdeps  jinfo   jmap   jrunscript  jstat   orbd rmid serialver   unpack200  xjcjaotc java   javapjdb   jhsdb  jjs jmod   jshell  jstatd  pack200  rmiregistry  servertool  wsgenroot@vps536376:~# docker  volume inspect jenkins_home[{"CreatedAt": "2018-12-05T15:41:37+01:00","Driver": "local","Labels": null,"Mountpoint": "/var/lib/docker/volumes/jenkins_home/_data","Name": "jenkins_home","Options": null,"Scope": "local"}]  root@vps536376:~# ls -l /var/lib/docker/volumes/jenkins_home/_data/tools/hudson.model.JDK/Java_10/jdk-10.0.2/bin/total 592-rwxr-xr-x 1 root ubuntu   9920 Jun 28 02:54 appletviewer-rwxr-xr-x 1 root ubuntu   9864 Jun 28 02:54 idlj-rwxr-xr-x 1 root ubuntu  2 Jun 28 02:54 jaotc-rwxr-xr-x 1 root ubuntu   9864 Jun 28 02:54 jar-rwxr-xr-x 1 root ubuntu   9872 Jun 28 02:54 jarsigner-rwxr-xr-x 1 root ubuntu   9056 Jun 28 02:54 java...{code}  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-05 Thread legall.ben...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Benoit Le Gall edited a comment on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 as it is a automatic installed jdk, it's on the java_home volume for the container. There is no specifics rights/permissions set as I have installed following the documentation.Here is what I have{code:bash}root@vps536376:~# ls /var/lib/docker/volumes/jenkins_home/_data/tools/hudson.model.JDK/Java_10/jdk-10.0.2/bin/appletviewer  jarjavacjcmd  jdeprscan  jimage  jlink  jps jstack  keytool  rmic schemagen   tnameserv  wsimportidlj  jarsigner  javadoc  jconsole  jdeps  jinfo   jmap   jrunscript  jstat   orbd rmid serialver   unpack200  xjcjaotc java   javapjdb   jhsdb  jjs jmod   jshell  jstatd  pack200  rmiregistry  servertool  wsgenroot@vps536376:~# docker volume inspect jenkins_home[{"CreatedAt": "2018-12-05T15:41:37+01:00","Driver": "local","Labels": null,"Mountpoint": "/var/lib/docker/volumes/jenkins_home/_data","Name": "jenkins_home","Options": null,"Scope": "local"}] root@vps536376:~#  root@vps536376:~# ls -l /var/lib/docker/volumes/jenkins_home/_data/tools/hudson.model.JDK/Java_10/jdk-10.0.2/bin/total 592-rwxr-xr-x 1 root ubuntu   9920 Jun 28 02:54 appletviewer-rwxr-xr-x 1 root ubuntu   9864 Jun 28 02:54 idlj-rwxr-xr-x 1 root ubuntu  2 Jun 28 02:54 jaotc-rwxr-xr-x 1 root ubuntu   9864 Jun 28 02:54 jar-rwxr-xr-x 1 root ubuntu   9872 Jun 28 02:54 jarsigner-rwxr-xr-x 1 root ubuntu   9056 Jun 28 02:54 java...{code}  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-05 Thread legall.ben...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Benoit Le Gall edited a comment on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 as it is a automatic installed jdk, it's on the java_home volume for the container. There is no specifics rights/permissions set as I have installed following the documentation.Here is what I have{code:bash}root@vps536376:~# ls /var/lib/docker/volumes/jenkins_home/_data/tools/hudson.model.JDK/Java_10/jdk-10.0.2/bin/appletviewer  jarjavacjcmd  jdeprscan  jimage  jlink  jps jstack  keytool  rmic schemagen   tnameserv  wsimportidlj  jarsigner  javadoc  jconsole  jdeps  jinfo   jmap   jrunscript  jstat   orbd rmid serialver   unpack200  xjcjaotc java   javapjdb   jhsdb  jjs jmod   jshell  jstatd  pack200  rmiregistry  servertool  wsgenroot@vps536376:~# docker volume inspect jenkins_home[{"CreatedAt": "2018-12-05T15:41:37+01:00","Driver": "local","Labels": null,"Mountpoint": "/var/lib/docker/volumes/jenkins_home/_data","Name": "jenkins_home","Options": null,"Scope": "local"}]root@vps536376:~#  root@vps536376:~# ls -l /var/lib/docker/volumes/jenkins_home/_data/tools/hudson.model.JDK/Java_10/jdk-10.0.2/bin/total 592-rwxr-xr-x 1 root ubuntu   9920 Jun 28 02:54 appletviewer-rwxr-xr-x 1 root ubuntu   9864 Jun 28 02:54 idlj-rwxr-xr-x 1 root ubuntu  2 Jun 28 02:54 jaotc-rwxr-xr-x 1 root ubuntu   9864 Jun 28 02:54 jar-rwxr-xr-x 1 root ubuntu   9872 Jun 28 02:54 jarsigner-rwxr-xr-x 1 root ubuntu   9056 Jun 28 02:54 java... {code}  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-05 Thread legall.ben...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Benoit Le Gall commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 as it is a automatic installed jdk, it's on the java_home volume for the container. There is no specifics rights/permissions set as I have installed following the documentation. Here is what I have 

 

root@vps536376:~# ls /var/lib/docker/volumes/jenkins_home/_data/tools/hudson.model.JDK/Java_10/jdk-10.0.2/bin/
appletviewer  jarjavacjcmd  jdeprscan  jimage  jlink  jps jstack  keytool  rmic schemagen   tnameserv  wsimport
idlj  jarsigner  javadoc  jconsole  jdeps  jinfo   jmap   jrunscript  jstat   orbd rmid serialver   unpack200  xjc
jaotc java   javapjdb   jhsdb  jjs jmod   jshell  jstatd  pack200  rmiregistry  servertool  wsgen
root@vps536376:~# docker volume inspect jenkins_home
[
{
"CreatedAt": "2018-12-05T15:41:37+01:00",
"Driver": "local",
"Labels": null,
"Mountpoint": "/var/lib/docker/volumes/jenkins_home/_data",
"Name": "jenkins_home",
"Options": null,
"Scope": "local"
}
]
root@vps536376:~# 

 

  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-05 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 Not executable? Or on a volume marked noexec?  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-05 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 Reducing priority due to workaround/alternative present.  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-05 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-54959  
 
 
  Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
Change By: 
 Daniel Beck  
 
 
Priority: 
 Major Minor  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-05 Thread legall.ben...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Benoit Le Gall commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 ha ! I've finally understood !  I first understood that it add a subdirectory to the final path... Yes, it's was it does, so now the JAVA_HOME is correctly set. But still, I had to open the archive to know what the inner directory was, not very friendly use ... so now, I just have the following error : 
 
/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Default/bin/mvn: exec: line 199: /var/jenkins_home/tools/hudson.model.JDK/Java_10/jdk-10.0.2/bin/java: not found
 event if the java file is present I will update the SO question with all this. Thanks a lot  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-05 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 That's exactly what this does, see the help.  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-05 Thread legall.ben...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Benoit Le Gall commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 
 
Optional subdirectory of the downloaded and unpacked archive to use as the tool's home directory
 isn't the opposite that we want ? no subdirectory ?  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-05 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 There's an additional option to extract a subdir. https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/tools/ZipExtractionInstaller/help-subdir.html  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-05 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 Weird, I thought the unzip installers removed a top level directory if there's only one.  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-04 Thread dnusb...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Devin Nusbaum commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 Yes, this could be useful in some cases, but I do not anticipate having any time to work on this plugin, although if you open a PR to add the feature, I will be happy to review it.   
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-03 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 Historical reasons. I believe that part of the code was originally written for Sun JVMs, maybe before OpenJDK was formalized and established  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-03 Thread legall.ben...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Benoit Le Gall commented on  JENKINS-54959  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
 Question: why isn't a default installer for open-jdk ? Cause there is a plugin, but no more upgraded (openJDK-native-plugin) :/  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-03 Thread legall.ben...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Benoit Le Gall updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-54959  
 
 
  Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
Change By: 
 Benoit Le Gall  
 

  
 
 
 
 

 
 *Jenkins installation*Installed from docker image [jenkinsci/docker - README.me|https://github.com/jenkinsci/docker/blob/master/README.md]*Plugins*[Pipeline Maven Plugin|https://wiki.jenkins.io/display/JENKINS/Pipeline+Maven+Plugin]*Configuration - configureTools* # JDK : ** name : Java 10 ** install automatically : true (extract  * .zip/ * .tar.gz) ** url : [https://download.java.net/java/GA/jdk10/10.0.2/19aef61b38124481863b1413dce1855f/13/openjdk-10.0.2_linux-x64_bin.tar.gz] # Maven : ** name : Default ** install automatically : true (Install from Apache) ** version : 3.6.0*Jenkinsfile* {code:groovy}pipeline {agent anystages {stage('Clean') {steps {withMaven(maven: 'Default',jdk: 'Java 10') {sh "echo JAVA_HOME=$JAVA_HOME"sh "mvn clean"}}}}}{code}*Error*{noformat}[Pipeline] // stage[Pipeline] withEnv[Pipeline] {[Pipeline] stage[Pipeline]\{ (Clean)[Pipeline] withMaven[withMaven] Options: [][withMaven] Available options:[withMaven] using JDK installation Java 10[withMaven] using Maven installation 'Default' [Pipeline] {[Pipeline] sh+ echo 'JAVA_HOME=/var/jenkins_home/tools/hudson.model.JDK/Java_10'JAVA_HOME=/var/jenkins_home/tools/hudson.model.JDK/Java_10[Pipeline] sh+ mvn clean -B -V- withMaven Wrapper script -The JAVA_HOME environment variable is not defined correctlyThis environment variable is needed to run this programNB: JAVA_HOME should point to a JDK not a JRE[Pipeline] }{noformat}*Actual* _JAVA_HOME=/var/jenkins_home/tools/hudson.model.JDK/Java_10_*Expected* _JAVA_HOME=/var/jenkins_home/tools/hudson.model.JDK/Java_10/*jdk-10.0.2*_Looks like the automatic set JEVA_HOME is missing the last part of the path  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 


[JIRA] (JENKINS-54959) Offer a new Unarchive installer which takes Java archive structure into account

2018-12-02 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-54959  
 
 
  Offer a new Unarchive installer which takes Java archive structure into account   
 

  
 
 
 
 

 
Change By: 
 Oleg Nenashev  
 
 
Summary: 
 Automatically installed java set incorrect JAVA_HOME Offer a new Unarchive installer which takes Java archive structure into account  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.