[JIRA] (JENKINS-46394) active choices reactive parameter cant load shared library

2020-02-13 Thread brunodepau...@yahoo.com.br (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bruno P. Kinoshita commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 I agree, and really would like to implement it. But first would need to find either some good guidelines to avoid security issues later, or have a good amount of time to investigate possible solutions. The risk with this feature is that the plugin would be blacklisted (again) due to security issues in the implementation.  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-46394) active choices reactive parameter cant load shared library

2020-02-13 Thread brunodepau...@yahoo.com.br (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bruno P. Kinoshita commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 If anyone knows of a plugin doing something similar, that'd be helpful. Pull requests welcome as well   
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-46394) active choices reactive parameter cant load shared library

2020-02-13 Thread paul.theve...@atos.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Thevenot commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 Same case here. This would be a nice feature.   
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-46394) active choices reactive parameter cant load shared library

2020-02-11 Thread ishagunj...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 shagun jian commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
  this could have been a great feature.   
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-46394) active choices reactive parameter cant load shared library

2020-02-10 Thread burtse...@mail.ru (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Yuriy Burtsev commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 shagun jian, no, this is not happening.   
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-46394) active choices reactive parameter cant load shared library

2020-02-10 Thread ishagunj...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 shagun jian commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 Is this feature released? I have the same case.  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-46394) active choices reactive parameter cant load shared library

2019-10-22 Thread danielmachadopere...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Pereira commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 We have the same situation. We would love to use Active Choice directly with our pipeline. We got it working for simple stuff using: 

properties([parameters([[$class: 'org.biouno.unochoice.ChoiceParameter', name: 'Ambiente', choiceType: 'PT_RADIO', description: 'Escolha para qual ambiente o artefato devera ser implantado.', filterLength: 1, filterable: false, randomName: 'choice-parameter-47910233643731',script: [$class: 'org.biouno.unochoice.model.GroovyScript',script:[$class:'SecureGroovyScript',script:'''return ["desenvolvimento:selected", "alfa", "beta", "producao"]''']]],[$class: 'org.biouno.unochoice.CascadeChoiceParameter', name: 'Servidores', choiceType: 'PT_CHECKBOX', description: 'Escolha o pool ou servidores alvo.', filterLength: 1, filterable: false, randomName: 'choice-parameter-51976913619136',referencedParameters: 'Ambiente',script: [$class: 'org.biouno.unochoice.model.GroovyScript',script:[$class:'SecureGroovyScript',script:'''if ("desenvolvimento".equals(Ambiente)) { return ["POOL-DESENV","D001", "D002", "D003", "D004"] } else if ("alfa".equals(Ambiente)) { return ["alfa:selected"] } else if ("beta".equals(Ambiente)) { return ["beta:selected"] } else if ("producao".equals(Ambiente)) { return ["producao:selected"] } else { return [] }'''],fallbackScript:[$class: 'SecureGroovyScript',script: '''return["Erro na carga de servidores"]''']]]
   Working groovy as a string in the pipeline is a pain. Having to authorize this script every time you change the groovy code. If you have shared library support you don't have to ever change these scripts because de shared lib will be the one changing.   And then all our code will be groovy from git. Much easier to maintain. Is there a way to try an Active Choice with this feature? Or a timeline for this feature if ever.    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
  

[JIRA] (JENKINS-46394) active choices reactive parameter cant load shared library

2019-08-14 Thread mi...@mikey.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 michael pechner commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 Very interested in accessing a  json file in the resources directory as defined from this facility: https://jenkins.io/doc/book/pipeline/shared-libraries/ My use case is to read a json file and present part of the data in a active choice parameter.  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-46394) active choices reactive parameter cant load shared library

2019-01-16 Thread rob.grad...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Robert Grądzki commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 I can help with the resting.  
 

  
 
 
 
 

 
 
 

 
 
 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-46394) active choices reactive parameter cant load shared library

2019-01-16 Thread rob.grad...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Robert Grądzki edited a comment on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 I can help with the  resting  testing .  
 

  
 
 
 
 

 
 
 

 
 
 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-46394) active choices reactive parameter cant load shared library

2019-01-16 Thread brunodepau...@yahoo.com.br (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bruno P. Kinoshita commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 Looks like this is something useful for users. Next development cycle will start looking into ways other plugins are using to support that. I really want to avoid the plugin being blacklisted again due to security issues/CVE's. So my plain is 1. learn how other plugins are working 2. create a branch with the solution 3. upload here a .hpi file with the proposed solution, and also try to release to the experimental update site (not sure if that still exists) 4. release only, and really only, if there's enough testing from users that also took into consideration possible attack vectors created by this feature (i.e. giving some thought to what issues this feature could cause... do they have a security permission model that could allow users to use dangerous libraries? did we implement in a way that the administrator him/herself could shoot his own foot and accidentally introduce a security problem in their jenkins/etc) And once we pass step 4, and we are confident this won't introduce a security bug, cut a release. Let me know if anyone has any other suggestions, or if interested in helping with the testing/development. Cheers Bruno  
 

  
 
 
 
 

 
 
 

 
 
 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-46394) active choices reactive parameter cant load shared library

2019-01-16 Thread rob.grad...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Robert Grądzki commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 The same case - I need this feature !!!  
 

  
 
 
 
 

 
 
 

 
 
 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-46394) active choices reactive parameter cant load shared library

2018-12-06 Thread mba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ashwin Pai commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 I too would vote in favour of this feature. It would be very useful to have a single shared groovy lib that can be used across.   
 

  
 
 
 
 

 
 
 

 
 
 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-46394) active choices reactive parameter cant load shared library

2018-08-24 Thread ingmar.ka...@iav.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ingmar Karge commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 I think the workaround is too inconvenient to use. I want to include my own library (which I already use in the jenkins pipeline) and not an external lib.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-46394) active choices reactive parameter cant load shared library

2018-08-15 Thread vvbogdano...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Viktor Bogdanov commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 I would prefer to use scripts from Global Pipeline Libraries instead of @Grab or Scriptler  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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-46394) active choices reactive parameter cant load shared library

2018-03-09 Thread michele.van...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michele Vanini commented on  JENKINS-46394  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: active choices reactive parameter cant load shared library   
 

  
 
 
 
 

 
 I think that the possibility to centralize common function in a shared library it's more robust than insert code in each pipeline/job instead.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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.