Re: Matrix Axis Labels Not Exposed to JUnit Plugin

2016-11-03 Thread Chris Wozny
Bumping.

On Tuesday, October 25, 2016 at 6:35:07 PM UTC-4, Chris Wozny wrote:
>
> All, 
>
> I am currently running the following setup: 
>
> Jenkins 2.0 
> ClearCase Plugin 1.6.2 
> Multijob Plugin 1.21 
> JUnit Plugin 1.6 
>
> I have a (crude example of a) matrix job in which each axis slave runs 
> a different set of tests as follows: 
>
> User-defined Axis #1 
> Name: TYPE 
> Values: Windows Linux 
>
> User-defined Axis #2 
> Name: SOFTWARE 
> Values: Fourier DSP Prime 
>
> Each combination runs a different set of tests i.e. Windows/Fourier is 
> a different set of tests than Linux/Fourier. 
>
> When I execute the Google test output, each test gets saved off with a 
> different filename and in a different path such as: 
>
> %CLEARCASE_VIEWPATH%\VOB\%TYPE%\Builds\UnitTest%SOFTWARE%.exe 
> --gtest_output=xml:%CLEARCASE_VIEWPATH%\Results_%TYPE%_%SOFTWARE%.xml 
>
> which can resolve to the following as an example: 
>
> E:\VOB\Linux\Builds\UnitTestPrime.exe 
> --gtest_output=xml:E:\Results_Linux_Prime.xml 
>
> My issue comes when I attempt to publish the Junit test result report. 
> It doesn't appear that the JUnit plugin supports either environment 
> variables or axis labels. 
>
> I've got the above matrix job example with the following Test report 
> XMLs section: 
>
> ${CLEARCASE_VIEWPATH}\Results_${TYPE}_${SOFTWARE}.xml 
>
> and the plugin is telling me that the string doesn't match anything: 
>
> '${CLEARCASE_VIEWPATH}\Results_${TYPE}_${SOFTWARE}.xml' doesn't match 
> anything: even '${CLEARCASE_VIEWPATH}' doesn't exist. 
>
> I can't use wildcards in any fashion because then it will aggregate 
> all the results together on each axis on each subsequent slave job 
> build which is incorrect. 
>
> Does anyone know if post-build actions are exposed to environment 
> variables and/or axis labels in a matrix job? 
>
> Let me know if any additional information is needed. 
>
> Thanks, 
> Chris 
>

-- 
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/6258c149-5d36-4d49-901f-eebe294ceebf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New version of Declarative Pipelines (pipeline-model-definition-plugin) released

2016-11-03 Thread James Dumay
Thanks Andrew for all your work to improve the ease-of-use for Pipeline!

On Thursday, November 3, 2016 at 4:29:02 AM UTC+11, Andrew Bayer wrote:
>
> FYI - I've released version 0.5 of Declarative Pipelines today, and it 
> does have a significant syntax change that breaks compatibility with 
> earlier versions. See 
> https://github.com/jenkinsci/pipeline-model-definition-plugin/wiki/Version-History-and-Changes#version-05
>  
> for more info, but the gist is that steps in a stage block now need to be 
> in an explicit steps block themselves - i.e.,
>
> stage('foo') {
>   sh 'do-stuff.sh'
> }
>
> needs to change to
>
> stage('foo') {
>   steps {
> sh 'do-stuff.sh'
>   }
> }
>
> This is to be able to support per-stage configuration of things like 
> agent, environment, tools, and post-stage actions.
>
> A.
>

-- 
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/b2eca452-5379-4153-9923-1eb08fcf1dc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting build scripts into workspace. Which is best?

2016-11-03 Thread Trever
We have our build scripts in a git repository.  Currently we have every one of 
our pipeline jobs check out the build scripts into the workspace directory in 
order to run the scripts.  This works fine.  

While reading through some other Jenkins posts, I see that we could optionally 
have a job that creates an archive out of the build scripts and our pipeline 
jobs could copy those scripts from the archived artifacts.  

Is one method better than the other?  Would there be any benefits to doing it 
one way over another?

