Re: Windows Slave / LinuxMaster hang

2017-02-27 Thread Dirk Heinrichs
Am 27.02.2017 um 18:03 schrieb jer...@bodycad.com:

> Yes the server build info are locate on a CIFS share.

Sounds wrong to me. Did you try with a local directory?

Bye...

Dirk
-- 
*Dirk Heinrichs*
Senior Systems Engineer, Delivery Pipeline
OpenText^TM Discovery | Recommind
*Email*: dirk.heinri...@recommind.com 
*Website*: www.recommind.de 

Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach

Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon
Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer
HRB 10646

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser Mail sind nicht gestattet.

-- 
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/ce184529-a49e-17c2-11e5-3cc0bda1cf29%40opentext.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to access Jenkins server using Python Or JenkinsApi for Windows

2017-02-27 Thread Sujith Cherukuri
Hello Eric,

Thanks for your reply, could you please let me know, how to install 
Jenkinsapi for Windows. I am not able to find any documentation for that.

Thanks and Regards,
Sujith

On Monday, February 27, 2017 at 8:06:49 PM UTC+5:30, Eric Pyle wrote:
>
> I use Jenkinsapi for both Linux and Windows with no problem. You just need 
> to install Jenkinsapi module in the Python installation used by each build 
> machine, e.g. by "pip install jenkinsapi". Then in a shell or batch script 
> build step, you call a Python script and "import jenkinsapi" in the script.
>
> Eric
>
> On 2/27/2017 5:08 AM, Sujith Cherukuri wrote:
>
> Hello,
>
> My build server is based on Windows. I want to trigger a Build using 
> pythons scripts. As of now from http://pythonhosted.org/jenkinsapi/, it 
> seems that, api only for Linux System.
>
> Thanks and Regards,
> Sujith 
> -- 
> 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/8d4a4967-b410-4c2f-bda9-f4f97a775e1a%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
>
> * Eric Pyle * 
> Siemens PLM Software 
> Lebanon, NH 
> +1 603-277-3060 (T)
> +1 603-359-8670 (M)
> ...@siemens.com 
> http://www.siemens.com/plm  
>

-- 
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/316fd8b4-d8ac-4152-8524-fc6a7b5e8c73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: I got some dependency errors after upgrade to the new version.

2017-02-27 Thread Jason Yu
HI, Daniel:

I have another issue. I would like to know if you can help?

I have branches set up in bitbucket. Some of branches are deleted from 
bitbucket. But they still show up when I click build with parameters. Have 
you ever met this issue?

thanks. 

jason

On Wednesday, February 22, 2017 at 1:16:40 PM UTC-8, Daniel Beck wrote:
>
>
> > On 22.02.2017, at 22:13, Jason Yu > 
> wrote: 
> > 
> > Please kindly give me some clue on how to trouble shoot this. 
> > 
>
> Seems like upgrading Script Security to 1.21 or newer should fix most of 
> these. It's sort of a flattened tree and Pipeline Supporting APIs not being 
> able to be loaded breaks a bunch of others. 
>
>

-- 
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/689fd38d-4d4d-4282-9c41-7add92cbed61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to remove the deleted branch names from "build with parameters"

2017-02-27 Thread Jason Yu

Any help for this issue. I upgraded jenkins but the issue still exists. 

Thanks. 

jason


On Thursday, February 23, 2017 at 4:06:13 PM UTC-8, Jason Yu wrote:
>
> I have my jenkins server updated to 2.46 yesterday aiming to resolve this 
> issue but it still exists after upgrade. 
>
> My jenkins is integrated with our bitbucket account. For each projects, we 
> have several branches. When we select "build with parameters" the branches 
> name show up. HOwever, even we deleted that branch on bitbucket, the 
> deleted bransh name is still showing up. I tried to find the solution 
> online to not show these dead branches. but didn't success. 
>
> I found some posts mentioned "Orphaned Item Strategy" but in my Jenkins 
> UI, I couldn't find it. 
>
> Would anyone help me with this? I appreciate any help, thanks. 
>
> Jason
>

