Scaling question - 1500 jobs a night?

2020-04-28 Thread Anthony Wesley
Hiya,

Clear question up front: what additional concerns should I have when 
running 1500 jobs a night?  

Details:
We are using Jenkins to run integration tests for our software.  I wrote a 
pipeline script to operate on a single chunk of data representing a test 
case.  However, I have roughly 1500 permutations of this data.  I have 
never asked this much of Jenkins.  
It finishes quick enough, especially thanks to parallel builds (this is 
precisely why we are using Jenkins to run these tests - we can distribute 
this across our nodes very easily and it handles scheduling for us).  

My guess is that this is well within Jenkins' limits and we are managing 
our workspaces with good hygiene.  A year from now, however, I will have 
ran half a million Jenkins jobs.  Any thoughts on that?

Thank you very kindly,

Anthony Wesley

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7ea69575-295d-45b2-840c-ade499a927ea%40googlegroups.com.


Certificate Credentials Binding: How to use

2019-04-30 Thread anthony . charles . green
I've been unable to find instructions on how to use the certificate setting 
with the credentials binding plugin. Selecting certificate gives you 4 
fields: Keystore Variable, Password Variable, Alias Variable and 
Credentials. Credentials presents a dropdown menu allowing you to select a 
certificate from Jenkins Credentials Store.
I'm trying to test its use with a simple execute shell build step that 
calls curl on an API that requires you to present a certificate.
Advice?
TIA
Anthony


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d92d3ad7-8f13-46fc-aa92-01d1b42aaf6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Injecting environmental variables in build thats uses NodeJS Plugin

2017-11-29 Thread Anthony Green
I have a job that publishes to a private NPM repo.

The job is uses the NodeJS Plugin to provide an instance of node

To publish to NPM you need an .npmrc file specifying your auth token

In Jenkins configuration I have a managed file containing

//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN

with the intention that $NPM_AUTH_TOKEN is injected as an environment 
variable

So under *Bindings*

I add it as a *Secret Text*

just using the system node this works but using the NodeJS Plugin it doesn't

If under *Build Environment* I


*Inject environment variables to the build process*
with the following groovy script


import jenkins.*
import jenkins.model.*
import com.cloudbees.plugins.credentials.Credentials

def credentials = 
com.cloudbees.plugins.credentials.CredentialsProvider.lookupCredentials(com.cloudbees.plugins.credentials.Credentials.class);

def npm_creds =[:]
for (c in credentials) {
  if (c.id == 'NPM_AUTH_TOKEN') {
npm_creds = ['NPM_AUTH_TOKEN': c.secret]
  }
}

return npm_creds

then the NodeJS plug does pick up the NPM_AUTH_TOKEN

Can anyone suggest either:

A simpler groovy script that just uses getCredentialById 

or a simpler way for NodeJS to pick up the environment variable ?

TIA

Anthony


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0023c33f-a283-4d06-9d9c-96d3c1d5669b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: System testing across multiple crossplatform slaves/nodes?

2017-08-07 Thread Anthony Rabaa
Have you considered assigning labels to the nodes?

node(“Windows”) {
// Do some work.
}

node(“Linux”) {
// Do some other work.
}

From:  on behalf of Alexander Moriarty 

Reply-To: "jenkinsci-users@googlegroups.com" 
Date: Friday, August 4, 2017 at 9:08 AM
To: Jenkins Users 
Subject: System testing across multiple crossplatform slaves/nodes?

Hello,

I'm working with a legacy system which is using Jenkins for automated testing, 
and attempting to upgrade and modernize it.

The issue is, that it is a large cross platform project. Where a job usually 
must have at least two nodes at the same time: one big Linux node and one 
smaller windows node.
For example: start a simulator/emulator on windows, and then start the rest of 
the software on Linux. In production, the simulator/emulator is replaced with a 
physical machine.

Currently, the solution has been to set up the Linux nodes as usual Jenkins 
slaves, and then manually map each executor node to a windows VM... The pool of 
Windows machines aren't known by Jenkins.
The current situation is and has been working. But you can imagine this doesn't 
scale dynamically, which is a requirement for the future.
There are some jobs which do not require both a Linux and Windows pair, so 
while those are run it would be nice to have the pairs not so statically bound 
to each other.

Work has begun to containerize and port everything to Linux, but in the 
meantime are there other Jenkins users who have similar requirements?

Thanks,

Alexander Moriarty
--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ca01f9ed-073b-4682-a0d8-85b607e5d717%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/13A83994-EBEB-4A0B-85C5-3281240B1025%40telus.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins Workspace

2016-09-08 Thread Anthony Talak
Hi everyone,

I'm wondering where on the server Jenkins would store the default 
workspace. I would assume it should be under 
Jenkins/jobs/[jobname]/builds/[buildnumber] but mine keeps getting stored 
at Jenkins/jobs/[jobname] and gets overwritten every time.

Is this correct?

Thanks,

Anthony

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2142c4d1-7bf5-4c29-a44b-47038f61dab2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Git Plugin showing Unknown user for all recent changes

2015-08-24 Thread Anthony Hunter
This is definitely a problem with the Git Plugin to use LDAP to lookup user 
information about commits. We need to stop this from occurring. Git Plugin 
should not lookup anything from the global security. Know how to do this? 
Any ideas?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e4826aa9-e5c6-4b70-b723-dd0b32385e0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding User permissions with groovy

2015-08-20 Thread Anthony Green


On Thursday, 20 August 2015 13:47:05 UTC+1, Anthony Green wrote:
>
> This was my solution
>
> import jenkins.model.*
> import hudson.security.*
>
> def instance = Jenkins.getInstance()
>
> def strategy = new GlobalMatrixAuthorizationStrategy()
> strategy.add(Jenkins.ADMINISTER, "foo")
> strategy.add(Jenkins.READ, 'baz')
> strategy.add(Item.DISCOVER, 'baz')
> strategy.add(Item.READ, 'baz')
> strategy.add(Item.BUILD, 'baz')
>
> instance.setAuthorizationStrategy(strategy)
>
> instance.save()
>
>
Actually although this worked in the script console it doesn't work in 
init.groovy.d 

you get the error

Failed to run script 
file:/var/jenkins_home/init.groovy.d/ConfigureSecurity.groovy
groovy.lang.MissingPropertyException: No such property: Item for class: 
ConfigureSecurity
at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
at 
org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)

restarting jenkins and the settings are applied.