-- 
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/deeab827-b48e-44ee-848d-5b7061493220%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins configuration from script

2016-11-03 Thread Victor Martinez
Hi,

You can use 

Https://wiki.jenkins-ci.org/display/JENKINS/Post-initialization+script and use 
jenkins internal api and its plugin with groovy

Cheers

-- 
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/7df01244-a1a5-4269-ab1b-0435be153ecb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: DSL Script - Inject passwords to the build as environment variables

2016-11-03 Thread Victor Martinez
You can use the autogenerated dsl syntax if you are above 1.46

-  https://github.com/jenkinsci/job-dsl-plugin/wiki/Automatically-Generated-DSL 

You can simplify a bit the configure closure with a more descriptive DSL

Cheers

-- 
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/b27b9c3e-ce0f-448b-8d72-b7965769c8f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


docker slave traceability question

2016-11-03 Thread jhavero
I've setup a docker slave using the Docker plugin. When the build runs
it shows me the container id (114a23250a0c) :


Started by user 
Building remotely on docker-114a23250a0c (docker-slave) in workspace 
/home/jenkins_slave/workspace/docker-test1
-

How do I get it to output the image id/tag/version? The container id 
disappears after the build is complete. I'd like to be able trace the build 
back to a specific image id.

-- 
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/f5ef9c05-bb07-4214-918a-a3fb43702796%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: DSL Script - Inject passwords to the build as environment variables

2016-11-03 Thread Angel Yanev
I got it to work like this :



configure { 
   
def gblpass = it / 'buildWrappers' /

'EnvInjectPasswordWrapper' <<
  {
 injectGlobalPasswords ('false')
 maskPasswordParameters ('true')

 passwordEntries() <<
 {
   'EnvInjectPasswordEntry'
   {
  name('name')
  value('pass')
}
 }
   }
}

-- 
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/56096c8a-7fcf-4472-b1ec-621cbdabf71e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Iterate FileWrapper, fails with shell script within the loop

2016-11-03 Thread 'Björn Pedersen' via Jenkins Users
And of course in methods marked  as NonCPS, you can not use jenkins steps 
(e.g. sh).

Björn

-- 
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/9f3e6b90-14f4-45ee-b542-b2f04d31cb97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: (SOAPUI- Jenkins Integration) Build just keeps on running...with no outcome

2016-11-03 Thread Christopher Valorose
Hi,

We are seeing the same thing using SoapUI 5.2.1.

2016-11-03 11:37:37,641 INFO  [SoapUI] Adding 
[C:\SoapUI-5.2.1\bin\ext\xml-resolver-1.2.jar] to extensions classpath
2016-11-03 11:37:37,642 INFO  [SoapUI] Adding 
[C:\SoapUI-5.2.1\bin\ext\xmlbeans-xmlpublic-2.4.0.jar] to extensions 
classpath
2016-11-03 11:37:37,642 INFO  [DefaultSoapUICore] Creating new settings at 
[C:\soapui-settings.xml]
2016-11-03 11:37:40,657 INFO  [PluginManager] 0 plugins loaded in 14 ms
2016-11-03 11:37:40,658 INFO  [DefaultSoapUICore] All plugins loaded

Anyone have a resolution to this issue?

Thanks in advance.
Chris

On Friday, September 16, 2016 at 12:28:11 AM UTC-4, hozefa vakanerwala 
wrote:
>
> Hello,
>
> I have done a simple setup for triggering SOAPUI to execute a webservice 
> call.
>
> My build task includes calling a .bat file through "Execute windows batch 
> command"
>
> The content of .bat file is:
>
> cd C:\Program Files\SmartBear\SoapUI-5.2.1\bin 
> testrunner.bat -sWeatherSoap12 -c"GetWeatherInformation TestCase" -r 
> "C:\Users\hozefas_vakanerwala\Documents\SOAP 
> Projects\Weather-soapui-project.xml"
>
> Upon triggering the build, it just keeps on running. Below is the console 
> output. Also I have attached the log files for further info.
>
> Any help would be highy appreciated.
>
>
>
> Regards,
> Hozefa
>