-- 
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/ef535d2b-2e92-41e3-a49c-65bb7cae53e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Moving PIpeline global libraries to external SCM

2017-02-27 Thread Owen Mehegan
Yeah, that's a good point. But I just wanted to make sure I don't cause
collisions by having the same classes in the internal and external repos at
the same time.
On Feb 27, 2017 2:35 PM, "Mark Waite"  wrote:

> Couldn't you use a "git clone" (or git clone --mirror) to copy them to a
> separate repo, then config a remote that would allow you to "git push" them
> to your corporate location?  That will retain the history of the repo and
> the structure (if it matters to you).
>
> Mark Waite
>
> On Mon, Feb 27, 2017 at 3:31 PM Owen B. Mehegan 
> wrote:
>
>> I've been using Pipeline global libraries since their inception, storing
>> them in the built-in Git server within Jenkins. It's about time that I
>> moved them into my company's regular Git repo, where others can collaborate
>> on them more easily. What's the right way to do this? Seems like I should
>> copy the libraries to the new external repo, then 'git rm' them from the
>> existing internal repo, and then configure Jenkins appropriately to pull
>> from the external SCM. Am I missing anything else?
>>
>> --
>> 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/07d28411-2272-424a-9ab8-
>> e312799274e5%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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/2q1KzxnAtNw/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/CAO49JtEDC_hvG_JposW0zrHXg4QvgQTynCnD8zpgAysv
> zs19%3DQ%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/CAHtcACFx4%2BgfYLzrHVGfFn6%3DVHyk6jmwSvgtA22MHaSsGp%2B94Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Moving PIpeline global libraries to external SCM

2017-02-27 Thread Owen B. Mehegan
I've been using Pipeline global libraries since their inception, storing 
them in the built-in Git server within Jenkins. It's about time that I 
moved them into my company's regular Git repo, where others can collaborate 
on them more easily. What's the right way to do this? Seems like I should 
copy the libraries to the new external repo, then 'git rm' them from the 
existing internal repo, and then configure Jenkins appropriately to pull 
from the external SCM. Am I missing anything else?

-- 
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/07d28411-2272-424a-9ab8-e312799274e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Moving PIpeline global libraries to external SCM

2017-02-27 Thread Mark Waite
Couldn't you use a "git clone" (or git clone --mirror) to copy them to a
separate repo, then config a remote that would allow you to "git push" them
to your corporate location?  That will retain the history of the repo and
the structure (if it matters to you).

Mark Waite

On Mon, Feb 27, 2017 at 3:31 PM Owen B. Mehegan 
wrote:

> I've been using Pipeline global libraries since their inception, storing
> them in the built-in Git server within Jenkins. It's about time that I
> moved them into my company's regular Git repo, where others can collaborate
> on them more easily. What's the right way to do this? Seems like I should
> copy the libraries to the new external repo, then 'git rm' them from the
> existing internal repo, and then configure Jenkins appropriately to pull
> from the external SCM. Am I missing anything else?
>
> --
> 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/07d28411-2272-424a-9ab8-e312799274e5%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/CAO49JtEDC_hvG_JposW0zrHXg4QvgQTynCnD8zpgAysvzs19%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google Summer of Code 2017 - We are looking for mentors!

2017-02-27 Thread Oleg Nenashev
Hi all,

Jenkins project application on this year has been rejected. We will try to 
get some feedback in order to take it into account on the next year.

Thanks to everybody involved on this year. And my apologies for the result.

Best regards,
Oleg Nenashev

