Re: Parameter parameter on the basis of other parameter

2019-04-13 Thread Ioannis Moutsatsos
Active Choices should be able to do that. It's all a matter of how you setup your logic in the Groovy script that generates the parameters If you can't get this to work please, provide more details of the issue and perhaps file an issue on the Jenkins JIRA. On Monday, March 18, 2019 at 10:02:17

Re: Trying to use a Reactive Reference Parameter, it's not quite working

2019-04-13 Thread Ioannis Moutsatsos
An AC Reactive Reference formatted as HTML should return valid HTML and an element with name="value" Only then the value of the element will be passed to the build. Please, read '*Passing Reactive Reference Values to the build* ' in the AC wiki page: https://plugins.jenkins.io/uno-choice Hope

Re: Dynamic Parameter question

2014-05-09 Thread Ioannis Moutsatsos
I think that all the capability that you need is available to theuno-choice plugindeveloped by the BioUno project. This plugin generates *dynamic choice selections* from a groovy script. You can use *one or more parameters* from

Jenkins user shows with 'Red Stop Sign' in security configuration

2014-05-16 Thread Ioannis Moutsatsos
We are using matrix security configuration (Jenkins v 1.532 LTS on Windows) Recently a user 'self-signed' for an account, and when I tried to setup his security configuration he is the only one in the user list appearing with a red stop sign before his user name. What does that mean? Is there

Re: Jenkins user shows with 'Red Stop Sign' in security configuration