-- 
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/c60bb29d-6656-46e3-9a22-bb116095612d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Accessing the checked out sources when using GitHub Organization Folder plugin

2016-11-03 Thread Ullrich Hafner
When using the GitHub Organization Folder plug-in Jenkins checks out 
automatically the sources of my project. However, in the corresponding 
Jenkinsfile these sources are not visible, they are stored in a different 
workspace with suffix @script. 

My Jenkinsfile currently is just a simple maven command:
node {
def mvnHome = tool 'mvn-default'

sh "${mvnHome}/bin/mvn verify“
}

How do I access the checked out sources? Or do I add a stage that uses git 
checkout?


-- 
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/C4B30CE4-2C14-4DA9-A567-0D26BE117F50%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins is hanging

2016-11-03 Thread Rachel Moreno
Good morning!

You're right! You made me think. I was wrong. If restarting wasn't allowed, 
that option shouldn't appear.

But, if a service "dies", how can it start again? I've checked Jenkins' 
source code and it's considered (a separated process is created):

core/src/main/java/hudson/lifecycle/WindowsServiceLifecycle.java

@Override
public void restart() throws IOException, InterruptedException {
File me = getHudsonWar();
File home = me.getParentFile();

ByteArrayOutputStream baos = new ByteArrayOutputStream();
StreamTaskListener task = new StreamTaskListener(baos);
task.getLogger().println("Restarting a service");
String exe = System.getenv("WINSW_EXECUTABLE");
File executable;
if (exe!=null)   executable = new File(exe);
elseexecutable = new File(home, "hudson.exe");
if (!executable.exists())   executable = new File(home, 
"jenkins.exe");



*// use restart! to run hudson/jenkins.exe restart in a separate process, 
so it doesn't kill itselfint r = new 
LocalLauncher(task).launch().cmds(executable, "restart!")
.stdout(task).pwd(home).join();*
if(r!=0)
throw new IOException(baos.toString());
}



Did you try to reload the page? On first restarting it's shown "INFO: 
Jenkins is fully up and running" in log file. Maybe the problem happens 
when reloading page. 

*In any case*, I suggest you create an issue in 
https://issues.jenkins-ci.org, giving detailed information about this fact.

Thanks for your patience,
Rachel


El jueves, 3 de noviembre de 2016, 8:42:44 (UTC+1), SGD53 escribió:
>
> Good morning Rachel,
>
> But what happens within Jenkins when updating the installed plugins and 
> checking "restart Jenkins when done"? How can I avoid the hanging of 
> Jenkins? Do I have to leave the checkbox "restart Jenkins when done" 
> unchecked and restart the Windows service instead?
>
> Regards
> Mirko
>

-- 
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/b8c6ffdf-8f59-4fa7-bf91-a9d618284700%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


DSL Script - Inject passwords to the build as environment variables

2016-11-03 Thread Angel Yanev
Dear All,

I am trying to create a DSL template job that will generate jobs with  
'Inject passwords to the build as environment variables' option and a want 
to add a name and a value. Until now I have this :


wrappers {
  environmentVariables {

injectPasswords {
injectGlobalPasswords(false)
jobPasswords{

}
}
   
buildName = '${TODAY_DATE}''

envs(BUILD_NAME: "${buildName}")
}
buildName('${ENV,var="BUILD_NAME"}')
}


However, I dont know how to add a name and a value. The jobPasswords {} 
block does not work and I have tried various combinations to add a password 
but with no success. I cant find anything on the internet as well.

I appreciate your help!

Thanks you!

-- 
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/f74f9e1a-7425-496a-b59a-b175ed8df7e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins configuration from script

2016-11-03 Thread Tomasz Szandała
Greetings All,
I am working on new Jenkins usage model for my Team.
My idea is to:
1. Create new cloud instance
2. Configure it and install Jenkins using Ansible
3. Configure Jenkins using some kind of script
4. Create and configure few projcts - I have them in DSL scripts currently.

