Re: POST key build data to a REST API after the build is complete

2014-08-29 Thread Daniel Beck
Read /job/jobname/build_number/api On 29.08.2014, at 11:26, ckyconsultinguk wrote: > Dear Friends, > > I would like to POST key build information (ex: Job name, status of build > ok/failed, revision number of the repository and if possible the results) via > POST to a REST API from jenkins on

Re: build timeout plugin - JVMs from aborted builds not killed

2014-08-28 Thread Daniel Beck
You forgot to mention your Jenkins version. Killing processes was broken on Linux from 1.553-1.574. On 28.08.2014, at 11:48, ptol...@tibco.com wrote: > We have a regressions server, running regressions of different applications, > using Jenkins. > > Some of these applications, tend to misbeha

Re: Masking build environment variables on env variables screen

2014-08-25 Thread Daniel Beck
If you're using Env-Inject, try using its built-in password support instead of Mask Passwords. On 26.08.2014, at 01:50, Marc Esher wrote: > Greetings, > > I'm using env inject and mask passwords, which works great in the console > output for jobs. However, Any global password variables I set

Re: Unable to startup slave post master upgrade to 1.576

2014-08-24 Thread Daniel Beck
When searching the web for the original error message (the last line in the console that starts with 'Caused by'), what did the first page of search results suggest is the cause? What happened when you followed the advice you found? On 24.08.2014, at 20:32, Sudhakar.Shanmugam wrote: > I have

Re: Release notes from XX previous build change logs in Markdown

2014-08-22 Thread Daniel Beck
Looks like JENKINS-12032, which I haven't yet begun work on. Feel free to take over. On 23.08.2014, at 02:46, Brantone wrote: > Looking to publish release notes based on change logs from SCM commit > messages .. and preferably in Markdown, but plain text will do ... alas, > surprised no plugi

Re: Possible culprit? Re: Help needed with CLI puzzle: list-jobs works, but get-job doesn't

2014-08-22 Thread Daniel Beck
Read to the anonymous user, then using the > "restart" URL to restart the server. Still no joy. > > (Thanks, Daniel, for hanging in there through my struggle.) > > > On Thursday, August 21, 2014 6:56:21 PM UTC-6, Daniel Beck wrote: > What kind of project is i

Re: Help needed with CLI puzzle: list-jobs works, but get-job doesn't

2014-08-21 Thread Daniel Beck
6:14:16 PM UTC-6, Daniel Beck wrote: > Are there leading/trailing spaces in the project name? Characters that are > not basic printable ASCII, preferably alphanumeric, e.g. characters with > special meaning on the command line, like the dollar sign? > > Are you using the Cloudbee

Re: Help needed with CLI puzzle: list-jobs works, but get-job doesn't

2014-08-21 Thread Daniel Beck
s "real name" and "display name" are > identical, if I'm understanding you correctly). Is there any other string I > could/should use for the get-job argument? > > On Thursday, August 21, 2014 5:43:33 PM UTC-6, Daniel Beck wrote: > If it says '/job/

Re: Help needed with CLI puzzle: list-jobs works, but get-job doesn't

2014-08-21 Thread Daniel Beck
at 01:33, G Dameron wrote: > What does a job's "real name" look like? > Is there a string I can build up from known parts that would convince > "get-job" that it's a legitimate argument? > > On Thursday, August 21, 2014 5:09:28 PM UTC-6, Daniel

Re: Help needed with CLI puzzle: list-jobs works, but get-job doesn't

2014-08-21 Thread Daniel Beck
It's likely the following: list-jobs shows the project's _display name_, but as parameter to commands you need to specify the project's real _name_. It's mind-bogglingly stupid, and there is currently no solution other than not using display names for projects, or patching Jenkins. A possible

Re: Jenkins upgrade 1.576 issue

2014-08-20 Thread Daniel Beck
Known issue: https://issues.jenkins-ci.org/browse/JENKINS-24316 On 20.08.2014, at 06:15, Rajesh Patwardhan wrote: > Hello, > > We just upgraded to 1.576 on Centos (CentOS release 5.8 (Final)) > > Some of the plugin images are gone missing from the site. The images > themselves are on the disk

Re: Jenkins multijob plugin not loading

2014-08-19 Thread Daniel Beck
Make sure EnvInject plugin is installed and enabled. On 19.08.2014, at 11:45, John McGowan wrote: > Anyone seen this error before. Tried added multijob to a well established LTS > server (I have it on another server ok, same version but different plugin > set). > Jenkins ver. 1.565.1 > > 18-A

Re: How can i pass build properties to downstream build ?

