Plugin for displaying IP address from witch a job was started

2013-09-24 Thread Maciej Jaros
Started by user anonymous (192.168.0.1234). Regards, Maciej Jaros. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com

Re: Setting Keep Forever

2013-09-26 Thread Maciej Jaros
Ginga, Dick (2013-09-25 14:57): Is there a build step available that can mark the current build as Keep Forever? I have a core build job and when it builds a Release build based on a parameter, I want that one to stay forever. You could make it a spearate job and run that separate job

Re: Questions about ideology of complex project: 3 OS compile + 3 OS package installers + upload to FTP

2013-10-02 Thread Maciej Jaros
Ruslan Zasukhin (2013-10-01 19:14): On 10/1/13 2:30 PM, Maciej Jaros mac...@mol.com.pl wrote: You didn't mention any dependcies between compliations so why do you want them sequentially? The procces will be faster if they are paralel. I did. 1) I have few times underline need of sequential

Re: Hundreds of modules

2013-10-04 Thread Maciej Jaros
Cain Kilgore (2013-10-04 10:56): You should be able to setup a cron job that will remove any old builds within 30 days manually, provided it's running on Linux. Or a Jenkins job on any system ;-) Cheers, Nux. -- You received this message because you are subscribed to the Google Groups

Re: /lastBuild in URL no longer working