My problem is point nr 3.:
I need to:
a. Configure LDAP
b. Add nodes
c. Install needed plugins.

So far I've found script to add nodes, but don't know how to use it from 
command line...

Anyone knows where to look for guides about my problem?

Thank You in advance,
Tomek

-- 
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/4e0ab4c0-55bf-4964-bfe6-890e309e8083%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to downgrade Jenkins from 2.x to 1.x version in windows

2016-11-03 Thread MI
How could we downgrade to earlier version in case of something went wrong 
after upgraded to newer version of Jenkins?

-- 
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/552ced6c-a422-4653-91a0-e0ae83ee48ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New version of Declarative Pipelines (pipeline-model-definition-plugin) released

2016-11-03 Thread Daniel Beck

> On 02.11.2016, at 18:28, Andrew Bayer  wrote:
> 
> FYI - I've released version 0.5 of Declarative Pipelines today, and it does 
> have a significant syntax change that breaks compatibility with earlier 
> versions. See 
> https://github.com/jenkinsci/pipeline-model-definition-plugin/wiki/Version-History-and-Changes#version-05
>  for more info, but the gist is that steps in a stage block now need to be in 
> an explicit steps block themselves - i.e.,

- The linked wiki page doesn't exist?
- Could you do 
https://wiki.jenkins-ci.org/display/JENKINS/Marking+a+new+plugin+version+as+incompatible+with+older+versions
 

-- 
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/C820CA36-D8BB-48F4-B717-7DA05910D144%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


How can I get my current stage name in the pipeline

2016-11-03 Thread Ron Keidar
Hi 
I'm writing a new Jenkins function and I would like to get the current 
stage name that is running right now on the pipeline.
for example:


stage("Stage1"){
def current_stage = getCurrentStageName()
echo "I'm in satage: $current_stage"

}

-- 
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/89c43598-1d80-475b-b7cb-9bc3759b2ec7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I find Java doc about class hudson.maven.MavenModuleSet ?

2016-11-03 Thread Want Lsb
Thank you

在 2016年11月3日星期四 UTC+8下午3:11:32,Indra Gunawan (ingunawa)写道:
>
> hudson.maven.MavenModuleSet  is the “maven2/3 type” Jenkins job type.
>
> https://github.com/jenkinsci/maven-plugin/blob/master/src/main/java/hudson/maven/MavenModuleSet.java
>
> Historically the plugin was released alongside Jenkins core releases. 
> Since release 2.0  this plugin is released separately.
>
> https://wiki.jenkins-ci.org/display/JENKINS/Maven+Project+Plugin
>
>
> From:  on behalf of Want Lsb <
> lsb...@gmail.com >
> Reply-To: "jenkins...@googlegroups.com " <
> jenkins...@googlegroups.com >
> Date: Wednesday, November 2, 2016 at 9:04 PM
> To: Jenkins Users 
> Subject: How can I find Java doc about class hudson.maven.MavenModuleSet ?
>
> for(item in Jenkins.getInstance().getItems()) {
>
>  println( "job name "+item.name + " "+item.getClass())
>
> }
>
>
> output:
>
> job name AUTOMATION_PST_COBIZ class hudson.maven.MavenModuleSet
> job name AUTOMATION_PST_COSEL class hudson.maven.MavenModuleSet
> job name AUTOMATION_PST_CUCUMBER_JVM_PARALLEL_PLUGIN class 
> hudson.maven.MavenModuleSet
> job name AUTOMATION_PST_CUCUMBUMBLER class hudson.maven.MavenModuleSet
>
> job name AUTOMATION_PST_RPBIZ class hudson.maven.MavenModuleSet
>
> job name AUTOMATION_PST_WEBCORE class hudson.maven.MavenModuleSet
>
> job name AWS_UTILITIES_DBPUMP class hudson.maven.MavenModuleSet
>
> job name COLLINE-ENTITYINTROSPECTOR class hudson.maven.MavenModuleSet
>
> job name COLLINE-MAKE-LICENCE-FILE class hudson.model.FreeStyleProject
>
> job name COLLINE-MAKE-LICENCE-FILE-TEST class hudson.model.FreeStyleProject
>
> job name COLLINE_AUTO_PREPARE_TEST_ENV_FQA class hudson.model.FreeStyleProject
>
> job name COLLINE_DAILY class hudson.maven.MavenModuleSet
>
>
>
> Why i can't find doc from http://javadoc.jenkins-ci.org/ ?
>
> I just can find hudson.model.FreeStyleProject in 
> http://javadoc.jenkins-ci.org/
>
> -- 
> 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-use...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/1e202f38-0af4-4c4d-8190-8bb5b0f0270d%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/fafdb4ca-8dbc-40c4-adee-8c195e6eaa35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: JobDSL : how to define build env var into a configuration class