воскресенье, 5 февраля 2017 г., 3:04:24 UTC+1 пользователь Oleg Nenashev 
написал:
>
> Hi,
>
> On behalf of the GSoC org team I am happy to announce that we are going to 
> apply to Google Summer of Code 
>  on this year. GSoC 
> presumes that high-profile students work in open-source projects for 
> several months under mentorship of organization members.
>
> We will officially apply on Feb 6 after FOSDEM. Currently we are working 
> on the application docs and on the landing page. We are also looking for 
> mentors and project ideas. So yes, *we are looking for you* *:)*
>
> *Conditions*
>
>1. Mentors lead the project in the area of their interest
>2. Mentors actively participate in the project during student 
>selection, community bonding and coding phases (March - August)
>3. Mentors work in teams of 2+ mentors per 1 each student
>4. Mentors dedicate a consistent and significant amount of time, 
>especially during the coding phase (~5 hours per week in the team of two 
>mentors)
>
> Mentorship does not require strong expertise in Jenkins plugin 
> development. The main objective is to guide students and to get them 
> involved into the Jenkins community. If your mentor team requires any 
> specific expertise, org admins will do their best in order to find advisors.
>
> *What do you get?*
>
>1. A student, who works within the area of *your interest* on 
>full-time for several months
>2. Joint projects with Jenkins experts, lots of fun and ability to 
>study something together
>3. Limited edition of swags from Google and Jenkins project 
>4. Maybe: Participation in GSoC Mentor Summit in California with 
>expense coverage (depends on project results and per-project quotas) 
>
> *Requirements:*
>
>1. You are passionate about Jenkins
>2. You are interested in being mentor or advisor 
>3. Your project idea should be about *Jenkins* (plugins, core, 
>infrastructure, etc.)
>4. Your project idea should be about *code*
>5. Your project idea should be potentially doable in 3-4 months
>6. You are ready to dedicate time && have no major unavailability 
>periods planned to this summer (e.g. 2-month hike in Tibet without 
> internet 
>access)
>
> *If you are interested:*
>
>- Drop the Email to the Jenkins Developer mailing list with "GSoC2017" 
>prefix, or just respond to this email
>- Briefly describe your project idea (several sentences) and required 
>qualifications from students. If you already have a co-mentor, please 
>mention him
>- Having several project ideas is fine. Having no specific ideas is 
>also fine.
>
> Disclaimer: We cannot guarantee that all projects happen, it depends on 
> student application results and the number of project slots.
>
> You can find examples of GSoC 2016 project ideas here 
> .
>  
> You can also find information about the projects on this year on the 
> Subproject page: https://jenkins.io/projects/gsoc/ (see referenced 
> blogposts for details).
> Best regards,
> Oleg Nenashev
> Jenkins GSoC Org Admin
>

-- 
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/cd10d37e-8856-427d-9f93-7513e5b224df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins MultiBranch pipeline project

2017-02-27 Thread mmuru2k2
In a MultiBranch pipeline project, is there way to invoke Jenkins plugin 
(e.g SCP or Publish over SSH plugin) or able to configure within the 
Jenkinsfile? 

Thanks in advance,
Muru

-- 
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/df80176b-a1f3-4256-b1a4-613fb0e0f1ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Jenkins World 2017]: CFP closes March 5

2017-02-27 Thread Alyssa Tong
Friendly reminder that the  CFP
 is closing this coming
Sunday, March 5. Get your submission(s) in soon.

Thanks,
alyssa

-- 
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/CAC9wNawjuzt%2BwO4_MPVs-%3Dwd2s1F_B9PLgVVk2DMu%2BnPD2r-xA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Remote call on Channel failed with pipeline jobs

2017-02-27 Thread Thorsten Meinl
Hi,

I have several slaves running on multiple OS and executing pipeline jobs. 
When a (part of a ) job runs any of the Windows slaves I get tons of 
messages such as

Cannot contact WindowsServer2012: java.io.IOException: Remote call on Channel 
to /172.17.xx.xx failed

It seems this message is issued every time when there is a system out message 
from slave while it's executing a shell script. Yet, the job continues to run 
and finishes successfully.
I couldn't find any log file where there are more details on the message and 
also the system out of the process on the slave doesn't show anything. Does 
anyone have an idea what's going on?

Thanks,

Thorsten