2013-10-08 Thread Maciej Jaros
matthew.web...@diamond.ac.uk (2013-10-08 12:11): Until fairly recently, we were able to use a URL of the form: jenkins:8080/job/jobname/lastBuild/console Note the use of lastBuild to refer to the most recent build. This stopped working recently for some jobs (you get a 404 if you go to the

Re: Download native package for windows fails

2013-10-17 Thread Maciej Jaros
Eric Wood (2013-10-16 14:56): When I attempt to download the native package for windows, it is a .zip file that contains both a setup.exe and a .msi file. when I download and save and then open the zip ... if I attempt to run the .msi it fails with the message: Some data in your Zip file is

Re: regarding parametrized build trigger job

2013-10-24 Thread Maciej Jaros
alok kumar (2013-10-23 15:51): Hi All, I am working on creating a parametrized build trigger job in order to accept inputs from the users before the build is triggered. All is well, but, then I need an option where i can disable or enable a particular parameter based on another parameter.

Re: Howto keep forever a build and it's upstream builds

2013-10-25 Thread Maciej Jaros
Daniele Antonini (2013-10-25 10:31): Hi all, I have needed to process a build and it's upstream builds. I have ~ 70 subprojects, 4 master projects and 1 installer project. Installer project depends on 4 master projects and deploy them on validation / preproduction server for quality check.

Re: Backups

2013-10-30 Thread Maciej Jaros
matthew.web...@diamond.ac.uk (2013-10-30 10:17): I have a job that runs each night and does an rsync of $JENKINS_HOME, skipping the history. Specifically, I use this command: rsync --verbose --itemize-changes --archive --omit-dir-times --whole-file --stats

Re: Log file for script trigger plugin

2013-10-30 Thread Maciej Jaros
Srinivasa TN (2013-10-30 13:34): Hi All, I am using Jenkins 1.514 and scripttrigger plugin 0.31 on RHEL 6.3. I have written bash script in the plugin configuration to trigger the build whenever exit status is XXX. I have put set -x in the script. But where is the output going? Is there

Re: Plugin to execute unified code before job's build and actions

2013-11-07 Thread Maciej Jaros
Liang Peng (2013-11-07 10:55): I am afraid not, because we do not want all users to add this same piece of code for their jobs. You could use some SVN or GIT for inserting code and users would choose (using the Choice Parameter) from which branch/folder changes should be downloaded (download

Re: Jenkins screenshots usage policy

2013-11-08 Thread Maciej Jaros
tzieleniew...@gmail.com (2013-11-08 08:41): Hi, Well I am simply not sure. I should precise that I meant screenshots made by me not others. As an engineer not a lawyer I want to make sure that screenshots usage/presentation doesn't breach any Jenkins CI trademarks or content copyrights. I

Re: Is there a sample for LDAP plugin to connect to Active Directory?

2013-11-18 Thread Maciej Jaros
Daniel Beck (2013-11-18 13:36): On 18.11.2013, at 11:07, dennys dennys.hs...@gmail.com wrote: I think I can use LDAP plugin, but I cannot find a sample. For example, our AD doesn't allow anonymous query, but I'm not sure how to configure the manager DN. Is there a sample of AD for LDAP plugin?

Re: svn update for the single specified file.

2013-11-26 Thread Maciej Jaros
dhava...@gmail.com (2013-11-26 09:59): I am unable to find how to do svn update for the single specified file or is there any way around for it. Just use shell command for svn update. Technically it's not possible to do it for a single file, but you can update single folder (or checkout

Re: How to start/stop tomcat from Jenkins?

2013-11-28 Thread Maciej Jaros
Dung Nguyen Minh (2013-11-29 05:20): Hi, 1/ Can you tell me how to start/stop tomcat from Jenkins? /etc/init.d/tomcat stop - you might want to stop tomcat in pre-build step to avoid the need to wait for it before deploying. /etc/init.d/tomcat start 2/ How to upload a file to any tomcat

Re: Can Jenkins with SVN plugin use UNC as workspace

2013-12-10 Thread Maciej Jaros
Scott Stewart (2013-12-10 00:57): Id like a jenkins job to do a Subversion update to a UNC path on a windows server. this path is on a different domain and needs credentials. Can Jenkins update to this if so how. Using windows shares for SVN is not advised (see Subversion help or maybe

Re: Experiences with LTS vs Bleeding edge

2013-12-10 Thread Maciej Jaros
Probably the best approach is to use LTS, but wait a few weeks - just to check if there are any bugs discovered (you can check community ratings in changelog http://jenkins-ci.org/changelog-stable). Also backup before update, and after update check if most crucial functions are stable (do some

Re: A way to get rid of useless local workspace?

2014-01-15 Thread Maciej Jaros
kgiloo (2014-01-15 09:42): probably my description lacked precision: I should have titled A way to get rid of useless checkout of repository into my local workspace. I do not use any special slave configuration to trigger my builds on slaves, it is all driven by Ant. In other words,

Re: A way to get rid of useless local workspace?

2014-01-15 Thread Maciej Jaros
kgiloo (2014-01-15 09:42): probably my description lacked precision: I should have titled A way to get rid of useless checkout of repository into my local workspace. I do not use any special slave configuration to trigger my builds on slaves, it is all driven by Ant. In other words,

Re: LDAP Plugin update failure

2014-01-21 Thread Maciej Jaros
David Aldrich (2014-01-21 09:26): Hi I am trying to download LDAP Plugin v.1.8, but for the last two days I have got error: hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/ldap/1.8/ldap.hpi Does this indicate a problem with the updates

Re: How to browse the results (target) directory

2014-01-21 Thread Maciej Jaros
Moddy Ʈe'eni (2014-01-21 09:13): My testing job (Maven/TestNG) creates logs for failed tests. Is there a way to view these logs using jenkins' http server? Currently I have to login into the machine and/or copy files with FTP. My files are under the workspace directory, but I can write them

Re: How to set the the mandatory properties sources for Sonar in Jenkins

2014-01-28 Thread Maciej Jaros
As the error says: |Exception in thread main org.sonar.runner.RunnerException:*You must define mandatory properties: sources* at org.sonar.runner.Runner.checkMandatoryProperties(Runner.java:92) at org.sonar.runner.Runner.execute(Runner.java:75) at

Re: MD5/SHA1 of new release JARs?

2014-02-17 Thread Maciej Jaros
Yaniv Kaul (2014-02-16 08:31): Is it possible to publish hash of the new JARs, so at least I can somehow try and verify their integrity? Since it's not packaged in any signed format (RPM, MSI, etc.), it's the least we can do to verify the package authenticity. Execute hash creation in shell

Re: Conditional build steps for maven projects

2014-02-17 Thread Maciej Jaros
varun srivastava (2014-02-17 08:13): Hi, How can I run conditional steps with Maven projects ? For free style projects I am able to set up conditional steps but this seems not available with Maven projects. Conditional steps are available both after and before Maven is build is run (in

Re: Parametrized build with dynamically populating values

2014-02-19 Thread Maciej Jaros
alok kumar (2014-02-19 17:43): Hi All, Is there a way in which I can submit a parametrized build in which the options available on one of the sections depend upon what value was chosen in the previous or any other parameter? E.g. If the option chosen in the parameter form page is windows, it

Re: How to FInish Job Success even if it failed

2014-02-27 Thread Maciej Jaros
. MOL sp. z o.o. *Maciej Jaros* e-mail: mac...@mol.com.pl mailto:mac...@mol.com.pl WWW: www.mol.pl http://www.mol.pl/ tel: 58 669 80 90 fax: 58 669 80 91 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group

Re: deploying a directory structure in tomcat using Jenkins

2014-02-27 Thread Maciej Jaros
Kamal Ahmed (2014-02-27 08:16): Hi, Has anyone resolved this issue: The application frontend comprises of files , structure such as: workspace/DATASC-UI-DEV-STAGING/datasc-ui/dist $ tree . ├── DataSc.html ├── index.jsp ├── js │ └── DataSc.min.js ├── lib │ ├── ember.js │ ├── handlebars.js

Re: Recover disk space in Jenkins

2014-03-06 Thread Maciej Jaros
Les Mikesell (2014-03-06 00:39): On Wed, Mar 5, 2014 at 5:30 PM, Kerry Cox kerryj...@gmail.com wrote: One other question, rather than simply deleting each build individually (all 150+ builds), is there any way to globally delete all builds from a certain day back? Generally what you want to do

Re: PermGen failures

2014-03-26 Thread Maciej Jaros
David Aldrich (2014-03-25 17:12): Hi In the last few weeks I have been getting a lot of PermGen errors: FATAL: PermGen space I am running Jenkins 1.556 on Centos 5. How should I fix this problem please? If this is a compilation issue: In Build options - Advance - MAVEN_OPTS use

Filtering builds in a job (only show those started by current user)

2014-04-07 Thread Maciej Jaros
Hi. Is it possible to filter builds to a specific user? I want to rebuild some specific build (with specific parameters) and I want to find my last stable build. So filtering would be perfect. But maybe there is an option to show more columns in build history? Regards, Nux. -- You received

Re: Trigger a job Y after an artifact from job X has been released?

2014-04-14 Thread Maciej Jaros
dev123 (2014-04-09 22:06): I have a few maven projects A, B and C on Jenkins. I have configured the maven-release-plugin for the projects so I can release them with a single click on the release button. Now I have another project that picks up released artifacts, integrates them and runs a

Re: Want to schedule a Jenkins job which will run after every 5 seconds

2014-05-08 Thread Maciej Jaros
it, send an email to jenkinsci-users+unsubscr...@googlegroups.com mailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. MOL sp. z o.o. *Maciej Jaros* e-mail: mac...@mol.com.pl mailto:mac...@mol.com.pl WWW: www.mol.pl http://www.mol.pl

Re: URGENT: I am new for Jenkins and how to integrate soapui into jenkins.

2014-05-09 Thread Maciej Jaros
vidhya radha (2014-05-09 07:18): Hi Amit, I have tried this link but it is not trigger the build automatically when the person changes the code. You can either use Poll SCM job configuration option or use post commit hook to trigger build directly after change. Regards, Nux. -- You

Re: Is it possible using some plugin to get Jenkins to email me when a node has low disk space instead of just quietly dying?

2014-05-13 Thread Maciej Jaros
Warren Postma (2014-05-12 16:53): We have configured Jenkins to at least put nodes OFFLINE when their disk space is low, but manually checking these nodes seems a silly think when Jenkins should be emailing out. I guess because disk space is a plugin I should ask the maintainers of the disk

Re: Windows batch command

2014-05-14 Thread Maciej Jaros
Adrian Rusu (2014-05-14 10:34): Hello all. I have a question regarding Execute Windows batch command field inside a job So, i'm trying to open an api client and give specific api commands after that. I can open the api client, it's an exe file, but after that the specific api commands

Re: Test Result Trend : flipTrend works fine with Opera, not with FF or IE

2014-05-16 Thread Maciej Jaros
. Seems like a bug. Happens for me too on Opera 12.12 on LTS. You should report a bug: https://wiki.jenkins-ci.org/display/JENKINS/Issue+Tracking#IssueTracking-Reportinganissue MOL sp. z o.o. *Maciej Jaros* e-mail: mac...@mol.com.pl mailto:mac...@mol.com.pl WWW: www.mol.pl http://www.mol.pl

Re: Add version and build number to Artifactory directory in repository

2014-05-19 Thread Maciej Jaros
M M (2014-05-19 00:42): Hi, I wonder if someone can help me please. I am trying to add the version and build number to the directory in Artifactory. I am using Jenkins and I can configure using the Artifactory Configuration where I want my artifacts to go. The Published Artifacts entry

Re: Default build log location

2014-06-10 Thread Maciej Jaros
Landry, Conor (2014-06-02 23:52): Hi, I haven't been able to find much information about this online, but is there a way to save the build logs from jobs in a location other than where they are saved by default? If not are there any plugins to do so? You could simply copy the log (the

Re: Setting global variables without using parameterized build in job

2014-06-10 Thread Maciej Jaros
Eric Wood (2014-06-05 16:15): Can I set global variables and then use in jobs without using parameterized builds. This forces me into a manual response mode that does not work in my scenario. We use a trick to save data into files (`echo 1 ./exitStatus.jenkins`) and then read in another

Re: People using the LDAP plugin to connect to Active Directory

2014-06-10 Thread Maciej Jaros
Stephen Connolly (2014-05-22 17:12): OK, so there is now rumoured to be a faster and better way to look up the groups that a user belongs to in the LDAP 1.10 plugin. I say rumoured because due to the complexities of Active Directory server configurations, one can never be quite sure until one

Choose destination SSH server in parameters

2014-06-10 Thread Maciej Jaros
Hi. Please correct me if I'm wrong but labeling SSH servers (in Send files or execute commands over SSH) only allows to skip whole step. I want a different thing. I want to execute exact same commands on one of several different servers. So is it possible to choose to publish some servers

Re: syntax highlighting of Build - execute shell

2014-06-13 Thread Maciej Jaros
min yuan (2014-06-12 18:25): Hello, I have installed Jenkins last week and I can see the field *Build execute shell* has *syntax highlighting support* when I type my shell script. But today I reinstalled Jenkins and then the *syntax highlighting* is no more supported. Can somebody tell me

Problem matching a value separated with commas

2014-06-16 Thread Maciej Jaros
Not sure if this is a bug or somehow desired behaviour, but I get this: Run condition [Regular expression match] preventing perform for step [Trigger/call builds on other projects] Regular expression run condition: Expression=[(^|,)dev2(,|$)], Label=[dev,dev2,dev3] So dev,dev2,dev3 didn't

Re: Problem matching a value separated with commas

2014-06-16 Thread Maciej Jaros
Maciej Jaros (2014-06-16 18:51): Not sure if this is a bug or somehow desired behaviour, but I get this: Run condition [Regular expression match] preventing perform for step [Trigger/call builds on other projects] Regular expression run condition: Expression=[(^|,)dev2(,|$)], Label=[dev,dev2

Re: syntax highlighting of Build - execute shell

2014-06-25 Thread Maciej Jaros
min yuan (2014-06-23 16:03): Well, thank you very much, I'd like to know how to install it to my jenkins server, but actually i didn't find your plugins in manage plugins. It's not a plugin. You need to download stuff from the _build

Re: Jenkins App

2014-07-22 Thread Maciej Jaros
Herman De Vries (2014-07-04 10:23): Hi all, We have developed a jenkins app https://play.google.com/store/apps/details?id=com.mobilabsolutions.jenkins.app to monitor all jobs, builds, artifacts and console outputs and on top to easy install the APKs of Android jobs. It would be great if you

Re: Regex in securitybased role strategy

2014-07-22 Thread Maciej Jaros
Jan Seidel (2014-07-22 14:06): Hi friends, I am struggling with regular expressions and they drive me atm to Nutsville! There is a set of jobs and they look like this: GUIDE_DISPATCHER GUIDE_CB_xxx_P4 MB_GUIDE_HEAD MB_GUIDE_PAG_P4 MB_GUIDE_MIB_D_BILBAO I am now trying to remove the view of

Re: Contents of Jar

2014-07-28 Thread Maciej Jaros
Thomas (2014-07-24 21:59): Hi All, is there are way to view the contents of a generated jar? I don´t want to download the whole jar and open it on my desktop but instead view it in the web interface. Is there a plugin that does that or is the feature somehow already included? Thanks for

Re: How to make the Job name not updatable

2014-07-28 Thread Maciej Jaros
Emmanuel DEMEY (2014-07-21 14:30): Hi everyone, After the creation of a job, how can I make the job name read-only for all users ? I need this, in order to break the link between the job and our database that use our jenkins resource. Even if you could do this in Jenkins it would be

Re: LDAP Plugin authentication issue

2014-10-28 Thread Maciej Jaros
Gil Br (2014-10-28 15:58): All, I installed the latest LDAP Plugin for Jenkins. When I use ldap://server.name I get *no* error under the LDAP Server line, however when I use ldap*s*://server.name:636 I get the following error: /Unable to connect to ldaps://server.name:636 :

Re: LDAP Plugin authentication issue

2014-10-29 Thread Maciej Jaros
Gil Br (2014-10-29 08:51): Hi, Your answer relates to Active Directory, I'm using LDAP 389 on Linux. Any other idea? Depending on your LDAP configuration you should use correct search base and search filter... But I'm not sure how would you use NT password if LDAP is on Linux? Or what do

Re: How to structure Jenkins with a build that has 100's of projects?

2014-10-29 Thread Maciej Jaros
Patrick van Dissel (2014-10-29 02:35): [...] About the jobs structure.. It really depends how you're going to use Jenkins. Start simpel, and only add what is nessesary. The amount of jobs does not really matter. For your idea, with my team we currently have a Jenkins setup of 1 master with 3

Re: question on BUILD_ID

2014-10-29 Thread Maciej Jaros
alok kumar (2014-10-28 17:42): Hi All, I am using ZEN timestamp plugin to modify the BUILD_ID as per our requirements. It works well when I use it any build step, but when I try using the changed BUILD_ID variable in the extended email build step it doesnt show the modified BUILD_ID, but, the

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

2015-02-12 Thread Maciej Jaros
Hi. I added example grouping `config.xml` that has some more explanations inside: https://github.com/Eccenux/jenkins-scripts/blob/master/example-grouping/config.xml Also added screenshots in the Readme: https://github.com/Eccenux/jenkins-scripts/ Regards, Nux. -- You received this message

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

2015-02-11 Thread Maciej Jaros
W dniu 2015-02-11 o 12:25, Wojciech Korzenny pisze: Hi Maciek, Thanks for the answer. It looks really promising. But I have some problems with applying this feature. I installed plugin Simple Theme Plugin successfully. I downloaded entire content from github and what should I do now to see

Re: How to run Jenkins job with build parameter

2015-03-18 Thread Maciej Jaros
Hi I'm new to jenkins and need to know how to use jenkins build parameter plugin. we have 4 different environments ... Note:- Difference between all the environments are only the URLs however we also need to make sure that if we use build parameter then results needs to be accurate . Not

Re: Promote jobs from test - staging - production

2015-03-18 Thread Maciej Jaros
Jochen Hinrichsen (2015-03-18 12:08): Dear group, we want to follow the same rules for Jenkins jobs that our software itself must confirm to: development in test, testing in staging, and the official version in a production environment. Copy and paste will always work, but i'm too lazy to do

Re: How to make copy artifact plugin copy multiple artifact from jobs dynamically

2015-03-17 Thread Maciej Jaros
2015-03-17 o 04:44, Bala murugan: So I have 21 different jobs which runs seperately for each git repo and archives the artifact. And i have a job which deploys to a integration environment. in this job, i want to have these 21 jobs as choices , and i can select what jobs i need to copy each

Re: Password Parameter not masked in Console output

2015-03-17 Thread Maciej Jaros
2015-03-02 o 17:42, lfast: Let me try again: Script: any_command -p $my_pwd Console Output: any_command -p the_password_I_typed error: any_command not found The password is still displayed. Maybe I'm misunderstanding what you mean by just use the variable. Is masking the use of $my_pwd not

Re: are jenkins groups only part of the enterprise version

2015-03-20 Thread Maciej Jaros
Eric Wood (2015-03-19 20:43): I have been trying to set up filtering on folder using the role-based security and folders plugin in the open source version. I have been reading about groups and the capability to provided filtering on these, but it is in reference to the enterprise role-based

Re: Moving from built-in Jenkins user DB to another source (like Google)

2015-03-12 Thread Maciej Jaros
2015-03-09 o 17:13, Mike Chmielewski wrote: Hi everyone, I was wondering if anyone has experiences they are willing to share about moving the user DB from the built-in Jenkins DB to an outside one like LDAP or Google OpenID/Oauth (Google Oauth experience is more applicable to my use case).

Re: LDAP: does not work for jenkins 1.606 with Ldapplugin 1.6

2015-04-23 Thread Maciej Jaros
v_sathyamurthy (2015-04-02 19:00): Hello Folks, I would really appreciate if some one could help me. I have installed jenkins 1.606 on windows,and tried to enable the global security link. I configured everything correctly. When enver I tried to test the login I always brought back to

Re: Getting error during deployment

2015-04-23 Thread Maciej Jaros
Bharath Raj (2015-04-22 21:28): Hi team , I am trying to deploy artifact through Weblogic server ..After building project I have written build.xml which is generating war successfully .. I am able to undeploy but while deploying I am getting the below error . Could you please help me in

Re: LDAP: does not work for jenkins 1.606 with Ldapplugin 1.6

2015-04-23 Thread Maciej Jaros
PS: Also `managerDN` should simply be a user name prefixed with domain name e.g. `MYCOMPANY\MyUser`. Any user with basic permissions should work. Maciej Jaros (2015-04-23 11:26): v_sathyamurthy (2015-04-02 19:00): Hello Folks, I would really appreciate if some one could help me. I have

Re: Using signed SSL certificates to start Jenkins

2015-04-22 Thread Maciej Jaros
Mike Bayliss (2015-04-03 15:09): To follow up myself, actually I only have the problem in Firefox. Using IE or chrome I don't get a warning (although the self signed certificate gave me warnings). So should I be trying to fix this in my keystore or is just my Firefox is missing a certificate

Re: Efficiently copying artifacts

2015-04-27 Thread Maciej Jaros
Simon Richter (2015-04-25 02:02): Hi, I have a project that outputs a few large files (compiled DLL and static library) as well as a few hundred header files as artifacts for use by the next project in the dependency chain. Copying these in and out of workspaces takes quite a long time, and the

Re: Doubts about Publish Over SSH Plugin

2015-04-30 Thread Maciej Jaros
Erick Macedo (2015-04-27 22:54): Hi, I configured this way and it worked, Another question, as you usually split between the build environment (Stage, test, production)? Create a build for each environment? or a single build and different parameters? You should have separte builds for

Re: End to end tests with CasperJS and Jenkins

2015-06-24 Thread Maciej Jaros
Daniela Morais (2015-06-19 18:28): I have a script that checks whether all application modules are up and returning the result correctly, but need to test the *upload .xlsx and .zip files*. I'm developing in *|CasperJS|* and desire to integrate with *|Jenkins|* (which I'm still learning

Re: Use Repository Sharing - advice please

2015-07-29 Thread Maciej Jaros
David Brown (2015-07-28 22:51): Here is my scenario. I have a number of Jenkins projects which build from the same set of Mercurial repositories, compile source code and generate executable files, etc. I’m used to being able to run any combination of these jobs in parallel. Each build runs

Re: Build status depending on build failure type

2015-07-24 Thread Maciej Jaros
Jakub Czaplicki (2015-07-08 17:57): I would like to be able to set a build status to Not built or Aborted when a certain failure occur (specific string in a log I suppose). For instance when a infrastructure failure occurs: failed receiving gdi request response for mid=2 (got syncron

Re: Argument for removing old jobs

2015-07-24 Thread Maciej Jaros
VFloyd (2015-07-16 16:21): Morning, Jumping straight to the point - we have jobs in our Jenkins instance that have not run in two years (successfully or unsuccessfully). We have jobs that people set up months ago and have never run. I have sent e-mails, made visits to peoples desks, made

Re: Is it possibel to pass the file from loacl machine to Jenkins server thru File Parameter

2015-11-13 Thread Maciej Jaros
Narmadha Vigneshwaran (2015-11-04 10:35): hi I am new to JENKINS.I have a requirement . I would like to pass an excel file as a parametere from my local machine.I hav eused FIle Parameter for this requirment. But it does not work as expected.Is it possible to pass the excel or text file from

Re: is 51,000 tests too much in a job?

2015-10-14 Thread Maciej Jaros
Kevin Goess (2015-10-09 17:32): > Check how much heap you have allowed jenkins to use. We're currently running with -XX:PermSize=128M -XX:MaxPermSize=512M -Xmx16384M and the jenkins memory graph under /monitoring shows us maxing out under 12GB, and that seems excessive to me, since we

Re: How to Deploy the jar file through jenkins after build process

2015-10-08 Thread Maciej Jaros
sumanth veera (2015-10-04 16:35): Hi All, i am trying to Deploy the jar files to remote server from the artifacts created.after the build process can any one tell me how to do this . Basically i need to deploy the jar to remote server. If you have many servers (or plan to grow) it might

Re: New stuff for Jenkins GUI

2015-10-07 Thread Maciej Jaros
Gus Reiber (2015-09-23 20:26): Hey all, This likely isn't a news flash for most of you, but the Jenkins GUI isn't great, but what might be news is that there is an active effort to make it a lot better. As part of that effort, I will be pushing out content, showing prototypes, concepts,

Re: LDAP in Jenkins Fails, but ldapsearch works

2015-10-09 Thread Maciej Jaros
Sverre Moe (2015-10-09 09:22): |Usersearch base:ou=users | I think it should be "CN=Users". | Usersearch filter:samaccountname={0} | Not sure if case matters, but we use "sAMAccountName={0}" |ManagerDN:ldapu...@arctic.company.com | This is Windows AD? If so then I think you should use

Re: How Can I copy log (from System Log) from my GUI to my linux machine through plugin/script?

2015-09-17 Thread Maciej Jaros
Shubham Sharma (2015-09-14 13:34): Hi All, I want to copy Log under Manage Jenkins-->>system Log through some script or plugin to my host machine . Please Help how Can I do this. Some logs (like Audit Trail) are in: .../jenkins-data/log Path of the "all" log depends on which server you use

Re: When editing a script in a Jenkins text area -- has anyone looked into having language aware editors be enabled

2015-09-30 Thread Maciej Jaros
Rinaldo DiGiorgio (2015-09-21 22:37): Has anyone tried to enable javascript based language editors for all the times one can enter code in a Jenkins text area. I prefer to use SCM systems but the turn around time for that is too slow when doing development. It would be a big productivity boost

Re: Script executed. The exit code is 255.

2015-10-01 Thread Maciej Jaros
Nayan Jyoti Gogoi (2015-09-30 14:44): Hi All, I am executing a shell script using jenkins on a hpux machine. It goes like this. -- set +e set +x #!/bin/sh cd /tmp/ rm -rf bc_env.txt echo "SANDBOX:${sandbox}" >>

Re: Understanding Jenkins builds and processes when running in parallel

2015-09-28 Thread Maciej Jaros
John Wadleigh (2015-09-28 09:58): Hello all, I am trying to find some documentation on how Jenkins handles multiple builds on a specific node. Does it spawn separate processes? threads? How does it manage parallel builds? And can I see these running on the OS? I have checked on our Linux OS

Is there a way to fail the build after it's finished?

2016-01-13 Thread Maciej Jaros
Hi. I want to fail one of the builds to be able to mark it as something that should not be deployed. My setup is that I have two task: 1. One just builds project and saves artifacts (war files). 2. Second copies artifacts of last successful build and deploys them. Occasionally some build

Re: Need help on usage of Jenkins console data

2016-06-14 Thread Maciej Jaros
Another method (without using Groovy) is to simply get path and do whatever you need with it. buildLogPath="../builds/$BUILD_NUMBER/log" Might be a good idea to copy the file if you are going to change it or you need to make sure it's not change during other operations.

Re: Create a temporay file via groovy

2016-05-26 Thread Maciej Jaros
'Niksan' via Jenkins Users (2016-05-23 14:15): I'm wanting to create a temporary batchfile on a Jenkins slave via groovy similar to the way Jenkins itself does when invoking a Windows batch file. cmd /c call C:\Windows\TEMP\hudson6180922768700485046.bat How do I go about doing that via

Re: [Blue Ocean] A new user experience project for Jenkins

2016-05-27 Thread Maciej Jaros
Stephen Connolly (2016-05-27 12:12): On 27 May 2016 at 07:59, Craig Rodrigues > wrote: Hi, The new Jenkins UI looks nice, and will be a big improvement over the existing UI. The original selling point of Jenkins was that

Re: Is there a way to fail the build after it's finished?

2016-01-15 Thread Maciej Jaros
15:16): Seems like this could be handled by build promotion? On 1/13/2016 8:50 AM, Maciej Jaros wrote: Hi. I want to fail one of the builds to be able to mark it as something that should not be deployed. My setup is that I have two task: 1. One just builds project and saves artifacts (war

Re: How do I get a Jenkins server to push bash code to a different server?

2016-02-04 Thread Maciej Jaros
Kiran (2016-02-02 03:43): If the job just deploys a file to different servers (and uses no slaves) is a Freestyle project? You can use a freestyle project to either and Publish Over SSH plugin to simply push files to other computers. If you have many deploy servers you can configure a

Re: Performing tasks in remote servers as slave or SSH?

2016-01-28 Thread Maciej Jaros
hezjing (2016-01-28 02:03): Hi I want to create a job that will login to multiple remote servers (and with multiple user accounts) and install some products. How should I create this job? One way is to create a slave node for every user in each of the remote servers, then trigger the job

Save all configurations after Jenkins update

2016-02-17 Thread Maciej Jaros
Hi. When you save configuration of a Job after Jenkins update there are some changes made in the config.xml (e.g. plugin version change). Since I keep a history of all config.xml files in a repository that mess up history of changes... So. Is there some script or plugin that can re-save

Re: Save all configurations after Jenkins update

2016-02-17 Thread Maciej Jaros
jieryn (2016-02-17 17:01): for (item in hudson.model.Hudson.instance.items) { println("Saving " + item); item.save(); } Thanks, works great :-). I've just run it through Script Console. Regards, Nux. -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: Jenkins 2.0 alpha release available

2016-03-01 Thread Maciej Jaros
Dirk Heinrichs (2016-03-01 08:31): Am 01.03.2016 um 00:39 schrieb R. Tyler Croy: You can read more about it on the 2.0 landing page (https://jenkins-ci.org/2.0/) The link to "the 2.0 plan" on this page is dead. The link: https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+2.0 Fix:

Re: Powershell calls to SQL - thread safe?

2016-06-29 Thread Maciej Jaros
It's not a Jenkins problem. if you would run this from two PS terminals then you would probably run into the same issues. I would guess that PS is sharing SQL connection or something like that. Maybe you should use `osql` or `sqlcmd` to run commands you need to run... In any case not a

Re: how to pull latest source code when build module only

2016-08-30 Thread Maciej Jaros
严细浪 (2016-08-23 08:16): I am using Jenkins to build a multi module maven project, in Jenkins i can trigger to build a maven module, however when build module, Jenkins will not pull latest source code, source code only pulled when whole project is built. how to make Jenkins pull source code

Force result change in Groovy

2017-02-08 Thread 'Maciej Jaros' via Jenkins Users
Hi. I wanted to manully change last build from stable to unstable. Is it possible? I tried using Groovy def job = Jenkins.instance.getItem("GOPAC-build-alfa"); def build = job.getLastStableBuild(); build.setResult(Result.UNSTABLE); But that throws `cannot change build result while in

Re: multi text parameter

2017-02-20 Thread 'Maciej Jaros' via Jenkins Users
You might want to use Groovy System Script to process those parameters (note that /System/ script is not an OS script, it's Jenkins script). It will be much easier to process strings in it. Here is something to get you started. This is a script that schedules "Some-job-name" to be run with

Re: Jenkins plugin for merge.

2017-02-24 Thread 'Maciej Jaros' via Jenkins Users
RRoy (2017-02-22 11:15): Hi All, Currently we are using parallel development approach for development process in our organization.Please considered the below scenario of our build process. Build Tool -- ant CI Tool -- Jenkins. Repository Tool - SVN We want multiple SVN branches to

Re: Conditional build parameter

2017-02-14 Thread 'Maciej Jaros' via Jenkins Users
Danny Wong (2017-02-14 07:33): *Hi All,* *Is there a way in Jenkins where if I have 2 radio buttons (yes/no) as a build parameter. if the user selects “yes”, then a dropdown will display and gets populated with data. If no, the dropdown disappears from the UI? Is there a way to

Re: Force result change in Groovy

2017-02-09 Thread 'Maciej Jaros' via Jenkins Users
Daniel Beck (2017-02-08 16:01): On 08.02.2017, at 15:48, 'Maciej Jaros' via Jenkins Users <jenkinsci-users@googlegroups.com> wrote: But that throws `cannot change build result while in COMPLETED`. So can I somehow force the result? While there's probably a way to accomplish that, it's

Build and jump to console in one click?

2017-02-09 Thread 'Maciej Jaros' via Jenkins Users
Hi. Is it possible to build and jump to console in one click?Most of the time when I build jobs I want to see what is going on (observe log). So is there some plugin that provides "Build and View Log" action. That would be very handy. Or maybe something similar is available on Jenkins 2.x?

Re: scp files located outside of workspace

2017-04-03 Thread 'Maciej Jaros' via Jenkins Users
t3knoid (2017-03-31 19:50): Is it possible to scp files located outside of a workspace simply using existing Jenkins plugins? I am currently using a Python script to this currently by calling the scp command-line. The SCP plugin nor Publish over SSH does not appear to support this. Maybe in

Re: Disable new jobs if a build fails

2017-04-04 Thread 'Maciej Jaros' via Jenkins Users
Idan Adar (2017-04-03 15:11): Hello, I received a request, which sounds kinda far-fetched to me, but maybe I wrong. Lets assume there is a job that is scheduled to run 3 times ago. End to end sort of tests. And at some point one of the job runs fails. The request here is to block all future

  1   2   >