2016-11-03 Thread JL 6BerYeti
Great !
Thanks a lot. It works !
But I hardly understand why it is so different than other confiugration 
such as ws cleaner or logrotator.

Using the Job DSL playground, it appears that a little bit simpler code is 
possible by simply avoiding default config :
def properties = project / 'properties' 
properties << EnvInjectJobProperty {
info {
propertiesContent('TOTO=TITI')
loadFilesFromMaster(false)
}
}


Best Regards
J.L.P.

Le mercredi 2 novembre 2016 18:38:50 UTC+1, JL 6BerYeti a écrit :
>
> Quite new to Job DSL, I am running some tests and trias.
> I currently try to factorize some common job configuration part in a 
> library I can reuse within each job.
> I know how to do that with DSL, but I face out a problem with adding an 
> env var.
>
> I have this code which run ok :
>
> class jobFramework {
>static commonConf(dslFactory) {
>dslFactory.configure { project ->
>project / 'buildWrappers' {
>'hudson.plugins.ws__cleanup.PreBuildCleanup'{
>'deleteDirs'(false)
>}
>'trigger'{
>'cron'('*,*,H/4,*')
>}
>
>}
>project / 'logRotator' {
> 'daysToKeep'('10')
> 'numToKeep'('-1')
> 'artifactDaysToKeep'('12')
> 'artifactNumToKeep'('-1')
> }
>}
>}
> }
>
> freeStyleJob("my_job")
> {
> environmentVariables {
> env('TOTO','TITI')
> }
> jobFramework.commonConf(it)
> }
>
> Now I would like to put the env var definition into the jobFramework class.
> But trying the following lines :
>project / 'environmentVariables' {
>'env'('TOTO','TITI')
>}
> I obtain the following error :
> groovy.lang.MissingMethodException: No signature of method: 
> groovy.util.NodeBuilder.env() is applicable for argument types: 
> (java.lang.String, java.lang.String) values: [TOTO, TITI]
> Possible solutions: any(), find(), any(groovy.lang.Closure), wait(), 
> every(), dump()
> at jobFramework$_commonConf_closure1$_closure4.doCall(script:20)
> at jobFramework$_commonConf_closure1$_closure4.doCall(script)
> at 
> javaposse.jobdsl.dsl.MissingPropertyToStringDelegate.methodMissing(MissingPropertyToStringDelegate.groovy:39)
> at 
> javaposse.jobdsl.dsl.MissingPropertyToStringDelegate.invokeMethod(MissingPropertyToStringDelegate.groovy)
> at jobFramework$_commonConf_closure1.doCall(script:19)
> ...
> where 10 is the line number of the lines related to env vars.
>
> So... after several trials, I am quite lost...
>
> If someone cold help, thanks a lot !
>
> Best Regards
> J-L
>

-- 
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/a1465eb9-0421-4ea0-9c6e-9b33e44a00ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins is hanging

2016-11-03 Thread SGD53
Good morning Rachel,

But what happens within Jenkins when updating the installed plugins and 
checking "restart Jenkins when done"? How can I avoid the hanging of 
Jenkins? Do I have to leave the checkbox "restart Jenkins when done" 
unchecked and restart the Windows service instead?

Regards
Mirko

-- 
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/9881ad65-cc62-4ca3-8c1b-e9dde608e8ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I find Java doc about class hudson.maven.MavenModuleSet ?