Any pointers as to what's going wrong? 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c5051ada-198b-4f44-8adb-479ce6328b3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding User permissions with groovy

2015-08-20 Thread Anthony Green
This was my solution

import jenkins.model.*
import hudson.security.*

def instance = Jenkins.getInstance()

def strategy = new GlobalMatrixAuthorizationStrategy()
strategy.add(Jenkins.ADMINISTER, "foo")
strategy.add(Jenkins.READ, 'baz')
strategy.add(Item.DISCOVER, 'baz')
strategy.add(Item.READ, 'baz')
strategy.add(Item.BUILD, 'baz')

instance.setAuthorizationStrategy(strategy)

instance.save()

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/061670e0-5bb3-4bec-8172-a6c0174384d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adding User permissions with groovy

2015-08-20 Thread Anthony Green
Has anyone managed to script the authorisation levels of a user with Groovy?

I have the beginnings of a script:

import jenkins.model.*
import hudson.security.*

def instance = Jenkins.getInstance()
def hudsonRealm = new HudsonPrivateSecurityRealm(false)

instance.setSecurityRealm(hudsonRealm)

hudsonRealm.createAccount("admin_username", "admin_password")
hudsonRealm.createAccount("developer_username", "developer_password")

def adminStrategy = new GlobalMatrixAuthorizationStrategy()
adminStrategy.add(Jenkins.ADMINISTER, "admin_username")

instance.setAuthorizationStrategy(adminStrategy)

instance.save()


but I can't figure out how to add READ permissions for the user 'developer'

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f51b32d2-a1e2-4f26-a20a-c76cf615ca7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins Git Plugin showing Unknown user for all recent changes

2015-08-17 Thread Anthony Hunter
Hi Team,

I have a Jenkins server version 1.623 running under WebSphere Liberty 
Profile. We are using LDAP for authentication and all authenticated users 
from LDAP are in a AimUsers group. You need to log into Jenkins with your 
LDAP account and Configure Global Security uses LDAP with Matrix-based 
security authorization.

We are running Jenkins jobs against several GIT repositories, none of which 
are connected to this LDAP authentication. Some are open source projects, 
etc.

When we look at the recent changes view in jobs building from the GIT 
repositories, all the changes show as:

#51 (17-Aug-2015 15:38:18)

— unknown / detail

The unknown user link shows as:

Jenkins User Id: unknown
Groups:

   - AimUsers
   - ROLE_AIMUSERS

Which seems to indicate the users are being looked up in LDAP and are 
showing as unknown.

If I go to the asyncPeople view, I can see that all the users from the GIT 
repositories were correctly brought down, I can see the Userid and name 
from GIT.

Is there some way to fix this issue? I do not want the Git Plugin to use 
anything from LDAP.

Cheers...
Anthony

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/02678fb5-3108-4d04-9868-b7ad848bebbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Invoking top-level Maven targets on a slave

2015-07-22 Thread Anthony Green
On Tuesday, 21 July 2015 13:21:37 UTC+1, Anthony Green wrote:
>
> I''m running a Jenkins Ubuntu Master with an OS X Slave
>
> I can't get a build step "Invoking top-level Maven targets" to run on a 
> slave.
>
> I get a 
>
> FATAL: command execution failed
>
> java.io.IOException 
> <http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>: Cannot 
> run program "mvn"
>
>
Could the cause be this open Jenkins bug?

https://issues.jenkins-ci.org/browse/JENKINS-3474 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/42807aae-d2e5-452f-bd8d-35aedf96e647%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Invoking top-level Maven targets on a slave

2015-07-21 Thread Anthony Green
I''m running a Jenkins Ubuntu Master with an OS X Slave

I can't get a build step "Invoking top-level Maven targets" to run on a 
slave.

I get a 

FATAL: command execution failed

java.io.IOException 
: Cannot run 
program "mvn"

I've tried setting environment variables and that works for a shell script 
build step but not a Maven build step.
I've tried setting Tool Locations on the slave to point at the slave's Maven 
installation and that doesn't work.

How is this supposed to be accomplished? 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/92f3f50e-b18e-4f82-a437-219c968d9957%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Tool locations dropdown empty

2015-07-20 Thread Anthony Green
On Monday, 20 July 2015 14:26:10 UTC+1, Daniel Beck wrote:
>
> You need to configure tools first in Manage Jenkins » Configure Jenkins. 
>
> That dropdown is also empty 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/69b4e1ec-ff18-41d8-9509-ee17838b475e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Tool locations dropdown empty

2015-07-20 Thread Anthony Green
I want to customise the tool locations of my Jenkins Slaves 
However when I click add to the List of tool locations the 'Name' dropdown 
menu is empty.

Is this a bug or is the a pre-step I've missed out?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/54f62439-95a4-4d89-b56f-f963c2cebd2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins-cli never respond

2015-06-26 Thread Anthony Green

>
>
> Everybody is right :)  The CLI client automatically discovers the JNLP 
> port and communicates via that.  So, as Richard mentions, you don't need 
> to know the JNLP port — you just provide the regular Jenkins web URL 
> when running the CLI client command. 
>

Except perhaps your containerising it with Docker and then you have to port 
forward from the host to the container ?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7fdabe39-03c8-47d3-9035-55b439140f1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins-cli never respond

2015-06-25 Thread Anthony Green


On Wednesday, 24 June 2015 10:38:05 UTC+1, Richard Bywater wrote:
>
> The CLI doesn't use the JNLP port - you need to point it at the normal web 
> port (e.g. 8080)
>>
>>
>>
Are you sure? What I've read regarding setting up Jenkins in a Docker 
suggests that's exactly what it uses.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d77c4ab3-d808-493b-85bb-14ef7dbf49a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Fixing TCP port for JNLP slave agents from command line

2015-06-25 Thread Anthony Green
On Thursday, 25 June 2015 12:03:30 UTC+1, Anthony Green wrote:
>
> Can it be done via the CLI or with curl as a POST request? 
>

I've experimented with a POST request 

curl -X POST -d 
'.useSecurity=on&slaveAgentPort.type=fixed&value=2230&core%3Aapply=true&json=%7B%22useSecurity%22%3A+%7B%22slaveAgentPort%22%3A+%7B%22type%22%3A+%22fixed%22%2C+%22value%22%3A+%30%22%7D%7D%2C+%22core%3Aapply%22%3A+%22true%22%7D'
 
--header 'Content-Type: application/x-www-form-urlencoded' 
http://localhost:8080//configureSecurity/configure 

This does set the port to a fixed number

