Re: Scheduled maintenance window April 15th - April 17th

2016-04-17 Thread R. Tyler Croy
(replies inline)

On Fri, 15 Apr 2016, R. Tyler Croy wrote:

> Howdy folks, starting today I am migrating services from various hosts this
> weekend. The services that are primarily going to be affected are:
> 
>  * ci.jenkins-ci.org
>  * mirrors.jenkins-ci.org
>  * LDAP



With a *lot* of effort between Kohsuke and myself (with some help from
nibalizer, danielbeck and bwalding) we've migrated a few key services. Most
notably ldap which is online at its new home. Our mirror infrastructure is also
migrated and I will be performing the final cut-over in the morning.


Unfortunately we've run out of weekend time for the migration of
ci.jenkins-ci.org, which is going to expand into Monday. Aside from builds
not running, this means that update center generation is on-hold until the new
hosts are properly online.


I apologize for the inconvenience and trust that I'm working as fast as my
fingers and machine I/O will let me to get the service migration finished.


Cheers
- R. Tyler Croy

--
 Code: 
  Chatter: 

  % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F
--

-- 
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/20160418041839.GU3721%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


How to distinguish which build trigger to kick off the build

2016-04-17 Thread zhangkm
Hello,
   As we know, we can select build triggers in jenkins, such as Poll SCM,
Build periodically, Build after other projects are built, etc. In my build
job, I use SVN as CVS and I select Build periodically and  Poll SCM as build
trigger. 
 
   Now I want to know which build trigger to kick off the build job, so I
can execute different bat file or   pass different parameters depend on
different trigger. For example, if  Build periodically trigger the build, I
will pass the parameter 'buildall=true', else I will pass the parameter
'buildall=false'.
   Please tell me how to make it come true, or any other way to solve this
problem?



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/How-to-distinguish-which-build-trigger-to-kick-off-the-build-tp4807513.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
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/1460941620431-4807513.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.


Re: Robocopy induced error in the pipeline

2016-04-17 Thread niristotle okram
Thanks, yes the exit code is the cause for this. Had to change my batch
lines like this

bat "robocopy %cd%${some_path1}${some_path2} ${path_to_node}\\a_folder1
file1 file2 ^& IF %ERRORLEVEL% LEQ 1 exit 0"
bat "robocopy %cd%${some_path1}${some_path3} ${path_to_node}\\a_folder2
file1 file2 ^& IF %ERRORLEVEL% LEQ 1 exit 0"


On Sun, Apr 17, 2016 at 3:55 PM, Daniel Beck  wrote:

>
> > On 17.04.2016, at 21:13, niristotle okram 
> wrote:
> >
> > When the job comes to portion where the above code exist, it appears
> that the first line of robocopy is executed. And it exist.
>
> Robocopy uses non-zero exit codes to indicate what it did rather than
> report a problem/failure -- which is likely how 'bat' interprets those. Try
> something like described here:
>
> https://technet.microsoft.com/en-us/library/ff182367%28WS.10%29.aspx
>
> You may need to use 'exit /b 0' instead if 'exit 0' for Pipeline, not sure.
>
> --
> 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/EAEE75D5-1374-4F1C-BFA1-3D0920FE1C9E%40beckweb.net
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards
nirish okram

-- 
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/CAPzcO4hy%2BgZVi5ag0uFj%3D%3D_WT%3D2BTZ2jM%2BTvZevcQkToO44cBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trigger arbitrary build/post-build steps from pipeline

2016-04-17 Thread Andrew Melo
Hi again,

I poked at it some more and it appears I'll have to explicitly change the 
plugins I want to use in a pipeline. The following:

step([$class: 'TapPublisher', testResults: 'tap.log']) 

yields the following error:

no known implementation of interface jenkins.tasks.SimpleBuildStep is named 
TapPublisher

Or, perhaps a new groovy step that consumes classes of type 'Recorder' is 
the better idea?

Thanks again!
Andrew

On Sunday, April 17, 2016 at 1:40:28 PM UTC-5, Andrew Melo wrote:
>
> Hello all,
>
> I would like to trigger build/post-build steps that don't appear in the 
> snippet viewer (e.g. publish TAP results) from a pipeline. Is there a way 
> to trigger arbitrary build/post-build steps that don't appear in the 
> snippet browser, or will the plugin need to be updated to explicitly 
> support being triggered from pipelines?
>
> Thanks!
> Andrew
>

-- 
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/d6e040b8-d207-409d-b3cd-5aa0f6c8f985%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Robocopy induced error in the pipeline

2016-04-17 Thread Daniel Beck

> On 17.04.2016, at 21:13, niristotle okram  wrote:
> 
> When the job comes to portion where the above code exist, it appears that the 
> first line of robocopy is executed. And it exist. 

Robocopy uses non-zero exit codes to indicate what it did rather than report a 
problem/failure -- which is likely how 'bat' interprets those. Try something 
like described here:

https://technet.microsoft.com/en-us/library/ff182367%28WS.10%29.aspx

You may need to use 'exit /b 0' instead if 'exit 0' for Pipeline, not sure.

-- 
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/EAEE75D5-1374-4F1C-BFA1-3D0920FE1C9E%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Robocopy induced error in the pipeline

2016-04-17 Thread niristotle okram
Hi,
This is not directly a jenkins issue, but i am clueless on why this is
failing. All i trying to do is use robocopy (since we are using the damn-it
windows) to copy over 2 files from a jenkins dir to my nodes. The part of
the jenkins pipeline where its failing looks like this

bat "robocopy %cd%${some_path1}${some_path2} ${path_to_node}\\a_folder1
file1 file2"
bat "robocopy %cd%${some_path1}${some_path3} ${path_to_node}\\a_folder2
file1 file2"
bat "robocopy %cd%${some_path1}${some_path4} ${path_to_node}\\a_folder3
file1 file2"
bat "robocopy %cd%${some_path1}${some_path5} ${path_to_node}\\a_folder4
file1 file2"

When the job comes to portion where the above code exist, it appears that
the first line of robocopy is executed. And it exist.








-- 
Regards
nirish okram

-- 
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/CAPzcO4hiJj1mfJAJkgUVz%2BpAy%3DD-ZqiF_90GHXwDVTZjfhikpw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Trigger arbitrary build/post-build steps from pipeline

2016-04-17 Thread Andrew Melo
Hello all,

I would like to trigger build/post-build steps that don't appear in the 
snippet viewer (e.g. publish TAP results) from a pipeline. Is there a way 
to trigger arbitrary build/post-build steps that don't appear in the 
snippet browser, or will the plugin need to be updated to explicitly 
support being triggered from pipelines?

Thanks!
Andrew

-- 
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/5f309810-2ee4-4a4d-8b8f-4d93c846720c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.