2014-08-17 Thread Daniel Beck
Try Parameterized Trigger Plugin. On 17.08.2014, at 15:48, Alex Brodov wrote: > Hi, > I have a few jobs, for example job A which is the upstream and job B which is > the downstream, i've defined some properties in job A: > Build Environment -> marked the "Inject environment variables to the bu

Re: Lookings for Jenkins version used by JENKINS_HOME

2014-08-17 Thread Daniel Beck
That's (mostly) the correct version. This field is updated whenever the Jenkins system configuration is saved. If you don't do that, the file isn't getting updated. "1.0" written to the file can happen when you save only e.g. the security configuration and never the system configuration, at mos

Re: Adding an administrative build (job)

2014-08-14 Thread Daniel Beck
build flow, including parameters) is documented here: https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin#BuildFlowPlugin-Basics On 14.08.2014, at 22:39, Alex Brodov wrote: > Hi Daniel, > Thanks for your response, I've installed this plugin. > I'm going to tell you

Re: Adding an administrative build (job)

2014-08-14 Thread Daniel Beck
Parameterized Trigger Plugin On 14.08.2014, at 10:54, Alex Brodov wrote: > Hi, > i'm trying to figure out how can i add an administrative build to Jenkins > that will manage a few builds, and how can i path the parameters from the > administrative build to the child builds. > > > > -- > Y

Re: Remove Slave node via Groovy: kill() not removing from list?

2014-08-13 Thread Daniel Beck
Simpler: jenkins.model.Jenkins.instance.setNodes([]) On 12.08.2014, at 14:10, Efekt wrote: > Here's a script I've written based on yours deleting all the slaves > > import hudson.model.* > > // For each slave > for (aSlave in hudson.model.Hudson.instance.nodes) { > println("SLAVE DELETED: "+

Re: What are the difference between Jenkins and HP ALM?

2014-08-13 Thread Daniel Beck
On 13.08.2014, at 14:50, Manju wrote: > I just wanted to know what is the advantages of Jenkins over the HP ALM? It's not ActiveX based. > If my understanding is correct, Jenkins is also a one type of test management > tool like HP QC/HP ALM. Jenkins is a very fancy Task Scheduler. -- You

Re: loosing history

2014-08-12 Thread Daniel Beck
File an issue against core (for now) in Jira. Provide the information requested here: https://wiki.jenkins-ci.org/display/JENKINS/Issue+Tracking#IssueTracking-Whattoputinthedescriptionofanissuereport%3F ... and respond to any comments asking for more information. On 12.08.2014, at 12:20, Sven Sc

Re: Stupid configuration issue: utf8 ?

2014-08-12 Thread Daniel Beck
--httpPort=8080 > sun.java.launcher SUN_STANDARD > sun.jnu.encoding ANSI_X3.4-1968 > sun.management.compiler HotSpot 64-Bit Tiered Compilers > sun.os.patch.level unknown > svnkit.http.methodsDigest,Basic,NTLM,Negotiate > svnkit.ssh2.persistentf

Re: Stupid configuration issue: utf8 ?

2014-08-11 Thread Daniel Beck
Make sure LANG has a UTF-8 value (e.g. en_US.UTF-8) on all nodes. If that doesn't help, post /systemInfo contents. On 11.08.2014, at 16:50, Erwan de Ferrières wrote: > Hi all, > > I have a configuration issue I can't resolve. I'm using the latest release, > Ubuntu 12.04.4 LTS (GNU/Linux 3.2.

Re: warning about "reverse proxy set up is broken"

2014-08-11 Thread Daniel Beck
This happens when the configured location (URL) of Jenkins in Manage Jenkins » Configure System is different from how you're actually accessing Jenkins. On 11.08.2014, at 10:10, Mike Bayliss wrote: > I've just started upgrading (from version 1.550) to 1.574 and I'm seeing the > warning about t

Re: How do I protect a job but publish the results?

2014-08-07 Thread Daniel Beck
Use (Project-based) Matrix Authorization Strategy and optionally enable the artifact permission by setting the Java system property -Dhudson.security.ArtifactsPermission=true This way, you can allow users read access to a job, builds, and build logs, but prevent access to job config, workspace,

Re: Trigger jobs via API plus with upstream

2014-08-07 Thread Daniel Beck
On 07.08.2014, at 17:12, Hiran Chaudhuri wrote: > Now if I do that the triggered job always is displayed as "triggered by > anonymous user". Is there any chance to trigger it via REST such that the > upstream project information is kept? I could not find anything in the docs > or the online R

Re: How to use Measurements Plot Plugin?