-- 
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/c31f06e1-e3a3-4b0e-ae00-050a2b601a47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


JIRA downtime/maintenance window scheduled for 2017-03-04 16:00 UTC

2017-02-27 Thread R. Tyler Croy

I'm planning on performing a scheduled upgrade of JIRA (issues.jenkins-ci.org)
this Saturday at 16:00 UTC / 8:00 PST. I don't expect the work to last longer
than 60 minutes, but please expect JIRA to be offline for at least the full
hour.

The JIRA tracking this (hehe) is:



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


signature.asc
Description: PGP signature


Re: Upgrade Jenkins from 1.580 to 2.32.2

2017-02-27 Thread Peter McNab

No to what?

Jenkins 1.608 made slaves require Java7, so it might impact Raj's 
upgrade attempts.


I know the Java8 change hasn't been made, but it's coming soon as well.

Java7 has been around a long time, but so have the platforms I support, 
and we we moved up to a version that supported pipelines a number of the 
older platform slaves stopped working and some users had to scramble to 
adjust their jobs.


Pete


On 2/27/2017 11:16 AM, Baptiste Mathus wrote:
Well, no. The Java 8 change hasn't been made yet, though it is coming 
according to the announced plan (first weekly should be on April, and 
first LTS requiring it should be around early June). And Java 7 has 
been around for a long time.


And we already discussed the fact that though some platforms may not 
have a JDK packaged with std distro, it's dead simple to download it 
directly from , uncompress and be done with it on the big majority of 
platforms (Centos 6 is not an issue at all for instance, I can relate).


2017-02-27 19:29 GMT+01:00 Peter McNab >:


I don't remember exactly when the change was made, but keep in
mind that Java7 is required for slave nodes with recent versions
of Jenkins.  If you have slave nodes without that available they
will be dead in the water.

Pete


On 2/27/2017 9:59 AM, Raj wrote:

Thank you for the feedback.

Sure. we can do that and more simply with a vm snapshot for
rollback.

but in case of staging upgrade how do you propose \ suggest to
manage the slave \ agents ? i ask since if i bring up the staging
with a rsynced config then the agents will try to connect too and
might cause a issue. or should we just make all slaves offline
when i take a snaphot so when they do comeback they will be not
connected to the master and that way we can test just the master
and once it is fine then just connect all agents to the new server ?



On Saturday, February 25, 2017 at 1:35:25 PM UTC-5, Raj wrote:

Hello,
We have been stuck to a very old version of Jenkins for a
while now. 1.580. we are on Centos 6.

I am wondering if any one has upgraded from 1.580 to 2.32.2
via yum and including all plugins ?

If someone could share their experience it will be really
appreciated.

apart from need for jdk 1.8, is there any other hard
dependency for the upgrade?
Regards,
Raj

-- 
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/3f246128-6cea-4013-a175-c27bcce0e588%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/0b283e4a-7b5f-a981-3dac-212d45358eec%40perforce.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/CANWgJS5UFiUi-WGM7SkLx%3D1R49YadXmKUgV9g%3De7-UH8rognrQ%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/9258cc89-19ee-0393-d4d3-366f433fbcac%40perforce.com.
For more options, visit https://gro

Re: Upgrade Jenkins from 1.580 to 2.32.2

2017-02-27 Thread Baptiste Mathus
Well, no. The Java 8 change hasn't been made yet, though it is coming
according to the announced plan (first weekly should be on April, and first
LTS requiring it should be around early June). And Java 7 has been around
for a long time.

And we already discussed the fact that though some platforms may not have a
JDK packaged with std distro, it's dead simple to download it directly from
, uncompress and be done with it on the big majority of platforms (Centos 6
is not an issue at all for instance, I can relate).

2017-02-27 19:29 GMT+01:00 Peter McNab :

