Re: Passing parameters to a downstream maven job?

2015-06-27 Thread post2edbras
I didn't, just made one big jenkins job

Verstuurd vanaf mijn mobie

 Op 26 jun. 2015 om 22:31 heeft Clayton Neff clay...@lewis-neff.net het 
 volgende geschreven:
 
 Ed -
 
 Can you please advice me on solving my problem description above?
 I am having the exact same issue over three years later. Did you ever come up 
 with a solution?
 
 Thanks.
 
 -- Clayton --
 
 -- 
 You received this message because you are subscribed to a topic in the Google 
 Groups Jenkins Users group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/jenkinsci-users/FYEwkbH1Zkk/unsubscribe.
 To unsubscribe from this group and all its topics, 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/6f30b51f-4594-4532-8cef-bf7aeceec84c%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/A91F8744-CA86-4DBD-9E51-62E15DE8B7BC%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[no subject]

2015-06-27 Thread Bharath Raj
Hi all ,


I need some help in configuring Jenkins and artifactory .
1) I installed artifactory
2) In Jenkins I configured the artifactory path . I have used Artifactory
plugin and I'm able to see build info in artifactory .
3) but I'm not seeing artifactory generated
4) my project is using plain ant scripts for build . My build xml has build
steps .
5) should I add deployment steps in build.xml ? If so can you please guide
me with a sample script ?
6) and in Jenkins I'm using ant/ivy integration from artifactory plugin for
integration with artifactory . Is this correct ?

Could you please help me ASAP . I need to see the deployed Artifacts in
artifactory

Thanks in advance .


-- 
Regards
Bharath Raj
9632027085

-- 
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/CABXEVMz9uaFr-N6g3prRUZ%3D1zrjQjgER%3DeW5xDMEzGnRsP1czg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


CloudBees Docker Custom Build Environment Plugin

2015-06-27 Thread Damien Coraboeuf
Hi,

I have the following scenario, which does not sound so exotic:

* I'm using the CloudBees Docker Custom Build Environment Plugin (v1.2)
* a Docker container is defined and run, with a local JVM 
(see 
https://github.com/nemerosa/ontrack/blob/57471f8222a602b59b0729ae69113cb1babaa649/seed/env/Dockerfile)
* in my Jenkins job, I run a shell to run Gradle, providing the path to JVM 
in the container, using ./gradlew 
... -Dorg.gradle.java.home=/usr/lib/jvm/java-8-openjdk-amd64

However, when running the job, I still get the following error:

ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-8-oracle


This Java home is the one from the *Jenkins master*. The JAVA_HOME is set 
by the job and inherited by the job, and finally available in the 
container...

I wanted to know if you had any example of running a Gradle based job using 
the JVM you define in your Docker file.

Thanks,
Damien.

-- 
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/9d899696-fe38-4bd1-b11c-e077cda23e52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CloudBees Docker Custom Build Environment Plugin

2015-06-27 Thread Damien Coraboeuf
Well, a bit classic: I just found the answer after having posted the topic 
:)

Instead of using the org.gradle.java.home property, I explicitly declare 
the JAVA_HOME in my build shell:

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
./gradlew ...

Damien.

On Saturday, 27 June 2015 17:29:31 UTC+2, Damien Coraboeuf wrote:

 Hi,

 I have the following scenario, which does not sound so exotic:

 * I'm using the CloudBees Docker Custom Build Environment Plugin (v1.2)
 * a Docker container is defined and run, with a local JVM (see 
 https://github.com/nemerosa/ontrack/blob/57471f8222a602b59b0729ae69113cb1babaa649/seed/env/Dockerfile
 )
 * in my Jenkins job, I run a shell to run Gradle, providing the path to 
 JVM in the container, using ./gradlew 
 ... -Dorg.gradle.java.home=/usr/lib/jvm/java-8-openjdk-amd64

 However, when running the job, I still get the following error:

 ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-8-oracle


 This Java home is the one from the *Jenkins master*. The JAVA_HOME is set 
 by the job and inherited by the job, and finally available in the 
 container...

 I wanted to know if you had any example of running a Gradle based job 
 using the JVM you define in your Docker file.

 Thanks,
 Damien.


-- 
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/b50f227c-d631-415a-824e-097229cd8cbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.