2014-08-06 Thread Daniel Beck
Given the stagnating install counts and the 4 year old initial release being the only available version, it's unlikely this plugin has many active users. On 06.08.2014, at 20:32, Andrew Pritykin wrote: > Bump. Would has anyone used this plugin? > > On Tuesday, August 5, 2014 11:38:19 AM UTC-4,

Re: Jenkins- Best Practices for Security

2014-08-01 Thread Daniel Beck
On 01.08.2014, at 18:12, Rahul Harikrishna wrote: > One thing that I've observed that the Jenkins users with > Administer/Run_Scripts permissions get to have way more rights than they > should. For example- Why do you want to prevent administrators from doing what you describe? Don't make th

Re: Error message being displayed on Jenkins website

2014-07-31 Thread Daniel Beck
Filed as https://issues.jenkins-ci.org/browse/INFRA-63 On 31.07.2014, at 12:17, matthew.web...@diamond.ac.uk wrote: > When browsing on http://jenkins-ci.org/changelog, I see the following text > displayed within the page: > warning: unlink(/tmp/cache_lock): No such file or directory in >

Re: Combine multiple login-names to a single user account

2014-07-30 Thread Daniel Beck
Nicolas wrote the 'Additional Identities Plugin' that seems to do that: https://github.com/ndeloof/additional-identities-plugin It's unreleased though, and I don't know why. Still, worth a try if you know how to build a Maven project. On 30.07.2014, at 08:44, Simon Schlachter wrote: > Hi Jenki

Re: Moved Jenkins to different location/user now slave-agent.jnlp has invalid duplicate port number in the url

2014-07-28 Thread Daniel Beck
println org.kohsuke.stapler.Stapler.currentRequest.getHeader('X-Forwarded-Port') Are you accessing Jenkins through a reverse proxy? On 28.07.2014, at 18:12, Hansen Loke wrote: > The config is the same as before the move, so it's: > http://my.machine.com:8080/jenkins/ > > > > On

Re: Jenkins logout when pushing the browser Back button

2014-07-28 Thread Daniel Beck
On 28.07.2014, at 17:57, Daniel Beck wrote: > Are you sure the page isn't just cached? Try reloading. Note that the login form shows even when you're logged in as it has its own URL. Look to the top right to see whether you're logged in. -- You received this messa

Re: Moved Jenkins to different location/user now slave-agent.jnlp has invalid duplicate port number in the url

2014-07-28 Thread Daniel Beck
What's configured in Manage Jenkins » Configure System » Jenkins Location » Jenkins URL? On 28.07.2014, at 12:08, Hansen Loke wrote: > Hi, > > Recently I've moved the Jenkins installation to a different HDD location on > the same host, and to be started by a different user, reasons for the mo

Re: How to make the Job name not updatable

2014-07-28 Thread Daniel Beck
On 28.07.2014, at 13:13, Maciej Jaros wrote: > Anyone with access to job configuration has access to the machine Jenkins is > on - i.e. one could create a job that changes a directory of Jenkins job and > Jenkins job name is connected to the directory name. There are extension points that all

Re: Jenkins logout when pushing the browser Back button

2014-07-28 Thread Daniel Beck
Are you sure the page isn't just cached? Try reloading. On 28.07.2014, at 16:09, Ali Yakout wrote: > Hi > > I have a problem with my Jenkins. After logging in, if I click the browser > back button, it logs me out from jenkins. > I tried several browsers but still the same issue. > > Any clue

Re: How to: Start application on destination after the build

2014-07-28 Thread Daniel Beck
https://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller On 28.07.2014, at 17:00, Steven Scott wrote: > I am new to Jenkins and love the tool, but I am having one problem > that I can not imagine is unique to me, and I have not found a plugin > to deal with the issue. > > The problem I hav

Re: Downgrade the weather upon test failure

2014-07-25 Thread Daniel Beck
On 25.07.2014, at 23:16, Mark Sinclair wrote: > Is there a way to configure it so the weather gets cloudy if any tests fail? No. While the weather report is customizable in principle, it's not used that way. -- You received this message because you are subscribed to the Google Groups "Jen

Re: Downgrade the weather upon test failure

2014-07-25 Thread Daniel Beck
Not true: Have more than 20% of tests fail. Only then you'll get the 'partially cloudy' icon due to tests alone. On 25.07.2014, at 21:58, Mark Sinclair wrote: > Currently if some tests fail, I get unstable status (yellow), but weather is > good. The weather is linked to the build status only.

Re: Maven lastupdated file problem

2014-07-23 Thread Daniel Beck
Not a Jenkins issue. Try passing `-U` argument to Maven to force repository check. On 23.07.2014, at 17:40, Juan Ignacio Garzón wrote: > Hi, > > I'm having this problem. I use an Artifactory server to store my maven > libraries. I configured the maven installation inside the jenkins server t