> I don't remember exactly when the change was made, but keep in mind that
> Java7 is required for slave nodes with recent versions of Jenkins.  If you
> have slave nodes without that available they will be dead in the water.
>
> Pete
>
> On 2/27/2017 9:59 AM, Raj wrote:
>
> Thank you for the feedback.
>
> Sure. we can do that and more simply with a vm snapshot for rollback.
>
> but in case of staging upgrade how do you propose \ suggest to manage the
> slave \ agents ? i ask since if i bring up the staging with a rsynced
> config then the agents will try to connect too and might cause a issue. or
> should we just make all slaves offline when i take a snaphot so when they
> do comeback they will be not connected to the master and that way we can
> test just the master and once it is fine then just connect all agents to
> the new server ?
>
>
>
> On Saturday, February 25, 2017 at 1:35:25 PM UTC-5, Raj wrote:
>>
>> Hello,
>> We have been stuck to a very old version of Jenkins for a while now.
>> 1.580. we are on Centos 6.
>>
>> I am wondering if any one has upgraded from 1.580 to 2.32.2 via yum and
>> including all plugins ?
>>
>> If someone could share their experience it will be really appreciated.
>>
>> apart from need for jdk 1.8, is there any other hard dependency for the
>> upgrade?
>> Regards,
>> Raj
>>
>> --
> 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/3f246128-6cea-4013-a175-c27bcce0e588%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/0b283e4a-7b5f-a981-3dac-212d45358eec%40perforce.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/CANWgJS5UFiUi-WGM7SkLx%3D1R49YadXmKUgV9g%3De7-UH8rognrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrade Jenkins from 1.580 to 2.32.2

2017-02-27 Thread Peter McNab
I don't remember exactly when the change was made, but keep in mind that 
Java7 is required for slave nodes with recent versions of Jenkins.  If 
you have slave nodes without that available they will be dead in the water.


Pete


On 2/27/2017 9:59 AM, Raj wrote:

Thank you for the feedback.

Sure. we can do that and more simply with a vm snapshot for rollback.

but in case of staging upgrade how do you propose \ suggest to manage 
the slave \ agents ? i ask since if i bring up the staging with a 
rsynced config then the agents will try to connect too and might cause 
a issue. or should we just make all slaves offline when i take a 
snaphot so when they do comeback they will be not connected to the 
master and that way we can test just the master and once it is fine 
then just connect all agents to the new server ?




On Saturday, February 25, 2017 at 1:35:25 PM UTC-5, Raj wrote:

Hello,
We have been stuck to a very old version of Jenkins for a while
now. 1.580. we are on Centos 6.

I am wondering if any one has upgraded from 1.580 to 2.32.2 via
yum and including all plugins ?

If someone could share their experience it will be really
appreciated.

apart from need for jdk 1.8, is there any other hard dependency
for the upgrade?
Regards,
Raj

--
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/3f246128-6cea-4013-a175-c27bcce0e588%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/0b283e4a-7b5f-a981-3dac-212d45358eec%40perforce.com.
For more options, visit https://groups.google.com/d/optout.


Re: Disabling Jenkins security during chef provisioning

2017-02-27 Thread Daniel Beck
Try setting the system property jenkins.install.runSetupWizard to false.

https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties

> On 22.02.2017, at 22:24, Farrukh Najmi  wrote:
> 
> Hi Guys, I am trying to setup Jenkins using the chef recipe at 
> https://supermarket.chef.io/cookbooks/jenkins. 
> 
> I would like to provision jenkins plugins using the CLI but have run into a 
> bootstrapping issue. 
> 
> Seems the default installation uses a strict config.xml that requires 
> true. 
> This means I cannot use the CLI to install plugins during provisioning 
> because I cannot do so as anonymous user. 
> 
> I tried updating the config.xml file to have:
> 
>  false 
> 
> But it seems that upon "service jenkins restart" my config.xml file gets 
> reverted to its original value. Any suggestions on how top work around this?
> 
> -- 
> 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/99f11d26-b9c2-466a-b7cb-655705b7e8dd%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/CE96F7BE-8373-4ADA-80BB-2747FD106BFD%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Disabling Jenkins security during chef provisioning