Don't know if there's a better way 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c6447d94-34a1-41a1-9a5b-f4008e04195b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Fixing TCP port for JNLP slave agents from command line

2015-06-25 Thread Anthony Green


On Thursday, 25 June 2015 10:14:56 UTC+1, Vincent Latombe wrote:
>
> Hi,
>
> this can be configured under Manage Jenkins > Configure global security.
>
> Vincent
>

That's not from the command line. 

Can it be done via the CLI or with curl as a POST request? 
Has anyone scripted it?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/389d0ce1-a327-4acc-832b-61e21ab2e8d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fixing TCP port for JNLP slave agents from command line

2015-06-25 Thread Anthony Green
Is it possible to fix the TCP port for JNLP slave agents from command line?
I'm trying to automated the installation and configuration of Jenkins, in a 
Docker container, via Ansible and am trying to use the Jenkins CLI to 
install the job-dsl plugin.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a557f1b1-3810-4651-bfdc-c07c4e02028e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins CLI not working OSX

2015-06-22 Thread Anthony Green
On Monday, 22 June 2015 10:14:55 UTC+1, Richard Bywater wrote:
>
> I assume Jenkins has been started? (Not sure if downloading via Homebrew 
> automatically starts it)
>
> Richard
>

Jenkins is running, responding 200 to http requests 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ab2b354d-5429-4cdd-a8fb-972ec334e814%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins CLI not working OSX

2015-06-22 Thread Anthony Green
Steps to reproduce

1. Install Jenkins via Homebrew
2. Download jenkins-cli.jar -
3. run

java -jar jenkins-cli.jar -s http://localhost:8080/ help

response:

Enter passphrase for /Users/jenkins/.ssh/id_rsa:

Exception in thread "main" java.io.IOException: There's no Jenkins running 
at http://localhost:8080/

at hudson.cli.CLI.getCliTcpPort(CLI.java:281)

at hudson.cli.CLI.(CLI.java:126)

at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)

at hudson.cli.CLI._main(CLI.java:466)

at hudson.cli.CLI.main(CLI.java:382)

Suppressed: java.net.SocketException: Connection reset

 at java.net.SocketInputStream.read(SocketInputStream.java:209)

 at java.net.SocketInputStream.read(SocketInputStream.java:141)

 at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

 at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

 at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

 at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)

 at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)

 at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:675)

 at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535)

 at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)

 at hudson.cli.FullDuplexHttpStream.(FullDuplexHttpStream.java:78)

 at hudson.cli.CLI.connectViaHttp(CLI.java:156)

 at hudson.cli.CLI.(CLI.java:130)

 ... 3 more

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/46df016d-9e73-4912-bcb5-e5f8eec95367%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Immediate Requirement || .Net Developers with javacsript@Jersey City, NJ

2015-01-19 Thread طلال Anthony رابعة
Any chance we can add this guy to a spam list? This isn’t the place for job 
postings…

> On Jan 19, 2015, at 11:56 AM, Anurag Singh  wrote:
> 
> Please find the detailed job description mention below.
> 
> It will be really appreciated if you can provide me your updated resume at 
> your earliest.
> 
> Looking forward for your response.
> 
> JOB Title : .Net WPF, Javascript UI Developers
> Location  : Jersey City, NJ
> Duration :  12+ Months
> 
> Job description:
> 
> Need locals who can come for F2F 
>  Responsibilities 
>  - Application user interface development in C# / .NET or JavaScript 
>  - Analysing and developing WPF/Javascript user interfaces in a sophisticated 
> framework 
>  - Supporting a complex, high volume critical business 
>  - Producing well-tested, performant code to tight timelines 
>  - Working with a cross-functional, cross-regional team of developers, 
> project analysts and managers 
>  - Work independently and able to thrive in a challenging environment 
>  Basic Qualifications 
>  - Experience working with and supporting demanding users in a global 
> environment 
>  - Practical expertise in C# / .NET or Javascript/AngularJS user interface 
> development 
>  - Experience building complex applications in WPF 
>  - Strong analytical skills 
>  - At least 3 years of hands-on software development experience in a 
> commercial environment
> Immediate
> 
> -- 
> Thanks & Regards,
>  
> Anurag Singh
> Phone: 609-897-9670 x 2188 
> Email: anurag.sysm...@gmail.com 
> Fax: 609-228-5522
> Address: 38 Washington Road, Princeton Jn, NJ 08550 
> 
> 
> 
> -- 
> 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/CAPz5vzs0NvXGPdgmG6BcvS1xYYt3Y%2BPXrsBQ%3D7TcjjGcpWesrA%40mail.gmail.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3FD877AF-1239-43FB-A5E2-FAD1650BC9CC%40rabaa.ca.
For more options, visit https://groups.google.com/d/optout.


Re: is there plugin for following scenario

2014-10-31 Thread طلال Anthony رابعة
How about using a file parameter 
 and the 
conditional build step 
 to 
determine if a file was provided? If it wasn’t, you can fall back to using a 
default file.

> On Oct 31, 2014, at 6:45 AM, niraj nandane  wrote:
> 
> 
> Hi All,
> I need plugin for following sceanrio.
> When i start a build ,it should provide a checkbox asking "custom_build". If 
> i check checkbox then it should allow me to upload files like "file 
> parameter". The problem with file parameter is i have to update the project 
> every time . I want it to ask for file path at run time only.
> -- 
> Thanks and regards
> Niraj Nandane(Vit pune)
> 
> 
> -- 
> 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 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

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


Re: JOB_NAME not being passed correctly with Parametrized Trigger Plugin

2014-10-30 Thread T. Anthony Rabaa
If you're building on the same node, why not pass in the full path to the 
libraries as a parameter? 

> On Oct 27, 2014, at 11:04 AM, Adam Mercer  wrote:
> 
> Hi
> 
> Anyone? Surely the plugin shouldn't be stripping information when
> passing it on to downstream jobs?
> 
> Cheers
> 
> Adam
> 
>> On Thu, Oct 23, 2014 at 5:15 PM, Adam Mercer  
>> wrote:
>> Hi
>> 
>> I'm trying to tie a couple of jobs together using the Parametrized
>> Trigger Plugin and am running into problems with the second job
>> finding the libraries built by the first job.
>> 
>> When the first job completes successfully I trigger a build of the
>> second job, I'm forcing it to use the same node so that it can find
>> the libraries. In the first job I install the libraries to a location
>> on the build slave dependent upon the JOB_NAME and BUILD_NUMBER
>> variables. I use the Parametrized Trigger Plugin to pass these onto
>> the second job. However it look like that value of JOB_NAME that is
>> getting passed on is incorrect and as such the library can't be found
>> by the second job and the build fails.
>> 
>> In order to start debugging this I printed out the value of JOB_NAME
>> from the first job and the value that was passed to the second job,
>> they differed. In the first job JOB_NAME is set to
>> LALSuite/LAL/label=sl6 whereas is the second job it is seeing
>> LALSuite/LAL, i.e. the label=sl6 is being dropped.
>> 
>> Any ideas why this label information is not being passed along?
>> 
>> Cheers
>> 
>> Adam
> 
> -- 
> 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.
> For more options, visit https://groups.google.com/d/optout.

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