Re: Can't get a response body any more when launching a job via curl

2014-07-23 Thread Daniel Beck
This was changed in 1.561. Here's the issue: https://issues.jenkins-ci.org/browse/JENKINS-13546 (You should probably change your password.) On 23.07.2014, at 08:57, Barthélémy wrote: > Hello, > > I used to be able to start a job with "buildWithParameters" using curl and to > get a json resp

Re: What to do about NullPointerException (possibly associated with Naginator plugin)?

2014-07-22 Thread Daniel Beck
This issue seems to be fixed but the fix not yet released, so building a snapshot of naginator plugin and installing that should work. https://github.com/jenkinsci/naginator-plugin/commit/6789567dd81904efa775019c7b114144238612ec On 22.07.2014, at 12:52, David Aldrich wrote: > Hi > > I period

Re: Can't get "negative readahead" to work

2014-07-22 Thread Daniel Beck
On 22.07.2014, at 09:00, Mark Syms wrote: > The help indicates that (?!_Nightly) should be the magic regex that is needed > but I either end up with nothing selected or every build selected. > > Does this negative readahed regex actually work for filtering jobs or am I > just doing it wrong?

Re: Any comments on the UI changes in 1.572

2014-07-18 Thread Daniel Beck
The redesign just makes the mess more obvious because the buttons are higher contrast now. Screenshot of 1.569: http://i.imgur.com/zV5bRvx.png On 18.07.2014, at 20:05, Andrew Kujtan wrote: > EmailExt configuration is also borked with the new redesign, the > triggers selection has the delete b

Re: Any comments on the UI changes in 1.572

2014-07-18 Thread Daniel Beck
On 18.07.2014, at 15:15, David Aldrich wrote: > I'm not sure if this is relevant to this discussion, but I find the behaviour > of the 'Save' and 'Apply' buttons in the Project Configuration screen odd. > Clicking 'Apply' gives a green banner saying 'Saved'. Clicking 'Save' gives > no messa

Re: Any comments on the UI changes in 1.572

2014-07-18 Thread Daniel Beck
Actually, it's not the first stage. Some changes already went into 1.570 (form element styling, especially buttons, and dropdown shadows for popup menus). It's just the most noticeable recent change, as the Jenkins header color was changed, among other things. Issues I know of: - if you use sec

Re: How do I stay logged into multiple Jenkins servers

2014-07-18 Thread Daniel Beck
Add an alias for that host in DNS (and use hostname:8080 / madscientistalias:9090 in the future), or put a reverse proxy in front of both (e.g. madscientist.hostname / hostname). Or, the sane solution: put them on different machines. On 18.07.2014, at 14:08, Rob Mandeville wrote: > I've been

Re: xml api output broken?

2014-07-18 Thread Daniel Beck
What version of Subversion plugin is this? On 18.07.2014, at 08:16, Simon Haegler wrote: > hi jenkins user > > i noticed that this call > http://my-jenkins-host:8080/job/myjob/api/xml?tree=builds[changeSet[items[affectedPaths]]] > > produces output where the first character is missing of each

Re: Shell build steps stopped working

2014-07-16 Thread Daniel Beck
> - Is this a bug in the EnvInject plugin or just some misconfiguration > on my side? Could be either, but if you didn't mess with PATH globally, on the node, or in the job, it's likely Env-Inject's fault. You wouldn't be the first one to be affected. > - How did you find out that I've install

Re: Shell build steps stopped working

2014-07-16 Thread Daniel Beck
It's very suspicious that between those two builds, you installed the Env-Inject plugin. Disable that and try again. On 16.07.2014, at 09:35, Sebastian Schuberth wrote: > Hi, > > I'm running Jenkins 1.554.3 LTS on Windows Server 2008 R2 64-bit with MSYS > configured to run shell build steps.

Re: Using Jenkins to Commit to SVN 1.8

2014-07-15 Thread Daniel Beck
On 15.07.2014, at 16:27, Eric wrote: > Is there currently a way to work around this? * Don't use the SVN 1.8 client when modifying the Jenkins SVN checkout (is there _really_ a reason to upgrade the client, other than the new version existing?). * Have the Workspace Cleanup plugin remove the

Re: Jenkins: How to restrict ssh credentials use in slave node configuration

2014-07-14 Thread Daniel Beck
On 14.07.2014, at 16:25, martin flehmig wrote: > 8) Login as userA and create slave node called nodeA: > * Configure nodeA: > * Launch method: Launch slave agents on Unix machines via SSH > * Host: dummyh...@dummydomain.de > * Add Credentials: >- Username with password >- Scope: Syste