2017-02-27 Thread Farrukh Najmi

I would be grateful if someone that knows Jenkins internals could comment 
on this post. I need to know how to avoid Jenkins setting "
true" on first startup. If there is a known 
issue here I would appreciate a issue link. If there should be an issue 
filed please let me know and I will do so. Thanks.

On Wednesday, February 22, 2017 at 4:24:03 PM UTC-5, Farrukh Najmi wrote:
>
> Hi Guys, I am trying to setup Jenkins using the chef recipe at 
> https://supermarket.chef.io/cookbooks/jenkins. 
>
> I would like to provision jenkins plugins using the CLI but have run into 
> a bootstrapping issue. 
>
> Seems the default installation uses a strict config.xml that requires 
> true. 
> This means I cannot use the CLI to install plugins during provisioning 
> because I cannot do so as anonymous user. 
>
> I tried updating the config.xml file to have:
>
>  false 
>
> But it seems that upon "service jenkins restart" my config.xml file gets 
> reverted to its original value. Any suggestions on how top work around this?
>

-- 
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/86930ece-5e03-4232-9065-eb752f434bbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrade Jenkins from 1.580 to 2.32.2

2017-02-27 Thread Raj
Thank you for the feedback. 

Sure. we can do that and more simply with a vm snapshot for rollback. 

but in case of staging upgrade how do you propose \ suggest to manage the 
slave \ agents ? i ask since if i bring up the staging with a rsynced 
config then the agents will try to connect too and might cause a issue. or 
should we just make all slaves offline when i take a snaphot so when they 
do comeback they will be not connected to the master and that way we can 
test just the master and once it is fine then just connect all agents to 
the new server ?



On Saturday, February 25, 2017 at 1:35:25 PM UTC-5, Raj wrote:
>
> Hello,
> We have been stuck to a very old version of Jenkins for a while now. 
> 1.580. we are on Centos 6.
>
> I am wondering if any one has upgraded from 1.580 to 2.32.2 via yum and 
> including all plugins ? 
>
> If someone could share their experience it will be really appreciated. 
>
> apart from need for jdk 1.8, is there any other hard dependency for the 
> upgrade?
> Regards,
> Raj
>
>

-- 
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/3f246128-6cea-4013-a175-c27bcce0e588%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Not able to access Jenkins

2017-02-27 Thread Prasu S
I'm able to login to Jenkins due to the below error. Jenkins was woking 
fine yesterday.I replaced the current config.xml with the previous one and 
restarted tomcat  but still no luck.It seems like plugin issue.  Any help 
is greatly appreciated.


hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: 
java.io.IOException: Unable to read \apps\jenkins\jenkins_home\config.xml
at hudson.WebAppMain$3.run(WebAppMain.java:237)
Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: 
Unable to read \apps\jenkins\jenkins_home\config.xml
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:915)
at jenkins.model.Jenkins.(Jenkins.java:814)
at hudson.model.Hudson.(Hudson.java:83)
at hudson.model.Hudson.(Hudson.java:79)
at hudson.WebAppMain$3.run(WebAppMain.java:225)
Caused by: java.io.IOException: Unable to read 
D:\Build\Jenkins\apps\jenkins\jenkins_home\config.xml
at hudson.XmlFile.unmarshal(XmlFile.java:165)
at jenkins.model.Jenkins$16.run(Jenkins.java:2629)
at 
org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:904)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: com.thoughtworks.xstream.converters.ConversionException: 
hudson.plugins.active_directory.ActiveDirectorySecurityRealm : 
hudson.plugins.active_directory.ActiveDirectorySecurityRealm
 Debugging information 
message : 
hudson.plugins.active_directory.ActiveDirectorySecurityRealm
cause-exception : 
com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message   : 
hudson.plugins.active_directory.ActiveDirectorySecurityRealm
class   : hudson.model.Hudson
required-type   : hudson.model.Hudson
converter-type  : hudson.util.RobustReflectionConverter
path: /hudson/securityRealm
line number : 935
version : not available