Re: Custom Views for Users

2014-10-14 Thread طلال Anthony رابعة
Yea... That's exactly what I was looking for. Right there in front of me and I 
totally missed it. ;-)

Thanks!

   Anthony

On Oct 14, 2014, at 8:02 PM, Richard Bywater  wrote:

> If they are logged in, they should be able to go to 
> /user//my-views and create new views under there.
> 
> Not sure if that's what you are referring to though?
> 
> Richard.
> 
> On Wed, Oct 15, 2014 at 12:57 PM, طلال Anthony-Peter-Thomas رابعة 
>  wrote:
> Good evening,
> 
> I've been searching for a way to let users create personal custom views in 
> Jenkins. Couldn't find anything. Anybody have any pointers?
> 
> Regards,
> 
>T. Anthony Rabaa (طلال رابعة)
> 
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> 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.
> For more options, visit https://groups.google.com/d/optout.

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


Custom Views for Users

2014-10-14 Thread طلال Anthony-Peter-Thomas رابعة
Good evening,

I've been searching for a way to let users create personal custom views in 
Jenkins. Couldn't find anything. Anybody have any pointers?

Regards,

   T. Anthony Rabaa (طلال رابعة) 

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


Re: Run A Script on Delete Project?

2014-09-17 Thread T. Anthony Rabaa
Create a job for deleting other jobs. I have a job that, for a specified tab 
will iterate over each job in it and delete all workspaces across the nodes for 
it. Then it deletes all the jobs, then the tab. You can build one to do 
database cleanup before deleting the job.

> On Sep 15, 2014, at 6:58 AM, Robert Dunkley  wrote:
> 
> Is it possible to run a Bash or Groovy script every time a job is deleted? 
> Need to cleanup MySQL DB and a few other bits when a job is deleted.
> -- 
> 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.
> For more options, visit https://groups.google.com/d/optout.

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


Re: Swing UI tests on Linux Slaves

2014-09-12 Thread طلال Anthony-Peter-Thomas رابعة
Same here, Xvfb works great. I believe there's a plugin to instantiate a new 
instance of Xvfb with each build but I haven't used it. I run a single instance 
of Xvfb on each slave because our tests can't be run in parallel. 

> On Sep 12, 2014, at 12:39 PM, Chanda Unmack  wrote:
> 
> 
> 
>> On Fri, Sep 12, 2014 at 4:27 AM, Laurent Malvert  
>> wrote:
>> Hello,
>> 
>> I was wondering if there are any recommendations or best practices on a 
>> typical setup for running jobs on a Linux slave, when said job contains some 
>> unit tests that require access to the GUI?
>> 
>> I'd be in favor or keeping these to a minimum, but at the moment we're 
>> trying to move our slaves away from Windows nodes (started using the JNLP 
>> launcher) to Linux nodes (started over SSH) because of too many issues using 
>> the Windows slaves (rather large workspaces with file locking issues when 
>> attempting to delete them, etc...). This is working fine so far, except that 
>> all our GUI tests are failing as currently our linux slaves are headless. 
>> There's a graphical environment installed, but when the SSH slave plugin 
>> initiates the connection it opens a normal SSH connection without exporting 
>> the display and it doesn't have control of the node's display.
>> 
>> So, what would be the proper way to run GUI tests on Linux nodes started 
>> using the SSH Slaves Plugin?
>> 
>> Thanks in advance for your suggestions.
>> 
>> -- 
>> Laurent Malvert
>> 
>> -- 
>> 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.
>> For more options, visit https://groups.google.com/d/optout .
> 
> Don't know about proper or best practices, but I've used xvfb (sometimes with 
> selenium) in several places. It hasn't been all smooth sailing, but it's been 
> reliable enough for our purposes.
> 
> ymmv
> chanda
> 
> -- 
> Confidentiality Notice: This e-mail, including all attachments, is 
> confidential information of Lytro, Inc. If the reader of this e-mail is not 
> the intended recipient or its authorized agent, the reader is hereby notified 
> that any dissemination, distribution or copying of this e-mail is prohibited. 
> If you have received this e-mail in error, please notify the sender by 
> replying to this message and delete this e-mail immediately.
> -- 
> 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.
> For more options, visit https://groups.google.com/d/optout.

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


Re: Cloud Connectivity with Private Network

2014-09-12 Thread طلال Anthony-Peter-Thomas رابعة
SSH reverse tunnel?

> On Sep 10, 2014, at 9:22 AM, Sajith Balakrishnan 
>  wrote:
> 
> Hi All
> 
> We have a private network. However our applications / build servers(slaves) 
> are hosted on a Cloud.
> 
> We are trying to Orchestrate the build / testing process Using Jenkins which 
> has to reside on the Private Network.
> 
> The issue is that the from the Private Network; we are unable to establish 
> connectivity to the cloud servers even though a PROXY server.
> 
> Has anyone tried establish such a connectivity or Orchestration? If so could 
> you please let me know how to achieve the connectivity with minimal or zero 
> network changes (No Outside world access to be provided)
> 
> 
> Regards,
> Sajith
> -- 
> 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.
> For more options, visit https://groups.google.com/d/optout.

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


Re: Copy files from multiple downstream jobs

2014-09-12 Thread anthony
I researched this years ago and couldn't find a viable solution. Rather 
than pulling artifacts from downstream jobs I opted to push them by 
specifying a parameter with the output directory path. In my case, the 
jobs are all building with Ant. The parent job would build, then call on 
the other jobs with the parameter $OUTPUT_DIR=$WORKSPACE/some_directory. 
The child jobs would run, passing the parameter to Ant. These in turn 
would save their artifacts in the parent job. Once all child jobs were 
complete the parent would continue final processing then artifact 
everything in $WORKSPACE/some_directory.