2014-05-19 Thread Ioannis Moutsatsos
name in lowercase so may not be > aware of how their username is being reported from AD (unless they go to > the JENKINS_URL/whoAmI page). > > On Saturday, 17 May 2014, Ioannis Moutsatsos > > > wrote: > >> We are using matrix security configuration (Jenkins v 1.532 LTS

Re: Dynamic Parameter question

2014-05-19 Thread Ioannis Moutsatsos
Hi Alok I don't know why Bruno's (one of the Biouno's founders) reply did not show here but: Hi there! Chiming in. > I've updated the uno-choice Wiki, please take a look > https://github.com/biouno/uno-choice-plugin/wiki > Ioannis, I believe you have the rights to edit the Wiki too, so feel fr

Re: Using a custom workspace located on a windows share drive on a windows slave

2016-02-16 Thread Ioannis Moutsatsos
Good info. Thanks for sharing! Were you logged into RDP using the same Jenkins user account that runs the service? Best regards Ioannis On Monday, February 15, 2016 at 7:28:55 AM UTC-5, Gary Bell wrote: > > Hi Everyone, posting this in case it helps someone else in the same > situation as I was.

Re: Build With Parameters link and the flow after that......

2016-02-16 Thread Ioannis Moutsatsos
If I understand this correctly, you want to have one parameter widget updated based on input from the other before it. We call this cascading parameters Take a look at the Jenkins Active Choices[1] plugin. It has many options for supporting this use case [1] https://wiki.jenkins-ci.org/display/

Re: Json and dynamic variables

2016-02-18 Thread Ioannis Moutsatsos
I have been experimenting with the groovy JsonBuilder[1] and I find it quite capable in generating dynamic JSON. I'm not aware of any Jenkins plugin for what you are looking for though. [1] http://docs.groovy-lang.org/latest/html/gapi/groovy/json/JsonBuilder.html Cheers Ioannis On Thursday, Feb

Re: Json and dynamic variables

2016-02-18 Thread Ioannis Moutsatsos
I see. In that case the 'groovy' way to do this is the SimpleTemplateEngine [1] http://docs.groovy-lang.org/latest/html/api/groovy/text/SimpleTemplateEngine.html Hope it helps! Ioannis On Thursday, February 18, 2016 at 9:47:11 AM UTC-5, Niksan wrote: > > Thanks for that, I'm only interested in

Re: How to pass build.xml from one Jenkins to another Jenkins

2016-02-18 Thread Ioannis Moutsatsos
Can you please clarify. Do you want to pass information from one Jenkins job to another or one Jenkins instance to another Jenkins instance? On Thursday, February 18, 2016 at 1:40:21 AM UTC-5, Jenkins wrote: > > Hello, > > I am looking for a solution how to to pass the build.xml file from one >

Re: Rebuild bug with jenkins dynamic choice parameter

2016-02-22 Thread Ioannis Moutsatsos
Have you tried using the Active Choices[1] plugin instead? It generates dynamic parameters from goorvy scriptlets (or scripts and much more) and re-build works fine for me. [1] https://wiki.jenkins-ci.org/display/JENKINS/Active+Choices+Plugin Hope it helps! Ioannis On Monday, February 22, 2016

Removing build associated files on Linux from Windows Jenkins

2016-03-14 Thread Ioannis Moutsatsos
I have a job that uploads user data on a Linux server where it gets processed (ssh remote execution build step). Results (artifacts) are subsequently downloaded and archived on the windows Jenkins server. How can I delete the user data on the Linux server when their associated Jenkins build is

Re: Capturing Data From a Script File and Setting Environment Variables

2016-03-14 Thread Ioannis Moutsatsos
I would start with the https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin if your perl scripts write a simple key-value properties file, this plugin can read it to create environment variables that you can use in subsequent tasks or builds. hope this helps Ioannis On Wednesday, March

Re: Removing build associated files on Linux from Windows Jenkins

2016-03-19 Thread Ioannis Moutsatsos
e go? > > Cheers > Le 14 mars 2016 6:09 PM, "Ioannis Moutsatsos" > a écrit : > >> I have a job that uploads user data on a Linux server where it gets >> processed (ssh remote execution build step). Results (artifacts) are >> subsequently downloaded and ar

How do I delete job chains

2016-04-20 Thread Ioannis Moutsatsos
I have a pipeline of jobs each triggering downstream projects using the http://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin Lets say A->B->C I would like to remove a job A build and automatically cascade the delete to the corresponding B and C builds Is this possible. Any kno

Re: Advanced help for Active Choice plugin

2016-06-17 Thread Ioannis Moutsatsos
You should be able to pass multiple build parameters into an AC Reactive parameter. Just include a comma separated list of the parameter names in the referenced parameters text box. On Tuesday, January 5, 2016 at 1:02:09 PM UTC-5, Matthew Hamilton wrote: > > I have recently upgraded our Jenkins

Pushing freestyle build artifacts to Bitbucket cloud instance

2017-12-06 Thread Ioannis Moutsatsos
Greetings; I need to push build artifacts to a cloud instance of Atlassian Bitbucket. I've considered the Pubish-to-Bitbucket Jenkins plugin but it does not seem to handle proxies gracefully and fails to connect to the cloud

Re: Dynamic Parameter to Build without Active Choices Plugin

2018-01-04 Thread Ioannis Moutsatsos
Note that Active Choices v2.1 is again available from the Jenkins update center. It no longer has a mandatory dependency on Scriptler. As a result it is secure and functional. Just read the most recent release notes for the Jenkins version requirements On Wednesday, May 17, 2017 at 1:51:36 PM U

Kills me that BUILD_ID=dontKillMe

2018-01-17 Thread Ioannis Moutsatsos
I have recently upgraded to Jenkins v2.100 from v2.93 and all the security plugins that came along for the ride. The *upgrade broke all the jobs* where in Groovy scripts and properties I was using the BUILD_ID environment variable to create unique names for folders and files. The BUILD_ID (whi

Re: Kills me that BUILD_ID=dontKillMe

2018-01-19 Thread Ioannis Moutsatsos
r a build. This behavior is not present in EnvInject Plugin v2.13 So, I have now settled to v2.1.3 as the latest version of the plugin to install. Best regards Ioannis On Wednesday, January 17, 2018 at 2:07:58 PM UTC-5, Simon Richter wrote: > > Hi, > > Am 17.01.2018 um 17:2

Re: Using extended choice parameter in Jenkins

2017-03-09 Thread Ioannis Moutsatsos
Take a look at the Active Choices plugin instead. A simple Groovy script can be used to read the text file and return a list of the choices. On Thursday, March 9, 2017 at 6:31:36 AM UTC-5, VikS wrote: > > -3 down vote favorite

Re: Groovy generator bug with parameterized properties

2017-03-09 Thread Ioannis Moutsatsos
Hmm.. The Active choices plugin has not been tested in this context and neither currently supports Scripted or Declarative pipelines. I would suggest that you add an issue to the Active Choices JIRA issues for future consideration. Thank you! On

Re: Using extended choice parameter in Jenkins

2017-03-10 Thread Ioannis Moutsatsos
text* which did > not work... > > > On Friday, March 10, 2017 at 11:04:10 AM UTC+8, Ioannis Moutsatsos wrote: > > Take a look at the Active Choices plugin > <https://wiki.jenkins-ci.org/display/JENKINS/Active+Choices+Plugin> > instead. A simple Groovy script can be used

Re: Is there a jenkins parameter plugin that can show parameter options base on current login user?

2017-04-03 Thread Ioannis Moutsatsos
You could use the Active Choices plugin and have your Groovy script determine the options based on the current user. It should be pretty easy I think. On Friday, March 31, 2017 at 11:36:18 AM UTC-4, kmte...@gmail.com wrote: > >

Re: Active Choices plugin - not found referenced parameter

2017-04-18 Thread Ioannis Moutsatsos
The error message is unfortunately irrelevant here. It is part of the logger info that fires at some point before the parameter is defined. The real issue is that you are expected to return a list or map from the groovy script of an Actice Choice Reactive parameter, and not text as you are curre

Re: How to template HTML to create custom report?

2017-04-18 Thread Ioannis Moutsatsos
The simplest option is to use a Groovy build step with a few lines of code to parametrize your html template with the yaml file. See here the options that Groovy offers for template engines On Wednesday, April 12, 2017

Re: Backup "Managed Scripts"

2017-11-16 Thread Ioannis Moutsatsos
In most recent versions of the plugin v2.16+ the scripts seem to be stored in JENKINS_HOME\org.jenkinsci.plugins.configfiles.*GlobalConfigFiles.xml* I agree that the XML file storage seems unfortunate and probably not sustainable for a variety of reasons. BioUno has published the R statistical l

PowerShell (plugin) and Windows Background Intelligent Transfer Service (BITS) Cmdlets -Anyone successful?

2017-11-16 Thread Ioannis Moutsatsos
One of the most powerful features of PowerShell is the ability to handle *big *data* copies/transfers/downloads* using the Background Intelligent Transfer Service (BITS) Cmdlets >From the PoweShell console this is extremely fast compare

Re: Save the installed plugins as a text

2017-11-17 Thread Ioannis Moutsatsos
Here is the Groovy script that I use to create an install script (using Jenkins CLI) of the plugins on the server . You can also modify it if you just want to get the list of your plugins (and their versions) I have found this useful for cloning the plugins of one server to another. Hope it he

Updating scriptler scripts from SVN before a build. Can a build step do it?

2016-08-03 Thread Ioannis Moutsatsos
Greetings to all; I use several scriptler scripts as build steps. I manage scriptler/scripts using SVN. I usually test new scriptler scripts on a development Jenkins server, commit changes to SVN and then go back to each production Jenkins server and update the scripts from SVN. This is get

Re: setting build name while job is running using build-name-setter plugin

2016-08-04 Thread Ioannis Moutsatsos
I would assign the user ID to a build parameter. Then it would be available before the build starts On Tuesday, August 2, 2016 at 2:09:16 AM UTC-4, sivarajesh jarugula wrote: > > I have a jenkins page with multiple users running jobs simultaneously > the jenkins page can be logged in using LDAP

Re: Query regarding rebuild & its parameters

2016-08-04 Thread Ioannis Moutsatsos
You should check out the https://wiki.jenkins-ci.org/display/JENKINS/Rebuild+Plugin It allows you to change the previous parameters when you are setting up a job to be rebuild On Monday, August 1, 2016 at 6:37:12 AM UTC-4, Prasad Gutti wrote: > > Hi All, > > I am using Jenkins through LDAP login

Re: setting build name while job is running using build-name-setter plugin

2016-08-05 Thread Ioannis Moutsatsos
Have a look here: https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build This should get you started On Tuesday, August 2, 2016 at 2:09:16 AM UTC-4, sivarajesh jarugula wrote: > > I have a jenkins page with multiple users running jobs simultaneously > the jenkins page can be logged in u

Permission in Scriptlet scripts-Can they be scripted?

2016-08-22 Thread Ioannis Moutsatsos
Placing scriptler scripts (with the appropriate META header) in the JENKINS_HOME/scriptler/scripts folder allows their autodiscovery and loading once the server is re-started. However, these scripts are still not usable for builds until the permission is set to 'Allow execution by user with RunS

Jenkins-LSCI (Life Sciences Continuous Integration) name trademark and usage question

2016-09-01 Thread Ioannis Moutsatsos
Greetings to all; We have developed a number of scientific applications based on Jenkins-CI. Essentially we are able to deliver scientific workflows and data pipelining using the Jenkin-CI framework and selected ecosystem plugins. Much of the philosophy and strategy has been presented as part o

Re: Setting a new property from Groovy Script to pass to the next job

2016-09-01 Thread Ioannis Moutsatsos
I would write the parameters out to a properties file and have an EnvInject plugin step re-inject them as build properties before your Step 2 script uses them. On Thursday, September 1, 2016 at 6:29:22 PM UTC-4, Mathew Joseph wrote: >

Re: Jenkins-LSCI (Life Sciences Continuous Integration) name trademark and usage question

2016-09-02 Thread Ioannis Moutsatsos
s. > > > On Thu, Sep 1, 2016 at 12:25 PM, Ioannis Moutsatsos > wrote: > >> Greetings to all; >> >> We have developed a number of scientific applications based on >> Jenkins-CI. Essentially we are able to deliver scientific workflows and >> data pip

[NEW] The Jenkins Job Configuration Analyzer

2016-11-21 Thread Ioannis Moutsatsos
Greetings to all; Check out the new git repository containing a Jenkins utility project that allows you to create a deep report of project configuration. https://github.com/imoutsatsos/Jenkins-JobConfigurationAnalyzer

Re: Getting build scripts into workspace. Which is best?

2016-11-21 Thread Ioannis Moutsatsos
If a script is shared among multiple projects and can be used as a build step I usually manage it through the Scriptler (https://wiki.jenkins-ci.org/display/JENKINS/Scriptler+Plugin) library. If a script is unique to a project I place it in a 'buildScripts' sub-folder of the specific Jenkins pr

Re: Start up Jenkins from another Windows User Account

2016-11-22 Thread Ioannis Moutsatsos
Indeed. JENKINS_HOME is the key. If Jenkins does not find this env variable on startup, it will create a new home in the startup user account. On Monday, November 21, 2016 at 9:31:08 AM UTC-5, Andreas Hetz wrote: > > Dear Jerome, > > thank you so much. > > Finally i was able to solve the problem

Re: $JENKINS_HOME vs. $WORKSPACE on a slave (agent) node vs master node

2017-02-02 Thread Ioannis Moutsatsos
I believe that you can define a JENKINS_HOME environment variable on the slave node. Jobs running there will use that instead of the JAVA_HOME of the master. On Wednesday, February 1, 2017 at 4:48:52 PM UTC-5, Bruce Epstein wrote: > > Hi Everyone - > > I have one master and one slave node. > > I

Re: Entering Commands into a program

2017-02-22 Thread Ioannis Moutsatsos
Why not capture your Java command line parameters using a Jenkins freestyle build and a form for the required parameters? These parameters are available in the build and can be passed to your java program. On Monday, February 13, 2017 at 3:02:14 AM UTC-5, Akiva Lane wrote: > > We have written a

Re: Disabling/enabling parameters basing on value from the other parameter

2015-02-12 Thread Ioannis Moutsatsos
W, I have been able to generate the required behavior using the 'uno-choice' plugin Please, download this plugin from the BioUno Developers forum, since we have not yet released it to Jenkins You can get the latest version in this

Re: Not possible to upgrade jenkins from 1.565.3 LTS to later from GUI

2015-02-21 Thread Ioannis Moutsatsos
Run into the same problem. Eventually, I downloaded and replaced the jenkins.war file with a newer version from 'latest and greatest' (or from LTS in your case) It's easy, but I agree with you that it is something that should be doable from the UI. Hope it helps! Ioannis On Friday, February 20,

Jenkins support for uploading multiple files

2015-02-21 Thread Ioannis Moutsatsos
Greetings to all; By having a 'file type' parameter in the build submission form you can choose a single file to be uploaded to Jenkins so that it can participate in the build. I have a requirement to upload multiple (large) image files coming from an automated microscope, so that they can be

Re: Remote Host Build using Jenkins

2015-02-21 Thread Ioannis Moutsatsos
This question is somewhat unclear. Do you mean how to perform a build on a remote Jenkins slave node? On Wednesday, February 18, 2015 at 12:14:39 AM UTC-5, Prasanth .K wrote: > > Is it possible to build the remote host file using jenkins? If possible > means can anyone suggest me,how to procee

Re: Modify custom properties file

2015-02-21 Thread Ioannis Moutsatsos
If this file is in standard key-value format then it's a standard Java properties file. You can write a small groovy script that you can execute from the Jenkins script console to read, modify it and re-save it. I have a groovy scriptlet that reads a particular property key from a properties fi

Re: Jenkins support for uploading multiple files

2015-02-21 Thread Ioannis Moutsatsos
uld work, as should archiving them and > uploading the zip/tar/... file. > > On 21.02.2015, at 12:54, Ioannis Moutsatsos wrote: > > > Greetings to all; > > > > By having a 'file type' parameter in the build submission form you can > choose a single file t

Re: Jenkins support for uploading multiple files

2015-02-23 Thread Ioannis Moutsatsos
hese cloud storage platforms and provide authorization via Jenkins to access it for the duration of the build? Thanks again Ioannis On Saturday, February 21, 2015 at 3:53:24 PM UTC-5, LesMikesell wrote: > > On Sat, Feb 21, 2015 at 8:50 AM, Ioannis Moutsatsos > > wrote: > >

Re: Wiki Offline?

2015-05-12 Thread Ioannis Moutsatsos
or from Boston, USA... On Tuesday, May 12, 2015 at 5:52:25 AM UTC-4, Steven Murphy wrote: > > Hello, > > I am having issue loading the Jenkins Wiki > > https://wiki.jenkins-ci.org/ > > Is anyone else experiencing issues? > > Thanks, > Steve > -- You received this message because you are subscrib

Re: Can we store output of some script in some variable in jenkins ?

2015-05-12 Thread Ioannis Moutsatsos
You may want to check out the Active Choices plugin for script generated dynamic build parameters. Active Choices though uses Groovy Active Choices parameters are used as build parameters in a variety of ways. On Thursday, May

Re: jenkins with groovy postbuild .Not able to execute anything in groovy script field

2015-06-11 Thread Ioannis Moutsatsos
Check out the Jenkins log since you are writing via a logger. You can find the log recorders under http://JenkinsServer:8080/log On Friday, June 5, 2015 at 2:21:27 AM UTC-4, apoorva s wrote: > > > >

Re: How to plot graph using Jenkins Plugins with having my own X and Y axis values and labels?

2015-06-11 Thread Ioannis Moutsatsos
No, the Plot plugin is rather inflexible. I use R and the R-plugin to plot my data anyway I want. Then it is very easy to display the generated graphics from R either in a custom report (using either the HTML Publishe

Re: Parametrized build with conditional parameters

2015-08-05 Thread Ioannis Moutsatsos
Yes, active-choices v1.2 will do that for you. You need to configure an AC Reactive Reference that will generate conditional HTML to display the required controls. This Reacive Reference will need to reference your 'classic/adv

How do I get a custom Build Record Root Directory during a build?

2015-08-05 Thread Ioannis Moutsatsos
Due to space limitation I have assigned a *custom **Build Record Root Directory* for my Jenkins server. Now I need to create a data.path property assigned to the value of the archive folder of a particular JOB_NAME. Before I assigned the custom Build Record Root Directory, I used to construct

Re: How do I get a custom Build Record Root Directory during a build?

2015-08-06 Thread Ioannis Moutsatsos
e the same variables to get to the new path -- you'll just have to adapt > it to what you configured for Build Record Root Directory. > > On 05.08.2015, at 22:52, Ioannis Moutsatsos > wrote: > > > Due to space limitation I have assigned a custom Build Record Root > Dir

Re: Proposal: revisiting JUC in 2016

2015-10-21 Thread Ioannis Moutsatsos
Perhaps a global event on the East Coast (NY, Boston?) would be more accessible to both US and European audiences. Travel to and from these hubs is usually less expensive especially flying from/to Europe. Best regards Ioannis On Monday, October 19, 2015 at 10:51:43 PM UTC-4, Kohsuke Kawaguchi w

Re: Global environmental variables

2015-10-21 Thread Ioannis Moutsatsos
Have you considered the metadata plugin ? You can define key value metadata and can expose them as environment variables.These definitions are done at the project configuration level and will apply to all the builds of the project. J

Re: parallel aggregation of downstream artifacts

2015-10-21 Thread Ioannis Moutsatsos
That's an interesting use case. Can you add a last step to your tests a copy operation back to the master node workspace? This way each slave is responsible for copying it's test results back to the master node. In essence you are extending your parallel jobs one step further. Do share what be

Re: Execute system Groovy script plugin (Build step)

2015-10-21 Thread Ioannis Moutsatsos
You can set the classpath for the groovy under advanced options On Wednesday, October 14, 2015 at 7:51:45 AM UTC-4, Alex Brodov wrote: > > Hi i'm trying to execute a groovy script inside the system Groovy script, > i'm trying to import "groovyx.net.http.HTTPBuilder", unfortunately i'm > getting