-- 
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/47d65fbc-e4a4-45c1-8282-ed7b81a517a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Forcing Update Center to use a specific mirror? Or creating my own?

2017-02-27 Thread Jeff
Our Jenkins server is inside a secure environment with very limited
external connectivity.  I was able to finally convince the powers that be
to create an exception in our proxy to allow the Jenkins master to contact
the update center URL.  However when I try to download, it redirects to a
mirror which is not allowed.

Can I somehow tell the update center to NOT use a mirror or use a specific
mirror that I can whitelist so I don't have to allow all possible mirror
URLs?

Alternatively could I configure my own local mirror that I can use?

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/CAPJK9%3DLcu9ZsAnEQzy%3DsRRBx1e06QcSdn2BX%2BYzz0KA9ApyS3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Windows Slave / LinuxMaster hang

2017-02-27 Thread jerome
Hi,

I still got some trouble with my Linux master and Windows slave that often 
hang.

I don't have anything into the jenkins.log to help
Feb 25, 2017 3:05:41 AM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Workspace clean-up
Feb 25, 2017 3:05:41 AM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Workspace clean-up. 29 ms
Feb 25, 2017 6:03:12 AM hudson.triggers.SCMTrigger$Runner run
INFO: SCM changes detected in Bodycad cpp projects » 
CAD_CPP_ContinuousBuild. Triggering  #105
Feb 25, 2017 11:31:25 AM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Feb 25, 2017 11:31:30 AM hudson.model.UpdateSite updateData
INFO: Obtained the latest update center data file for UpdateSource default


The dmesg -T on the server doesn't help much either but I got the following 
error after forcing restart Jenkins:
[Mon Feb 27 11:43:37 2017] CIFS VFS: Send error in Close = -512
Yes the server build info are locate on a CIFS share. I had some CFIS error 
before, I increased the VM memory and tweak the vm_dirty* parameters to get 
ride of those.

This often occur right after a bat command on the slave
bat returnStatus: false, script: "\"${bcad.msbuild_current}\" 
${bcad.msbuild_solution_name} ${bcad.msbuild_default_arg} /t:Build"

The command seem to have successfully completed into the output log but 
then nothing happen and I cannot kill the build, the Web GUI is accessible 
but nothing can be done to un jam them, I have to restart Jenkins, which 
try to recover the build and fail since it a sequential sequence at at that 
point.

This doesn't show up when starting the build manually. Any way to debug 
this? It's really interfering with our build system and lock Porject and 
Slave.

Jerome

-- 
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/450edafc-2a19-4bdd-a2d0-cc5ac27a27ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Double changes in Declarative Pipeline job

2017-02-27 Thread Andrew Bayer
This isn't Declarative specific, fwiw. I'll try to take another look at the
change log logic this week.

A.

On Sun, Feb 26, 2017 at 9:33 PM Andreas Magnusson <
andreas.ch.magnus...@gmail.com> wrote:

> We happily using Declarative Pipeline here, however I've noticed from the
> very beginning that we get double build "recordings" in the Changes log. It
> seems that we get one log from the checkout/update of the workspace for the
> Jenkinsfile, and then one from the automatic checkout/update from the
> automatic checkout by Declarative.
> Is this a bug or a feature, or do anyone have a simple workaround? One
> would probably be to disable the auto checkout in Declarative, but it seems
> that it would go against the flow of the Declarative plugin. Also, I really
> like a solution where I don't have to duplicate the checkout url (which I
> don't have to do with a simple "checkout scm" entry)
> Another would be to get the first checkout not to be part of the change
> log, but that option doesn't seem to be available on a standard Pipeline
> job.
>
> Note that we're using Subversion (in case it differs from Git), and a
> standard Pipeline job (NOT multibranch).
>
> Cheers,
> Andreas
>
> --
> 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/9edd36ed-09f7-4def-aa96-8bef1190e54e%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/CAPbPdOa__pJ0Va914_6RXi%3DEpNOfQ_s37Tj1Tev8nqQyfQdduA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to access Jenkins server using Python Or JenkinsApi for Windows