Re: Jenkins: How to restrict ssh credentials use in slave node configuration

2014-07-14 Thread Daniel Beck
On 14.07.2014, at 18:34, Stephen Connolly wrote: > Unless you put the nodeA credentials in a credentials domain bound to > dummyHost then that is functioning as designed it is not possible to > restrict credentials further. If you have access to configure one slave you > have access to a

Re: Frustration with build-step/post-build-action access...

2014-07-10 Thread Daniel Beck
> I wouldn't call it "misusing". I'm simply working with what is there (that I > knew about). ... for a problem 'what is there' was not designed to solve. Law of the instrument ;-) > Since I can't do SSH in post-build I am limited to what I can do, hence my > frustration. With the emergence

Re: Jenkins: How to restrict ssh credentials use in slave node configuration

2014-07-10 Thread Daniel Beck
On 10.07.2014, at 12:03, Stephen Connolly wrote: > Credentials for use against slave nodes only should be set to scope SYSTEM... > that's what SYSTEM scope is for... Each credential should only be available for configuring one specific slave, and not the other slave. Maybe domain restrictions

Re: Frustration with build-step/post-build-action access...

2014-07-09 Thread Daniel Beck
Your problem is that you're misusing the 'software build' concept and job type for something that isn't strictly a software build, and its limitations become obvious. Post-build steps usually fall into one of the categories 'recorder' (e.g. archive artifacts) and 'notifier' (email notifications

Re: audit-trail - don;t log build cause?

2014-07-03 Thread Daniel Beck
There is no way to disable this. I'd just rip out the AuditTrailRunListener.java class, then nobody should call AuditTrailPlugin.onStarted(Run). On 03.07.2014, at 17:44, James Nord (jnord) wrote: > Hi all, > > I'm experimenting with the audit trail plugin but for the life of me I can't > wo

Re: Want to build Jenkins job every after 15 seconds

2014-07-02 Thread Daniel Beck
You can't. Are you sure you're using the right tool for the job? https://en.wiktionary.org/wiki/if_all_you_have_is_a_hammer,_everything_looks_like_a_nail On 02.07.2014, at 10:42, Swapnil Pawar wrote: > Can you please tell me How I can schedule Jenkins Job which will execute > every after 15 se

Re:

2014-06-30 Thread Daniel Beck
On 30.06.2014, at 08:52, Panikera Raj wrote: > Update default Subversion credentials cache after successful authentication. > This option has been removed as of version 2.0 of the plugin, as authentication now uses predefined credentials. -- You received this message because you are subscri

Re: Jenkins 1.568 does not use latest svn repo format

2014-06-27 Thread Daniel Beck
Downgrade TortoiseSVN, or install another SVN (1.7) client to modify the working copies used in Jenkins. Jenkins Subversion Plugin does not support SVN 1.8. On 27.06.2014, at 19:49, Notes Jonny wrote: > It is somewhat tricky to integrate out-of-date Jenkins with svn and > TortoiseSVN > > e.g

Re: HTML formatting not working in Jenkins 1.568

2014-06-27 Thread Daniel Beck
Install the anything-goes-formatter plugin, and change the formatter used in global security preferences. On 27.06.2014, at 15:26, Notes Jonny wrote: > Hello > > I am migrating from Hudson and also a Jenkins 1.459 to Jenkins 1.568 > > I found that my HTML formated messages that I added to eac

Re: Jenkins upgrade from 1.529 to 1.569

2014-06-26 Thread Daniel Beck
It should be. Give Jenkins time on first launch to finish loading, and check the logs for any (new) problems. Check out Manage Jenkins » Manage Old Data to see if some data became unloadable. Note that sometimes, plugins start misbehaving due to subtle changes in Jenkins core. If that happens,

Re: "Execute Windows batch command" not executing

2014-06-25 Thread Daniel Beck
On 26.06.2014, at 00:35, Gavin Goodrich wrote: > default That's the default matrix/multi-project configuration name for the single existing sub-project if there are no axes defined. Compare the following two URLs to see the difference: Meta-job just triggering configuration builds: /job/(jo

Re: Build pipeline plugin ERR_CONTENT_DECODING_FAILED error

2014-06-25 Thread Daniel Beck
Please file a bug in Jira and provide a full explanation on how to reproduce the issue starting with a blank Jenkins instance. (Please make sure it's not just happening on your production instance i.e. has other dependencies on your configuration than what you mentioned) In the past similar iss

Re: Cannot connect slave "Caused by: java.io.IOException: Invalid PEM structure, '-----BEGIN...' missing"

2014-06-18 Thread Daniel Beck
On 18.06.2014, at 16:19, Seth Floyd wrote: > where we point to the .pub file using the "SSH username with private key" > option That cannot possibly work. ".pub" indicates a public key. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To un

Re: Cannot connect slave "Caused by: java.io.IOException: Invalid PEM structure, '-----BEGIN...' missing"

2014-06-17 Thread Daniel Beck
On 17.06.2014, at 20:18, Seth Floyd wrote: > Did you ever figure this out? Im getting the same thing and im stumped. I can > connect just fine if I ssh from master to the slave using the key...but not > when I try to launch the slave from inside Jenkins. The credentials are somehow wrong. Mak

Re: Cannot launch slave agent on Win XP slave

2014-06-16 Thread Daniel Beck
On 16.06.2014, at 15:16, David Aldrich wrote: > 1) Sometimes, when I click the "Launch slave agent" button, I see: > > POST is required for hudson.slaves.SlaveComputer.doLaunchSlaveAgent > Will be fixed in 1.570. -- You received this message because you are subscribed to the Google Gr

Re: how to specify the default ANT

2014-06-13 Thread Daniel Beck
'(Default)' means to use whatever's on your system's PATH rather than one of the versions configured in Jenkins. There is no way to get Jenkins to preselect a specific version for newly added Ant build steps. On 13.06.2014, at 14:13, Eric Wood wrote: > I have three installations of ANT 1.8.4,

Re: syntax highlighting of "Build" -> "execute shell"

2014-06-12 Thread Daniel Beck
And of course https://issues.jenkins-ci.org/browse/JENKINS-23151 which probably more users are concerned about. On 12.06.2014, at 21:53, Daniel Beck wrote: > https://issues.jenkins-ci.org/browse/JENKINS-23148 > > On 12.06.2014, at 18:25, min yuan wrote: > >> Hello, >&

Re: Jenkins change language intermitentily

2014-06-12 Thread Daniel Beck
Please be more specific what you mean by 'Jenkins is configured to use English'. By default, Jenkins tries to return responses in the language preferred by the user (Accept-Language header). Use Locale Plugin to have Jenkins ignore your users' preferences. On 12.06.2014, at 16:52, Eduardo Dias

Re: syntax highlighting of "Build" -> "execute shell"

2014-06-12 Thread Daniel Beck
https://issues.jenkins-ci.org/browse/JENKINS-23148 On 12.06.2014, at 18:25, min yuan wrote: > 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

Re: EXTERNAL: Re: How to debug inability to create a new job

2014-06-10 Thread Daniel Serodio
I don't know about IE, but on Chrome or Firefox I usually go to the browser's Developer Tools and check both the Console and the Network tabs for Javascript or HTTP errors. Regards, Daniel Serodio On Wednesday, June 4, 2014 1:15:45 PM UTC-3, Anne wrote: > > Google ch

Re: Anyone else having trouble with Jenkins Update?

2014-06-06 Thread Daniel Beck
On 06.06.2014, at 22:26, scott crook wrote: > Is there a configuration setting in Jenkins that I could just point it at the > U Oregon mirror directly? I have looked but I don't see a setting that is > obvious. Maybe there's something in a config XML file on the hard drive? The download URLs a

Re: Anyone else having trouble with Jenkins Update?

2014-06-06 Thread Daniel Beck
http://mirrors.jenkins-ci.org/status.html It looks like the xmission mirror was unavailable today for a while, and the Chinese mirror has been broken for a while. >From 1.565 Jenkins tells you in the error message which mirror it tries to >download from, so you can check whether it got redirect

Re: iframes no longer displayed after Jnekins upgrade (1.557)

2014-06-06 Thread Daniel Beck
On 06.06.2014, at 16:04, Christophe Lebel wrote: > i have recently upgraded to 1.566 and the issue remains, even with global > security> HTML RAW, iframes in view description are no more displayed. Use the Anything Goes Formatter plugin. "Raw HTML" isn't "raw", but rather "safe" (and the ne

Re: 4-5min delay at end of job on slave

2014-06-05 Thread Daniel Beck
First check the /threadDump page during this time to try to determine what Jenkins does during that time. Reload a few times to get a representative sample. The relevant section will likely be called something like 'Executor #42 for nodename: executing jobname #23' A Jira issue would be pretty

Re: LTS 1.554.2 updates

2014-06-04 Thread Daniel Beck
On 04.06.2014, at 15:40, Shawn Baker wrote: > So, is this the directory I should be removing the contents? Yes. I fixed the wiki. -- 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

Re: Most downloaded plugins?

2014-06-03 Thread Daniel Beck
.org/plugin-installation-trend/latestNumbers.json I wrote a Greasemonkey userscript that adds the install count as a column to the plugin manager. It only requires you to place that json file into JENKINS_HOME/userContent. https://github.com/daniel-beck/jenkins-userscripts/

Re: Save job configuration returns an Oops page

2014-06-03 Thread Daniel Beck
On 02.06.2014, at 23:43, Slide wrote: > Released 2.38.1 today, should fix this issue. I confirm this is resolved. BTW, is there a reason you replaced the checkboxes with the drop-down? It takes more clicks to configure, it's more difficult to tell at a glance what's not configured, and takes

Re: Save job configuration returns an Oops page

2014-06-02 Thread Daniel Beck
On 02.06.2014, at 14:05, Slide wrote: > I don't think its valid to not have at least one type of recipients selected. I use that a lot. The problem is that the per-trigger list of recipients is not part of this mechanism. Example: In case of success, send email to a...@example.org (Success t

Re: Most downloaded plugins?

2014-06-02 Thread Daniel Beck
This site provides some of that: Plugins by popularity, optionally only those with 500+ or 1000+ installations, in graph format: http://stats.jenkins-ci.org/jenkins-stats/svg/svgs.html On 02.06.2014, at 11:21, James Green wrote: > I'm looking at https://wiki.jenkins-ci.org/display/JENKINS/Plug

Re: Save job configuration returns an Oops page

2014-05-31 Thread Daniel Beck
On 01.06.2014, at 01:43, Slide wrote: > I'll have to make that an error condition then, saving a trigger with no > recipient providers selected wouldn't make much sense. The documentation says 'Recipient List' refers to the 'Project Recipients List', so the Trigger-specific Recipients List wou

Re: Save job configuration returns an Oops page

2014-05-31 Thread Daniel Beck
On 31.05.2014, at 17:47, Slide wrote: > I am unable to reproduce this issue,so more information will be needed to > debug it. Did you restart Jenkins after upgrading the plugin? Reproducible in 2.38: Deselect all recipient providers (culprits, etc.) in a trigger. Save the project. This is a

Re: python script argument misinterpreted in Jenkins Execute Shell step - how to overcome?

2014-05-30 Thread Daniel Beck
Are you sure it changes, or is it only the warped output of bash -x? What version of Jenkins does this occur with? Could you provide a test case anyone can run that demonstrates the problem? Would 'echo' rather than 'sudo myscript.py' do? On 30.05.2014, at 04:55, mpc8250 wrote: > Hi All > >

Re: Multi-configuration Build - Multiple Parameters on Single Axis?

2014-05-29 Thread Daniel Beck
Call them 'A', 'B', and 'C', and derive the Name and URL from that in your build script. Clearly they're not independent axes. On 29.05.2014, at 22:23, Trey Duskin wrote: > We are trying to set up a multi-configuration job in Jenkins with a > user-defined axis that will set multiple parameters

Re: Parameterized Build and SVN

2014-05-29 Thread Daniel Beck
That parameter is provided by the Subversion plugin. It simply allows you to select a branch (or tag, or any folder really) from Subversion as job argument. It doesn't check it out, that's what selecting the Subversion SCM further down in the job config is for. A bit like the "Choice Parameter"

Re: a few Jenkins questions

2014-05-29 Thread Daniel Beck
On 29.05.2014, at 13:37, wak...@comcast.net wrote: > would be a build number reset at some point ? Well, it's an int. After build number 2.147.483.647 it wraps around to -2.147.483.648 and Jenkins basically breaks, failing to show these builds on the UI. Not sure this is a relevant limitation

Re: Jenkins is not Restarted

2014-05-28 Thread Daniel Beck
That's a bug that will be fixed in Jenkins 1.567 or so. https://github.com/jenkinsci/jenkins/pull/1239 On 28.05.2014, at 19:50, srinath0...@gmail.com wrote: > > I'm using java version "1.7.0_45" > > my script is > > export JENKINS_HOME=/home/build/jenkins > export JENKINS_USER="build" > expo

Re: Create Dynamic UnprotectedRootURL

2014-05-27 Thread Daniel Brooks
gt; On 27 May 2014 01:29, Daniel Brooks > > wrote: > >> Ok, heres an example of My Class: >> >> public class WebHook implements UnprotectedRootAction { >> >> public static final String WEBHOOK_URL = "projects"; >> >> public S

Re: Why is the LDAP plugin installed?

2014-05-27 Thread Daniel Beck
It's a plugin that can be updated independently from Jenkins itself, or disabled. It used to be a part of Jenkins core, like the 'Execute Shell script' build step or 'freestyle' project type are. Try disabling those! For (I assume) mostly backwards compatibility reasons it still gets bundled in

Re: Create Dynamic UnprotectedRootURL

2014-05-26 Thread Daniel Brooks
Logger.getLogger(WebHook .class.getName()); } Can you provide me an example of what you are talking about. I'm pretty new to Jenkins Plugin development and there doesn't seem to be any decent documentation. On Monday, May 26, 2014 4:47:12 PM UTC-7, Daniel Beck wrote: > > Direct

Re: Create Dynamic UnprotectedRootURL

2014-05-26 Thread Daniel Beck
ponse, access req.getRestOfPath() to get 'xyz' or 'abc'. Pass that into Jenkins.getInstance().getItemByFullName(...) to process further. On 27.05.2014, at 01:27, Daniel Brooks wrote: > HI, > > I am trying to create a dynamic UnprotectedRootURL, where it will process

Create Dynamic UnprotectedRootURL

2014-05-26 Thread Daniel Brooks
HI, I am trying to create a dynamic UnprotectedRootURL, where it will process anything like /projects/xyz or /projects/abc. Is there a way to currently do this with Jenkins. Thanks, Daniel -- You received this message because you are subscribed to the Google Groups "Jenkins Users&q

Re: Build Flow plugin and DSL editor

2014-05-26 Thread Daniel Beck
No. _That_ is the "DSL editor". The entire documentation is only on the wiki page of the plugin as well, last time I checked. On 26.05.2014, at 18:36, j...@introversion.co.uk wrote: > I was taking a look at the Build Flow plugin > https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin an

Re: How to Triger a Build from java application using REST API

2014-05-26 Thread Daniel Beck
What have you tried? On 26.05.2014, at 12:49, krishna chaitanya wrote: > Hi , > > Any one please help me how to Triger a Build from java application using > REST API. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscrib

Re: Failed to fetch from g....@github.com

2014-05-26 Thread Daniel Beck
On 26.05.2014, at 02:49, john.mel...@gmail.com wrote: > I'm attempting to run Jenkins as a Windows Service, so Jenkins is running > under the Local System Account That's just the default. You can configure the service to run as different user. -- You received this message because you are subs

Re: Promotion Option Missing Since Upgrade

2014-05-23 Thread Daniel Beck
The action 'Promotion Status' exists in the sidepanel of each build since promotions were defined on the project. If that is missing for you, check whether you have enabled all plugin dependencies of Promoted Builds in Plugin Manager -- they no longer get loaded internally if the admin disabled

Re: Jenkins in Winstone vs. Tomcat = poor performance?

2014-05-23 Thread Daniel Beck
On 23.05.2014, at 08:38, Steffen Breitbach wrote: > I guess our installation is quite large, ~1200 jobs, ~10k builds, ~60 views... No idea about Tomcat vs. Winstone, but I'm using Winstone with a patched 1.532.3 that includes fixes to JENKINS-18364 and JENKINS-22720, and it works quite well.

Re: Jenkins daemon does not start correctly

2014-05-21 Thread Daniel Beck
On 21.05.2014, at 17:52, Sapientlife wrote: > no matter where we edit the environment variables To explain what I meant by the following: > within Jenkins in the global and node configuration pages Try to set them here if building on the master node: http://jenkins/configure Global properties

Re: Jenkins daemon does not start correctly

2014-05-21 Thread Daniel Beck
This is not a bug (and actually might be lead to unexpected behavior on a lot of instances). Set your environment variables elsewhere, e.g. within Jenkins in the global and node configuration pages. On 21.05.2014, at 15:49, Sapientlife wrote: > Hi, > > Jenkins daemon is not starting up correc

Re: Mirror instability. many 503 responses

2014-05-19 Thread Daniel Beck
You could always check the mirrors directly (at least when the first redirected request fails). List and status here: http://mirrors.jenkins-ci.org/status.html Call HttpURLConnection.getURL() after it throws to find out where it was redirected in case you care (e.g. for temporarily blacklisting

Re: Is there a text/json/parsable form of http://mirrors.jenkins-ci.org/status.html

2014-05-19 Thread Daniel Beck
http://mirrors.jenkins-ci.org/status.html On 19.05.2014, at 13:34, Kevin wrote: > I'm behind a proxied firewall and want to allow all the mirrors via scripting > without trolling through HTML. Is the mirror list somewhere on github > perhaps? > Thanks > > -- > You received this message beca

Re: Ability to read job config without changing it (re: matrix security)

2014-05-19 Thread Daniel Beck
The plugin is Extended Read Permission Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Extended+Read+Permission+Plugin It does basically what passing -Dhudson.security.ExtendedReadPermission=true to java would do, documented here: https://wiki.jenkins-ci.org/display/JENKINS/Features+controlle

<    7   8   9   10   11   12   13   14   15   16   >