2016-11-03 Thread Indra Gunawan (ingunawa)
hudson.maven.MavenModuleSet  is the "maven2/3 type" Jenkins job type.
https://github.com/jenkinsci/maven-plugin/blob/master/src/main/java/hudson/maven/MavenModuleSet.java

Historically the plugin was released alongside Jenkins core releases. Since 
release 2.0  this plugin is released separately.

https://wiki.jenkins-ci.org/display/JENKINS/Maven+Project+Plugin


From: 
> on 
behalf of Want Lsb >
Reply-To: 
"jenkinsci-users@googlegroups.com" 
>
Date: Wednesday, November 2, 2016 at 9:04 PM
To: Jenkins Users 
>
Subject: How can I find Java doc about class hudson.maven.MavenModuleSet ?

for(item in Jenkins.getInstance().getItems()) {

 println( "job name "+item.name + " "+item.getClass())

}


output:


job name AUTOMATION_PST_COBIZ class hudson.maven.MavenModuleSet
job name AUTOMATION_PST_COSEL class hudson.maven.MavenModuleSet
job name AUTOMATION_PST_CUCUMBER_JVM_PARALLEL_PLUGIN class 
hudson.maven.MavenModuleSet
job name AUTOMATION_PST_CUCUMBUMBLER class hudson.maven.MavenModuleSet

job name AUTOMATION_PST_RPBIZ class hudson.maven.MavenModuleSet

job name AUTOMATION_PST_WEBCORE class hudson.maven.MavenModuleSet

job name AWS_UTILITIES_DBPUMP class hudson.maven.MavenModuleSet

job name COLLINE-ENTITYINTROSPECTOR class hudson.maven.MavenModuleSet

job name COLLINE-MAKE-LICENCE-FILE class hudson.model.FreeStyleProject

job name COLLINE-MAKE-LICENCE-FILE-TEST class hudson.model.FreeStyleProject

job name COLLINE_AUTO_PREPARE_TEST_ENV_FQA class hudson.model.FreeStyleProject

job name COLLINE_DAILY class hudson.maven.MavenModuleSet



Why i can't find doc from http://javadoc.jenkins-ci.org/ ?

I just can find hudson.model.FreeStyleProject in http://javadoc.jenkins-ci.org/

--
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/1e202f38-0af4-4c4d-8190-8bb5b0f0270d%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/D4402D88.5F590%25ingunawa%40cisco.com.
For more options, visit https://groups.google.com/d/optout.


change environmental variable in BATCH file

2016-11-03 Thread Ziv Margolin
Hi

I am trying to set new value for environmental variable BUILD_ID

My batch build is something like that:


BUILD_ID=dontKillMe
start -w c:\mydir\myprog.exe > c:\txt\resoult.txt
findstr c\:"PASS" c:\txt\resoult.txt
if errorlevel 0 (
echo "1"
)


what will be the correct 


Thank you



-- 
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/87c1f5c2-8584-4962-ba19-9b9f200f1cc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins Multi-Configuration project details

2016-11-03 Thread chinmoy padhi
Hi All,

Recently I have created a *Multi-Configuration project* on Jenkins.
When I went to jobs configuration it has Configuration Matrix
Which has got labels and individual nodes.

Can somebody explain why do we need
1. *Labels*
2. *Individual Nodes*
3. Also one point I observe when I selected both Labels and Individual 
Nodes then I can see *both* *Labels* and *Individual node* builds are 
happening together
Whereas, when I selected the *Individual Node* *only* it was showing* 
"default"*and build triggered for Individual node*. *
Why is the such behavior?

Appreciate your help in advance.

Thanks

-- 
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/1b3a5a67-cbc0-4014-a171-eadf15f9673a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins searching for cygwin

2016-11-03 Thread Arvind Kumar
Hi 
Thanks for the reply.

I am doing that only.
I have attached defnition and job snapshot, FYI. 

I am using mercurial plugin only. 

Regards,
Arvind

-- 
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/45e745c6-a62b-45db-b114-8049bafb731d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.