2017-02-27 Thread Eric Pyle
I use Jenkinsapi for both Linux and Windows with no problem. You just 
need to install Jenkinsapi module in the Python installation used by 
each build machine, e.g. by "pip install jenkinsapi". Then in a shell or 
batch script build step, you call a Python script and "import 
jenkinsapi" in the script.


Eric

On 2/27/2017 5:08 AM, Sujith Cherukuri wrote:

Hello,

My build server is based on Windows. I want to trigger a Build using 
pythons scripts. As of now from http://pythonhosted.org/jenkinsapi/ 
, it seems that, api only for 
Linux System.


Thanks and Regards,
Sujith
--
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/8d4a4967-b410-4c2f-bda9-f4f97a775e1a%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
*Eric Pyle
*
Siemens PLM Software
Lebanon, NH
+1 603-277-3060 (T)
+1 603-359-8670 (M)
eric.p...@siemens.com 
http://www.siemens.com/plm 

--
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/297ddcec-a182-be40-47a1-63078e60ffb7%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.


how to view tomcat logs in jenkins

2017-02-27 Thread ali kahveci
Hi Everybody,

How to view tomcat logs in jenkins and parsing tomcat logs?

-- 
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/85eebe39-291d-469d-b5ea-f7cb47fdcb02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Sending mail from pipeline not working

2017-02-27 Thread Thorsten Meinl


> Anything interesting in the build log? 
>
> Nope, only

[Pipeline] stage[Pipeline] { (Send mail)[Pipeline] step[Pipeline] }[Pipeline] 
// 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/ff777064-1eaf-43a6-9079-fdc67df074bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Sending mail from pipeline not working

2017-02-27 Thread Daniel Beck

> On 27.02.2017, at 12:00, Thorsten Meinl  wrote:
> 
> The mail just isn't sent.

Anything interesting in the build log?

-- 
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/EF339AEC-533E-4CB5-AB79-3CBD96426535%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Is CIFS host configuration as code (groovy script) possible?

2017-02-27 Thread Ewelina Wilkosz
ok, maybe it will be:
https://github.com/jenkinsci/publish-over-cifs-plugin/pull/3

On Thursday, February 23, 2017 at 9:57:19 AM UTC+1, Ewelina Wilkosz wrote:
>
> Hi everyone,
>
> I'm trying to configure Jenkins as code - so I'm using descriptors to 
> configure plugins in groovy script. And I'm having problems with 
> configuring CIFS host, can't find the proper descriptor in 
> https://github.com/jenkinsci/publish-over-cifs-plugin. I will maybe try 
> to implement something on my own, but since I've just started working with 
> that I wanted to check with you if
>
> a) is there anyone already working on that/solved that
> b) is the descriptor available and I'm just blind 
>
> thanks in advance!
>
> BR
> Ewelina
>

-- 
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/2a524b0f-aead-43d2-afc5-942b669ef5cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Sending mail from pipeline not working

2017-02-27 Thread Thorsten Meinl
Hi,

I am unable to send any mail from pipeline jobs using

step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: 
'me@mail'])

The mail just isn't sent. Sending mails works perfectly in freestyle jobs. 
Is this a bug or am I missing something?

Thanks,

Thorsten

-- 
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/d6165d02-66a7-4f42-98a4-24051afacbe4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to access Jenkins server using Python Or JenkinsApi for Windows

2017-02-27 Thread Sujith Cherukuri
Hello,

My build server is based on Windows. I want to trigger a Build using 
pythons scripts. As of now from http://pythonhosted.org/jenkinsapi/, it 
seems that, api only for Linux System.

Thanks and Regards,
Sujith 

-- 
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/8d4a4967-b410-4c2f-bda9-f4f97a775e1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.