The downside to this is all child jobs must run on the same node. Hope 
this helps!


On 2014-09-09 04:23, Omer Weissman wrote:

Hello,

We are trying to copy files from multiple downstream jobs back to the
main job.
The main job triggers the builds using a parametrized trigger "invoke
i=0...N builds"
We are doing it inorder to achieve parallelization of a long task.

I could not find a way to copy files back, as the copy artifacts
plugin does not recognize all the jobs , but only the last one.
the copy behavior I am trying to achieve is similar to the way
"parallel test executor" plugin copy the specified files back to the
main job.

Is there a way to do it ? did I miss something in the copy artifacts
plugin ?

Thanks,
Omer

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


Links:
--
[1] https://groups.google.com/d/optout


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


Re: Upload artifacts to DropBox/Google drive ?

2014-07-20 Thread طلال Anthony-Peter-Thomas رابعة
Install Dropbox on the Jenkins master and publish by copying to the appropriate 
Dropbox directory?

> On Jul 20, 2014, at 1:21 PM, Kaido Kert  wrote:
> 
> Hi,
> 
> Is there an existing way to get artifacts published on either GoogleDrive or 
> Dropbox ?
> Amazon S3 buckets and GoogleStorage are there of course, but thats not quite 
> what i want.
> 
> If its somehow possible through one of the CIFS/Samba plugins, that would 
> work, too.
> 
> -kert
> -- 
> 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.
> For more options, visit https://groups.google.com/d/optout.

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


Re: unit testing from shell scripts?

2012-12-07 Thread Anthony Shortland
Hi Bill, 

Are you aware of Rerun (http://rerun.github.com/rerun) and its ability to 
formally manage shell script test cases?

Anthony.

Sent from my iPhone

On Dec 7, 2012, at 7:48 AM, Bill Trost  wrote:

> Hi,
> 
> I need to run a set of unit tests that simply consist of seeing if
> two files are identical. There are all kinds of Unix tools (diff,
> cmp, comm, etc.) that can provide the basic information, but how do
> I translate that into unit test results that Jenkins can understand
> and display? Simply emitting XML for xUnit parser seems a bit crude.
> 
> Thanks,
> Bill


Automating Jenkins with Rerun

2012-11-27 Thread Anthony Shortland
If you're anything like us you spend a lot of time installing and 
blowing-away Jenkins as well as setting up and maintaining sets of jobs.

It's a bit tedious to do this manually, of course, so we've put together a 
shell script-based module with the view of automating the whole process.

There's some way to go to make it really comprehensive, but its useful 
enough now that I feel ready to ask people on this list to take a look and 
give me feedback on how it might be improved.

You can fork rerun-modules 
<https://github.com/rerun-modules>/jenkins<https://github.com/rerun-modules/jenkins>
 on 
GitHub if you're interested in experimenting with the source code, or just 
follow 
README.md<https://github.com/rerun-modules/jenkins/blob/master/README.md> if 
you just want to install it and take it for a spin.

A word to the wise: the jenkins:remove command *really* *does* blow-away 
Jenkins as easily and automatically as jenkins:deploy sets it up ... so be 
careful out there!

Anthony Shortland.



Re: WarningsPublisher aborted due to exception

2012-09-04 Thread طلال Anthony رابعة
Ignore this. I see it's released.

Thank you!

   Anthony

On 2012-09-04, at 12:19 PM, طلال Anthony رابعة wrote:

> You mean this ticket (to which you are the assignee I see :-])?  If so, it's 
> similar (the stack trace that is) to mine but not the same.  So far I've 
> observed the following:
> 
> The plugin has the Eclipse compiler specified.
> It's not 100% reproducible.
> 
> Do you know when 4.16 is scheduled to be released?
> 
> Cheers!
> 
>Anthony
> 
> On 2012-09-04, at 12:10 PM, Ulli Hafner wrote:
> 
>> 
>> On 09/04/2012 04:48 PM, طلال Anthony رابعة wrote:
>>> Good morning!
>>> 
>>> Has anybody seen this error before?  I've done a little Googling but 
>>> haven't uncovered an exact match.
>> 
>> What about searching in Jira? ;-)
>> 
>> This issue has been fixed in 4.16.
>> 
>> Ulli
>> 
>>> 
>>> ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to 
>>> exception
>>> java.lang.NullPointerException
>>>  at 
>>> hudson.plugins.warnings.WarningsResult.getFileName(WarningsResult.java:108)
>>>  at 
>>> hudson.plugins.warnings.WarningsResult.getSerializationFileName(WarningsResult.java:94)
>>>  at 
>>> hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:481)
>>>  at 
>>> hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:866)
>>>  at 
>>> hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:850)
>>>  at 
>>> hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:990)
>>>  at 
>>> hudson.plugins.analysis.core.BuildResult.getAnnotations(BuildResult.java:563)
>>>  at 
>>> hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:373)
>>>  at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
>>>  at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
>>>  at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
>>>  at hudson.model.Build$BuildExecution.post2(Build.java:183)
>>>  at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
>>>  at hudson.model.Run.execute(Run.java:1527)
>>>  at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>>>  at hudson.model.ResourceController.execute(ResourceController.java:88)
>>>  at hudson.model.Executor.run(Executor.java:236)
>>> 
>>> Regards,
>>> 
>>>T. Anthony Rabaa (طلال رابعة) 
>>> 
>>> 
>>> 
>> 
> 



Re: WarningsPublisher aborted due to exception

2012-09-04 Thread طلال Anthony رابعة
You mean this ticket (to which you are the assignee I see :-])?  If so, it's 
similar (the stack trace that is) to mine but not the same.  So far I've 
observed the following:

The plugin has the Eclipse compiler specified.
It's not 100% reproducible.

Do you know when 4.16 is scheduled to be released?

Cheers!

   Anthony

On 2012-09-04, at 12:10 PM, Ulli Hafner wrote:

> 
> On 09/04/2012 04:48 PM, طلال Anthony رابعة wrote:
>> Good morning!
>> 
>> Has anybody seen this error before?  I've done a little Googling but haven't 
>> uncovered an exact match.
> 
> What about searching in Jira? ;-)
> 
> This issue has been fixed in 4.16.
> 
> Ulli
> 
>> 
>> ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to 
>> exception
>> java.lang.NullPointerException
>>  at 
>> hudson.plugins.warnings.WarningsResult.getFileName(WarningsResult.java:108)
>>  at 
>> hudson.plugins.warnings.WarningsResult.getSerializationFileName(WarningsResult.java:94)
>>  at 
>> hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:481)
>>  at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:866)
>>  at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:850)
>>  at 
>> hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:990)
>>  at 
>> hudson.plugins.analysis.core.BuildResult.getAnnotations(BuildResult.java:563)
>>  at 
>> hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:373)
>>  at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
>>  at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
>>  at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
>>  at hudson.model.Build$BuildExecution.post2(Build.java:183)
>>  at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
>>  at hudson.model.Run.execute(Run.java:1527)
>>  at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>>  at hudson.model.ResourceController.execute(ResourceController.java:88)
>>  at hudson.model.Executor.run(Executor.java:236)
>> 
>> Regards,
>> 
>>T. Anthony Rabaa (طلال رابعة) 
>> 
>> 
>> 
> 



WarningsPublisher aborted due to exception

2012-09-04 Thread طلال Anthony رابعة
Good morning!

Has anybody seen this error before?  I've done a little Googling but haven't 
uncovered an exact match.

ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to 
exception
java.lang.NullPointerException
at 
hudson.plugins.warnings.WarningsResult.getFileName(WarningsResult.java:108)
at 
hudson.plugins.warnings.WarningsResult.getSerializationFileName(WarningsResult.java:94)
at 
hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:481)
at 
hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:866)
at 
hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:850)
at 
hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:990)
at 
hudson.plugins.analysis.core.BuildResult.getAnnotations(BuildResult.java:563)
at 
hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:373)
at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
at hudson.model.Run.execute(Run.java:1527)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)

Regards,

   T. Anthony Rabaa (طلال رابعة) 





Ubuntu's Java and Oracle's Java

2012-08-29 Thread طلال Anthony رابعة
Hello!

My Jenkins installation is running on a dated Ubuntu server. The version of 
Java installed via apt is 1.6.0_10.  This version runs Jenkins.

The Jenkins installation has Oracle's JDK 1.6.0_34 setup in its configuration. 
Our job configuration uses this JDK for its JAVA_HOME.  I noticed another 
environment variable, PATH+JDK pointing to $JAVA_HOME/bin.

Here's the kicker. 1.6.0_10 suffers from a bug with generics. It was fixed 
before _34 was released, yet this Jenkins job is failing as a result of it.

I had expected $JAVA_HOME/bin/javac would be the compiler used by Ant for the 
job, however it appears that I'm incorrect. Instead, it looks like 
/usr/bin/java is being called instead.

How can I get Jenkins to use $JAVA_HOME/bin/javac, from within Jenkins?

Regards,

   T. Anthony Rabaa (طلال رابعة) 

1.476 & Error 404

2012-08-01 Thread طلال Anthony رابعة
Hello,

Anybody else getting 404'd when trying to download 1.476?

Cheers!

   Anthony


Re: Help with artifacts archiving

2012-07-27 Thread طلال Anthony-Peter-Thomas رابعة
Hello,

I have a similar process.  Promotions can't archive the artifacts so what I did 
instead was create a second project…

* First project runs.  If successful, it creates an artifact of the 
distribution.
* If promoted, it calls on the second project to perform the task.
* Second project uses the copy plugin to copy the artifact into its workspace 
and perform actions.
* Both first and second project get marked as keep forever.

It means the first project will be bloated with artifacts.  Jenkins is running 
on a server with a 300 Gig HD to account for this (each distribution is one 
gig).

Cheers!

   Anthony

On 2012-07-27, at 9:26 AM, Mauro Molinari wrote:

> Hello,
> I'm quite new to Jenkins and I need some help with archiving artifacts.
> I have my project and I can build it correctly.
> Then, in the project configuration I set:
> 
> Promote builds when...
> Only when manually approved
> Actions: 
> 1) archive the artifacts; files to archive: master/build/distributions/*
> 2) keep build forever
> 
> The first problem I see is that I can't promote a build which was done before 
> I enabled the "Promote builds when..." check box: there's no "Promotion 
> status" link for it. Anyway, that link appears for builds made after the 
> option was enabled, but even if the promotion seems to go successfully, I 
> can't understand where the archived artifacts are put and/or how I may be 
> able to access them.
> 
> In fact, I don't see any new link in the build page, nor in the project page. 
> I just see that my promoted build is marked to be kept forever.
> 
> Thanks in advance for any help,
> Mauro.



Promote Plugin Configuration

2012-06-28 Thread طلال Anthony رابعة
Hello!

I noticed that when I copy jobs, the configuration for the Promote Plugin 
doesn't get copied with it.  Nothing revealed itself with regard to the Promote 
Plugin in the config.xml file for the job either.  Where can I find the promote 
config associated with a job I'm looking to copy?

Cheers!

   Anthony

Setting Build ID with Promote

2012-06-19 Thread طلال Anthony رابعة
Hello!

I have the set build name and promote plugins installed.  However, it seems I 
don't have the action option to set the build name in promote.  Can anybody 
recommend other strategies I could use to set it?  I'd like it to only be set 
when a promote has occurred.

Cheers!

   Anthony

Re: jenkins_1.469_all.deb missing!

2012-06-11 Thread طلال Anthony رابعة
The auto-updater is also failing.  It can't resolve the URL to the latest 
version.

   Anthony

On 2012-06-11, at 8:59 AM, Sebastián Zaffarano wrote:

> I've the same problem:
> 
> E: Fallo al renombrar 
> http://pkg.jenkins-ci.org/debian/binary/jenkins_1.469_all.deb:
> 404  Not Found
> 
> OS:
>   Ubuntu 12.04 LTS
>   Linux ariadna 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17
> UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
> 
> Regards
> 
> On Jun 11, 3:24 am, moki  wrote:
>> Hi,
>> 
>> I tried unsuccessfully upgrading of jenkins on our GNU/Linux Debian
>> machine.
>> It seems the package jenkins 1.469 is missing:
>> 
>> Errhttp://pkg.jenkins-ci.org/debian/binary/ jenkins 1.469
>>   404  Not Found
>> 
>> And in the web site, the link jenkins_1.469_all.deb 
>> athttp://pkg.jenkins-ci.org/debian/has sent back a 404 web page.



Re: Build Name Setter Plugin

2012-06-11 Thread طلال Anthony رابعة
Awesome, thanks for the info!

   Anthony

On 2012-06-11, at 8:58 AM, cjo wrote:

> Yes the build name setter does support this.
> 
> 
> I just leave the Regular expression empty, so all builds get a name, and then 
> set the Description as one of the parameters passed in.
> Though you might need to set for the Failed builds (under advanced) as well.
> 
> This is also passed to down stream jobs so I have a chain of 5-6 jobs that 
> all have the same 
> build description that is set in the first job. Makes tracking issues down a 
> bit easier 
> 
> 
> 
> Chris
> 
> On Monday, June 11, 2012 1:40:33 PM UTC+1, Talal Rabaa wrote:
> Hello! 
> 
> Could I set the value of a build name to a parameter passed in?  I'm using 
> the parameterized trigger plugin to call other jobs and it'd be nice to 
> simply use one of those parameters directly. 
> 
> Cheers! 
> 
>Anthony



Build Name Setter Plugin

2012-06-11 Thread طلال Anthony رابعة
Hello!

Could I set the value of a build name to a parameter passed in?  I'm using the 
parameterized trigger plugin to call other jobs and it'd be nice to simply use 
one of those parameters directly.

Cheers!

   Anthony

Re: Using CopyArtifacts Plugin for Parameterized Projects

2012-05-31 Thread طلال Anthony رابعة
I was trying to do a similar thing but the copy artifact plugin wasn't working 
for me.  Instead I pass in the URL of the artifacts for the job I'm promoting 
and use curl to retrieve it.  Works like a charm. :-)

   Anthony

On 2012-05-24, at 2:02 PM, Bob Dixon wrote:

>   I'm trying to create a single promotion job for use by the Promoted Builds 
> plugin that can promote builds from more than one project.
>  
>   I need the artifacts from a Windows build so I can run the promotion on a 
> Unix machine, so I'm trying to use the Copy Artifacts plugin in the promotion 
> job.
>  
>   I need the project name of the build being promoted, so I tried triggering 
> a parameterized build with the promotion plugin and setting a parameter to 
> $PROMOTED_JOB_NAME.  I know the parameter is being passed correctly because I 
> get this error:
>  
> Unable to find project for artifact copy: EC_5.2
> This may be due to incorrect project name or permission settings; see help 
> for project name in job configuration.
> Build step 'Copy artifacts from another project' marked build as failure
>  
>   If I type "EC_5.2" in the box as the project name it works correctly, as 
> this is the name of the project.
>  
>   Just wondering if it's obvious what I'm doing wrong, or if there's another 
> way to do what I'm trying to do.  I just need one file from the build being 
> promoted.  My next idea is to see if I can do anything with $PROMOTED_URL.  
> i.e. if I can use the URL to copy from in some way.
>  
>   TIA,
>  
> Bob



Exception when executing the batch command : null

2012-05-24 Thread Anthony Newnam
I am getting the error:

*02:47:06*  Exception when executing the batch command : null

Sometimes when trying to run a post build task. Have others seen this? It seems 
there is an exception without a message in it 
(https://svn.jenkins-ci.org/trunk/hudson/plugins/postbuild-task/src/main/java/hudson/plugins/postbuildtask/PostbuildTask.java).

Here is my post build task:
if exist .git\lock (
  del .git\lock
)

I have to do this because https://issues.jenkins-ci.org/browse/JENKINS-12513 
isn't complete yet.



Re: more graphs from junit tests?

2012-05-24 Thread Anthony Newnam
On Thursday, May 24, 2012 3:30:55 AM UTC-5, Ulli Hafner wrote:
>
> On 05/23/2012 11:23 PM, Anthony Newnam wrote: 
> > Is there a way for me to get a graph with time as the x axis instead 
> > of build number and see a graph of how long the tests took/how long an 
> > individual test took over time? 
> > 
> > It seems like the only way the graphs could be useful if they're over 
> > a very long period to indicate how your software is progressing over 
> > weeks/months/years instead of just a few recent build numbers. Knowing 
> > the time also helps indicate the performance of the tests. How are 
> > other people using the jUnit tests/results? 
> 
> You could write a new portlet for the dashboard view: there are already 
> some testing portlets that show the testresults over the time. 
>

Would this be something inside the jUnit display code (which I think is 
just built into Jenkins)?
 

>
> Or, without writing Java code, you can use the plot plug-in to draw the 
> results. Note that you need to transform the test data to a spreadsheet 
> format first. 
>
> Ulli 
>


more graphs from junit tests?

2012-05-23 Thread Anthony Newnam
Is there a way for me to get a graph with time as the x axis instead of 
build number and see a graph of how long the tests took/how long an 
individual test took over time?

It seems like the only way the graphs could be useful if they're over a 
very long period to indicate how your software is progressing over 
weeks/months/years instead of just a few recent build numbers. Knowing the 
time also helps indicate the performance of the tests. How are other people 
using the jUnit tests/results?


Re: save build meta-data/logs longer than archives

2012-05-23 Thread Anthony Newnam
Thanks. That looks perfect, and I had just skipped over it.

On Wednesday, May 23, 2012 9:51:33 AM UTC-5, cjo wrote:
>
> Antony, 
>
> In the Discard Old Builds section,
> Where you set up the option to keep the builds for a length of time, or 
> maximum number of builds. 
> There is an advanced button that will let you set the same items for 
> the artifacts.
>
> I believe the warning counts are stored separately to these artifacts, so 
> these are kept as part of the build log data.
>
> Chris
>
>
> On Wednesday, 23 May 2012 14:53:41 UTC+1, Anthony Newnam wrote:
>>
>> Is there any way (plugin/option) that I can use to save the meta-data and 
>> logs of a build job without saving the artifacts? Each of the builds stores 
>> almost 1GB of artifacts for 10 days, and I don't have enough space to store 
>> hundreds of days worth, but I would like to keep the logs around. I would 
>> also like to keep the warning count around, so the warning plugin can give 
>> me a trend over a longer period.
>>
>> Thanks
>>
>

save build meta-data/logs longer than archives

2012-05-23 Thread Anthony Newnam
Is there any way (plugin/option) that I can use to save the meta-data and 
logs of a build job without saving the artifacts? Each of the builds stores 
almost 1GB of artifacts for 10 days, and I don't have enough space to store 
hundreds of days worth, but I would like to keep the logs around. I would 
also like to keep the warning count around, so the warning plugin can give 
me a trend over a longer period.

Thanks


long output = slow build times

2012-05-22 Thread Anthony Newnam
I believe that with some of my compile jobs that have large output (~50MB) 
of data, it causes them to be much slower. I haven't measured this exactly 
to find the cause, but it seems like there is a strong correlation.

Have other seen this behavior or are there any optimizations available for 
it? Does Jenkins send the logs compressed between the nodes?

I'm using Jenkins 1.441.

Thanks


Re: Nabaztag

2012-04-27 Thread طلال Anthony رابعة
Dude, when you're done that please send me the script.  I want to put that on 
my Jenkins server and have it play when a build fails!

   Anthony

On 2012-04-27, at 10:22 AM, Wieschhoff, Kenneth wrote:

> I could set it up to play an MP3 of a train horn with all lights blinking red 
> and the ears waving wildly :)
> 
> 
> On 4/27/12 9:09 AM, "Maven User"  wrote:
> 
>> ++
>> 
>> On Friday, April 27, 2012 5:19:03 AM UTC-4, Sven Strittmatter wrote:
>>> Am 26.04.12 16:26, schrieb Wieschhoff, Kenneth: 
>>> > Seems the Nabaztag site is up and running again and I was thinking of 
>>> > updating the Nabaztag plugin to be compatible, would there be any 
>>> > interest? 
>>> > 
>>> 
>>> Hi, 
>>> 
>>> IMO Nabaztag is totally useless as XFD. We tried it at work, but the 
>>> problem is: If Network is down, or the API has a bug or something else 
>>> goes wrong, the little rabbit is blinking and turning the ears and 
>>> nobody knows what it means. And nobody wants to learn dozens of color 
>>> and ear codes to know, if the build is brokne or only the WIFI is down. 
>>> So the developers ignored the rabbit. Nabaztag is everything else, but 
>>> easy to understand. IMHO an XFD consists only of a big red lamp and/or a 
>>> train horn which give signal on build failure. 
>>> 
>>> -Sven 
> 
> -- 
> Kenneth H. Wieschhoff, Jr.
> NBA - Digital
> Turner Broadcasting Systems
> 404.509.0987
> 



Re: Is it possible to parameterize a Subversion "Repository URL" location in a Jenkins build job configuration?

2012-04-24 Thread طلال Anthony رابعة
Hello,

I'm doing something similar to that.  I have a parent project that polls SVN.  
When it detects a change, it performs it job then uses the parameterized 
trigger plugin to call on over 20 other jobs.  I pass $SVN_URL_PREFIX as a 
parameter and use a shell to do checkouts.  The parameter is defaulted to trunk 
in each child job.

   Anthony

On 2012-04-24, at 9:46 AM, Linley wrote:

> Hi,
> 
> We have a SVN structure that consists of a main "parent" directory
> which has sub-folders for each deployable project (which happen to be
> Maven Java projects).  Underneath these sub-folders are the SVN
> branches, tags & trunk folders where the Maven Java project code
> exists.  For example:
> 
> http://jira/svn/JiraProject [Main parent directory]
> |
> |--->ProjectA
> ||--->branches
> ||--->tags
> ||--->trunk
> | |--->maven-module
> | |--->pom.xml
> |
> |--->ProjectB
> ||--->branches
> ||--->tags
> ||--->trunk
> | |--->maven-module
> | |--->pom.xml
> |
> |--->etc...
> 
> Currently, we have separate Jenkins jobs for each project (i.e.
> Project A, Project B, etc) which checks out the code from the
> Subversion trunk directory of the specific project (e.g.
> http://jira/svn/JiraProject/ProjectA/trunk), builds it using a Maven
> profile and triggers another Jenkins job to deploy to an environment.
> 
> However, we are going to have a considerable number of these "child"
> projects, so I was wondering if it is possible to have one "generic"
> Jenkins build job rather than separate ones for each project (i.e.
> ProjectA, ProjectB, etc)?
> 
> If so, how do you parameterize the SVN "Repository URL" (e.g.
> http://jira/svn/JiraProject/${project}/trunk, where ${project} can be
> passed as a parameter at runtime)?
> 
> Thanks



Re: Plugins are not updating

2012-04-03 Thread طلال Anthony رابعة
Good morning!

Doesn't seem to be fixed.  I tried updating the CVS Plugin from 1.6 to 2.2 and 
the Translation Assistance Plugin from 1.8 to 1.9.  Both registered as upgraded 
but it wasn't reflected on restart.

Cheers!

   Anthony

On 2012-04-03, at 3:07 AM, miktap wrote:

> I think the issue is described here
> https://issues.jenkins-ci.org/browse/JENKINS-13129. At least I managed to
> update a bundled plugin by first creating the .pinned file manually. So it
> should be fixed in 1.458 but I haven't tried it out.
> 
> --
> View this message in context: 
> http://jenkins.361315.n4.nabble.com/Plugins-are-not-updating-tp4526975p4527977.html
> Sent from the Jenkins users mailing list archive at Nabble.com.



Re: SSH plugin "Can't connect to server" problem

2012-02-22 Thread Anthony Ho
Brian,

I found the solution. Thanks.

The solution is to add (uncomment) the line "PasswordAuthentication yes" in
/etc/ssh/sshd_config file of the ESXi server.

Thanks,
--Anthony


On Wed, Feb 22, 2012 at 1:28 PM, Brian J  wrote:

> It's usually best in this case to check to see if you see anything in the
> server (ESXi) side security/messages log.
>
> If you don't see anything there, re-verify your connection information to
> be sure that the connection was attempted, and ensure that there is no
> firewall between jenkins and the SSH process that might be blocking the
> connection.
>
> Brian
>
>
> On Wed, Feb 22, 2012 at 2:39 PM, Anthony Ho  wrote:
>
>> I am not able to configure the SSH plugin to connect to an ESXi 5.0
>> server (as well as some other hosts) as root user with the error
>> message “Can’t connect to server”.
>>
>> There are some hosts that I am able to connect to without any
>> problems.
>>
>> Is there something I need to configure in the ESXi server or in the
>> hosts which I cannot connect to?
>>
>> I have no problems running ssh as root user to any of these hosts from
>> the system hosting Jenkins and running as user “jenkins”.
>>
>> Thank you for your help.
>>
>> --Anthony
>>
>
>


SSH plugin "Can't connect to server" problem

2012-02-22 Thread Anthony Ho
I am not able to configure the SSH plugin to connect to an ESXi 5.0
server (as well as some other hosts) as root user with the error
message “Can’t connect to server”.

There are some hosts that I am able to connect to without any
problems.

Is there something I need to configure in the ESXi server or in the
hosts which I cannot connect to?

I have no problems running ssh as root user to any of these hosts from
the system hosting Jenkins and running as user “jenkins”.

Thank you for your help.

--Anthony