Why Jenkins Location setting is used in jnlp setting?

2015-03-26 Thread Hiroki Kondo
Hello,

I made a windows slave agent by JNLP connection.
My Jenkins master behinds apache.
Apache is configured as reverse proxy and ssl certification.

So I want to set "Jenkins Location" as Apache URL.
But the setting is used as remoting url parameter in jnlp.
Sometimes our agent can't connect because connect to Apache.

How should I do? Just set Jenkins Location to the master url?
I read "Jenkins Locaiton" is used in in email links.

# environment information

## master

version: 1.596.2
OS: Debian

## slave
OS:Windows Server 2008 R2

Best regards,

Hiroki

-- 
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/1714f0ac-325f-4efe-ad5d-09ebfd7b0c75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Workflow with Dockerfile within build step

2015-03-26 Thread Kent Johnson
I am using version 1.602 of jenkins
I am also launching Jenkins via a service from Ubuntu 14.04
I am using Java 1.8u40 to launch Jenkins
I am using version 1.3 of the Workflow: Aggregator plugin

On Thursday, March 26, 2015 at 4:48:47 PM UTC-6, Kent Johnson wrote:
>
> Has anyone had any luck with running docker images from workflow steps?
>
> I am trying to build and run a docker container using the workflow plugin. 
>
> I have a simple Spring Boot app running as a JAR file within a Docker 
> container. I am trying to use the workflow plugin to make a Docker 
> container with my JAR file and then run the docker file.
>
> My Jenkins host is currently my Docker Engine. This will change later when 
> I get this working. I'll have the local Docker client point to a different 
> engine, possibly a Docker Swarm.
>
> I am struggling with having the workflow script be able to locate my 
> Dockerfile.
>
> *The error I am getting is as follows:*
>
> Running: Shell Script
> [workspace] Running shell script
> + docker build -t kentoj/sksvc:1.1 .
> time="2015-03-26T16:13:08-06:00" level="fatal" msg="Cannot locate Dockerfile: 
> Dockerfile"
>
>
> *Here is my flow.groovy:*
>
> node('master') {
> //input("Ready to start build?")
> checkout([
> $class: 'GitSCM', branches: [[name: '*/master']],
> doGenerateSubmoduleConfigurations: false,
> extensions: [], submoduleCfg: [],
> userRemoteConfigs:
> [[credentialsId: '...',
> url: 'http://githubenterprise.local/kent/sksvc.git']]])
>
> // BUILD
> sh "gradle clean build"
> echo 'Building JAR finished.'
>
> echo '...'
> echo '...'
> echo 'archiving jar file...'
> // ARCHIVE JAR FILE
> step([$class: 'hudson.tasks.ArtifactArchiver', artifacts: 
> '**/build/libs/*.jar', fingerprint: true])
> echo 'Successfully archived JAR.'
>
> echo 'archiving dockerfile'
> // ARCHIVE DOCKERFILE
> step([$class: 'hudson.tasks.ArtifactArchiver', artifacts: 'Dockerfile', 
> fingerprint: false])
> echo 'successfully archived dockerfile'
>
>
> // AGGREGATE TEST RESULTS
> step([$class: 'JUnitResultArchiver', testResults: 
> '**/build/test-results/TEST-*.xml'])
>
> 
>
> // DEPLOY TO HOST
> // sh "scp **/build/libs/*.jar kent@node-app-01:/opt/kent/skeleton"
>
> // CLEAN UP OLD BINARY
> // sh "ssh kent@node-app-01 pkill -f \"/opt/kent/skeleton/skeleton*\""
>
> // Build Docker image
> sh "docker build -t kentoj/sksvc:1.1 ."
>
> // Run Docker container
> sh "docker run -d=true -p 8090:8080 --name kent-sksvc kentoj/sksvc:1.2 &"
>
> }
>
>
> *My docker file is as follows:*
>
>
> # skeleton service
> #
> # Version 0.0.1
>
> FROM java:8u40-jre
> MAINTAINER Kent Johnson 
>
> ADD skeleton-service-0.0.1.jar /opt/kent
>
> WORKDIR /opt/kent
>
> CMD java -jar *.jar
> # ENTRYPOINT["/usr/bin/java", "-jar", "/opt/kent/*.jar"]
>
> EXPOSE 8080;
>
>
> How would I be able to retrieve the Dockerfile and, further, how would I know 
> which context to execute the `docker build` command from?
>
>

-- 
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/0afdcb87-711d-4822-bb91-da6effdaf7f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Workflow with Dockerfile within build step

2015-03-26 Thread Kent Johnson
Has anyone had any luck with running docker images from workflow steps?

I am trying to build and run a docker container using the workflow plugin. 

I have a simple Spring Boot app running as a JAR file within a Docker 
container. I am trying to use the workflow plugin to make a Docker 
container with my JAR file and then run the docker file.

My Jenkins host is currently my Docker Engine. This will change later when 
I get this working. I'll have the local Docker client point to a different 
engine, possibly a Docker Swarm.

I am struggling with having the workflow script be able to locate my 
Dockerfile.

*The error I am getting is as follows:*

Running: Shell Script
[workspace] Running shell script
+ docker build -t kentoj/sksvc:1.1 .
time="2015-03-26T16:13:08-06:00" level="fatal" msg="Cannot locate Dockerfile: 
Dockerfile"


*Here is my flow.groovy:*

node('master') {
//input("Ready to start build?")
checkout([
$class: 'GitSCM', branches: [[name: '*/master']],
doGenerateSubmoduleConfigurations: false,
extensions: [], submoduleCfg: [],
userRemoteConfigs:
[[credentialsId: '...',
url: 'http://githubenterprise.local/kent/sksvc.git']]])

// BUILD
sh "gradle clean build"
echo 'Building JAR finished.'

echo '...'
echo '...'
echo 'archiving jar file...'
// ARCHIVE JAR FILE
step([$class: 'hudson.tasks.ArtifactArchiver', artifacts: 
'**/build/libs/*.jar', fingerprint: true])
echo 'Successfully archived JAR.'

echo 'archiving dockerfile'
// ARCHIVE DOCKERFILE
step([$class: 'hudson.tasks.ArtifactArchiver', artifacts: 'Dockerfile', 
fingerprint: false])
echo 'successfully archived dockerfile'


// AGGREGATE TEST RESULTS
step([$class: 'JUnitResultArchiver', testResults: 
'**/build/test-results/TEST-*.xml'])



// DEPLOY TO HOST
// sh "scp **/build/libs/*.jar kent@node-app-01:/opt/kent/skeleton"

// CLEAN UP OLD BINARY
// sh "ssh kent@node-app-01 pkill -f \"/opt/kent/skeleton/skeleton*\""

// Build Docker image
sh "docker build -t kentoj/sksvc:1.1 ."

// Run Docker container
sh "docker run -d=true -p 8090:8080 --name kent-sksvc kentoj/sksvc:1.2 &"

}


*My docker file is as follows:*


# skeleton service
#
# Version 0.0.1

FROM java:8u40-jre
MAINTAINER Kent Johnson 

ADD skeleton-service-0.0.1.jar /opt/kent

WORKDIR /opt/kent

CMD java -jar *.jar
# ENTRYPOINT["/usr/bin/java", "-jar", "/opt/kent/*.jar"]

EXPOSE 8080;


How would I be able to retrieve the Dockerfile and, further, how would I know 
which context to execute the `docker build` command from?

-- 
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/5de21093-b724-4d50-9e80-2e2411e26a41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fwd: enable qemu in jenkins

2015-03-26 Thread Lynn Lin
-- 转发的邮件 --
发件人: *Lynn Lin* 
日期: 2015年3月26日星期四
主题: enable qemu in jenkins
收件人: "jenkinsci-users@googlegroups.com" 


Hi all,

I have a jenkins(1.598)  server setup(ubuntu 14.04) ,in this server , I
also setup qemu, in this qemu, I create a ubuntu OS with NAT network
configuration . I followed
Libvirt Slaves Plugin

https://wiki.jenkins-ci.org/pages/viewpage.action?pageId=65670743 to
configure  and see following failure
net.schmizz.sshj.userauth.UserAuthException: Exhausted available
authentication methods

configuration is :
Hypervisor TypeQEMUXENLXCBHYVE[image: Help for feature: Hypervisor Type]
 Hypervisor Host[image: Help for
feature: Hypervisor Host]  Username[image:
Help for feature: Username]  SSH
Port[image:
Help for feature: SSH Port]  URI
parameters[image: Help for feature: URI parameters]
 Concurrent Slaves Capacity[image:
Help for feature: Concurrent Slaves Capacity]
 Use Native Java libvirt client Native
Credentials
qemu2  Add

I can ssh lynn@10.32.100.55
 without password
successfully


Any advice ?

-- 
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/CAPgpnMSXBoi6sK7uuzFqovs36YJ0afv6KMs-h73OjtXb7dyQmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins User Conference 2015: REGISTRATION IS OPEN

2015-03-26 Thread Alyssa Tong
Hi All,


We are happy to announce the Jenkins User Conference 2015
 is now open for
registration.  This is your opportunity to tap the collective knowledge of
a vibrant community of Jenkins practitioners. Network with other Jenkins
users, just like yourself, all looking to learn what others are doing with
Jenkins across the software delivery process.



*Sign up for the Jenkins User Conference (JUC) of your choice now, while
Early Bird pricing is in effect.
 *


 Register early for just $299 (US) / £299 (UK) at the special Early Bird
discount rate (expires May 1).



You’ll notice some exciting changes this year, including:


   -*JUC expands to two days* – that’s double the number of
   sessions, double the number of networking opportunities.
   - *Special keynote by Gene Kim *(in U.S. East and West only) -
   Gene is a multiple award winning CTO, researcher and author,  “The
   Visible Ops Handbook” and “The Phoenix Project: A Novel About IT, DevOps,
   and Helping Your Business Win." Gene is a huge fan of IT operations, and
   how it can enable developers to maximize throughput of features from “code
   complete” to “in production,” without causing chaos and disruption to the
   IT environment.
   -*Ask the Experts returns - *with expanded hours and
   opportunities to ask your most pressing Jenkins questions.
   - *Everyone’s favorite Butler will be present - *get your
   picture taken with him!
   - *The Jenkins User Conference will run concurrently with CD
   Summit* in each region (except Israel), giving attendees an opportunity
   to peek into the DevOps and IT management side of continuous delivery.
   -*The two conferences will share common activities* such as an
   integrated partner exhibit area, meals and an evening event. Additionally,
   attendees for one conference can cross-attend sessions at the other
   conference, making JUC 2015 a two-for-one event.

Why not sign up now and lock in low, Early Bird pricing
?



Interested in supporting the Jenkins OS community? Become a sponsor.
Inquire at JUC Sponsorship
.



See you at JUC!



The Jenkins User Conference Organizing Committee

-- 
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/CAC9wNawReMOB-JLnEcrGe1%3DqzsQ5iarycqyVYcaNDMmPqYUyjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Claiming build is impossible due to short refresh period on build page !

2015-03-26 Thread Richard Bywater
Do you have Auto Refresh turned on? (Link to turn it on or off is in the
top right)

Richard.

On Fri, 27 Mar 2015 at 05:07 Sylvain Richet 
wrote:

> Hi,
>
> I am facing a superficial problem in Jenkins Build page (with Claim link
> inside).
> But i didn't found any workaround.
>
> *symptom :*
>
>- on a failed build page, i would like to claim, ok.
>- but there is *probably* *somewhere* *a refresh page parameter* which
>prevents me to post in the Claim popup
>- not enough time : 10 seconds later, the build page is refreshed and
>Claim popup disappears
>
> Damned !
>
> Any idea ?
>
> A help would be deeply appreciated, ;-)
>
> Best regards
>
>  --
> 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/a820e719-b03e-4a24-92ba-df067f2d1a14%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/CAMui944OSjrs3mErPPryh_xY54ccsh_oTPzkqLv4G9EonOvgYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: find jobs with high polling frequency?

2015-03-26 Thread Mark Waite
On Thu, Mar 26, 2015 at 11:18 AM, Les Mikesell 
wrote:

> I don't understand how that would work.  I don't want to do a bulk
> change - I want something more like a view sorted by poll frequency so
> I can understand the likely effect on the repository.


I've used the configuration slicing plugin to view the values (of interest
to me) of all the jobs.  The slicing plugin grouped the job names by the
attribute of interest (in my case, number of builds being retained), and it
had the additional benefit that I could then perform bulk adjustments
directly from that same page.

However, I'm not sure if the polling frequency is one of the values which
can be adjusted by the configuration slicing plugin.  When I needed to
detect and adjust jobs which were keeping too many builds, the
configuration slicing plugin was very helpful.

Mark Waite



> On Thu, Mar 26, 2015 at 11:54 AM, Clifford Sanders
>  wrote:
> > You can use the 'Timer Trigger Slicer' of 'Configuration Slicing Plugin'
> >
> > https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin
> >
> > Clifford
> >
> > Am Dienstag, 24. März 2015 23:54:59 UTC+1 schrieb LesMikesell:
> >>
> >> On a system with a large number of jobs configured, is there a way to
> >> find which ones are configured to poll the SCM frequently?
> >>
> >> --
> >>Les Mikesell
> >>  lesmi...@gmail.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/f4b1ecc4-34ea-4dbe-af17-dc3d4ade8d74%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/CAOAgVpxPGF1RhBE60Cd38nMFT-SmAT0KjScO9mDY%2BgR1pa1UfA%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks!
Mark Waite

-- 
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/CAO49JtEbt%2B%2BfPRz_mGB2kgosk9pjzC0MotQ8o%3DArPV3-m7rwFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Slack Plugin doesn't notify channel

2015-03-26 Thread Hugo M
Hello, I'm using: https://wiki.jenkins-ci.org/display/JENKINS/Slack+Plugin

Version: 1.7
Jenkins: 1.6

I'm not getting the notifications even if I set all the notifications 
options in "Advanced options", BUT I'm getting the "Slack/Jenkins plugin: 
you're all set." message in my Slack channel the first time I configure it. 
So it's able to connect to Slack, but it doesn't notify when the job 
starts, ends, etc.

Another issue: when I press on "Test Connection" I get success no mather 
what I put on the configuration (url, channel, etc.).

-- 
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/4b44e6dd-11e5-46de-a086-fa4a0c2b3e14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: find jobs with high polling frequency?

2015-03-26 Thread Daniel Beck
... combined with View Job Filters Plugin's "Regular Expression Job Filter" 
matching any non-empty value (.+) in 'Job Schedule' to only show those with 
schedules defined.

On 26.03.2015, at 18:30, Daniel Beck  wrote:

> Maybe something like Cron Column Plugin?
> 
> On 26.03.2015, at 18:18, Les Mikesell  wrote:
> 
>> I don't understand how that would work.  I don't want to do a bulk
>> change - I want something more like a view sorted by poll frequency so
>> I can understand the likely effect on the repository.
>> 
>> On Thu, Mar 26, 2015 at 11:54 AM, Clifford Sanders
>>  wrote:
>>> You can use the 'Timer Trigger Slicer' of 'Configuration Slicing Plugin'
>>> 
>>> https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin
>>> 
>>> Clifford
>>> 
>>> Am Dienstag, 24. März 2015 23:54:59 UTC+1 schrieb LesMikesell:
 
 On a system with a large number of jobs configured, is there a way to
 find which ones are configured to poll the SCM frequently?
 
 --
  Les Mikesell
lesmi...@gmail.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/f4b1ecc4-34ea-4dbe-af17-dc3d4ade8d74%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/CAOAgVpxPGF1RhBE60Cd38nMFT-SmAT0KjScO9mDY%2BgR1pa1UfA%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/400E79B2-0785-4D8D-B76F-F5EC5D64B76E%40beckweb.net.
> 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/508B546D-58F0-4A52-9447-B5EAEE6FBE38%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: find jobs with high polling frequency?

2015-03-26 Thread Daniel Beck
Maybe something like Cron Column Plugin?

On 26.03.2015, at 18:18, Les Mikesell  wrote:

> I don't understand how that would work.  I don't want to do a bulk
> change - I want something more like a view sorted by poll frequency so
> I can understand the likely effect on the repository.
> 
> On Thu, Mar 26, 2015 at 11:54 AM, Clifford Sanders
>  wrote:
>> You can use the 'Timer Trigger Slicer' of 'Configuration Slicing Plugin'
>> 
>> https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin
>> 
>> Clifford
>> 
>> Am Dienstag, 24. März 2015 23:54:59 UTC+1 schrieb LesMikesell:
>>> 
>>> On a system with a large number of jobs configured, is there a way to
>>> find which ones are configured to poll the SCM frequently?
>>> 
>>> --
>>>   Les Mikesell
>>> lesmi...@gmail.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/f4b1ecc4-34ea-4dbe-af17-dc3d4ade8d74%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/CAOAgVpxPGF1RhBE60Cd38nMFT-SmAT0KjScO9mDY%2BgR1pa1UfA%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/400E79B2-0785-4D8D-B76F-F5EC5D64B76E%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: find jobs with high polling frequency?

2015-03-26 Thread Les Mikesell
I don't understand how that would work.  I don't want to do a bulk
change - I want something more like a view sorted by poll frequency so
I can understand the likely effect on the repository.

On Thu, Mar 26, 2015 at 11:54 AM, Clifford Sanders
 wrote:
> You can use the 'Timer Trigger Slicer' of 'Configuration Slicing Plugin'
>
> https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin
>
> Clifford
>
> Am Dienstag, 24. März 2015 23:54:59 UTC+1 schrieb LesMikesell:
>>
>> On a system with a large number of jobs configured, is there a way to
>> find which ones are configured to poll the SCM frequently?
>>
>> --
>>Les Mikesell
>>  lesmi...@gmail.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/f4b1ecc4-34ea-4dbe-af17-dc3d4ade8d74%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/CAOAgVpxPGF1RhBE60Cd38nMFT-SmAT0KjScO9mDY%2BgR1pa1UfA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Building a better catch-up system

2015-03-26 Thread Jo Shields
https://github.com/directhex/jenkins-git-catch-up

/micdrop

When I'm done, it'll optionally allow for merges to be squashed (i.e. if 
someone merges a large branch, that merge commit will be regarded as one 
commit, not as potentially dozens)

-- 
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/a95ee400-8ca2-4aea-a9ce-66f867a0b839%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins change reports on deployment to environment

2015-03-26 Thread Mark Small
We have a GIT/JENKINS auto Build/Deploy continuous integration setup.

1) Developer pushes code to DEV git branch.
2) Jenkins is notified, it builds and deploys code to DEV environment.
3) DEV git branch is merged to BETA git branch and pushed.
4) Jenkins is notified, it builds and deploys code to BETA environment.
5) Developer emails link to BETA Job's changes URL to wider team (including 
non-developers).

While this system works, it breaks one of the rules of Continuous 
Integration/Deployment i.e. build once, deploy to multiple environments.

What we would ideally like is:

1) Developer pushes code to DEV git branch.
2) Jenkins is notified, it builds and deploys code to DEV environment.
3) DEV manually triggers BETA deploy Job, it takes the latest successful 
build and deploys it to the BETA environment and an email of all changes 
since last deploy to that environment is emails to the wider team 
(including non-developers).

The problem as I see it is collating the changes across many builds into 
one email.  Does anyone have any ideas, examples?

Thanks in advance.


MARK

CIAO

-- 
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/920baa36-01ef-407a-b8b3-4e79b485db36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: find jobs with high polling frequency?

2015-03-26 Thread Clifford Sanders
You can use the 'Timer Trigger Slicer' of 'Configuration Slicing Plugin'

https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin

Clifford

Am Dienstag, 24. März 2015 23:54:59 UTC+1 schrieb LesMikesell:
>
> On a system with a large number of jobs configured, is there a way to 
> find which ones are configured to poll the SCM frequently? 
>
> -- 
>Les Mikesell 
>  lesmi...@gmail.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/f4b1ecc4-34ea-4dbe-af17-dc3d4ade8d74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[workflow-plugin] execute post build step regardless of any errors that occured before

2015-03-26 Thread Clifford Sanders
Hi,

I'm currently migrating a Maven job to a Workflow job.

There are UI tests so one of the first steps is to start Xvfb before 
executing the Maven command and stopping it afterwards.

sh "sudo /sbin/service xvfbd start"
sh "mvn clean verify -Dmaven.test.failure.ignore=true"
sh "sudo /sbin/service xvfbd stop"

This works as long there are no errors (e.g. compile, syntax).

Is there a way to force execution of the last step?

Thanks

Clifford 

-- 
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/a400949d-8e53-4ad9-bae3-698ac11c7ea7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Claiming build is impossible due to short refresh period on build page !

2015-03-26 Thread Sylvain Richet
Hi,

I am facing a superficial problem in Jenkins Build page (with Claim link 
inside).
But i didn't found any workaround.

*symptom :*

   - on a failed build page, i would like to claim, ok.
   - but there is *probably* *somewhere* *a refresh page parameter* which 
   prevents me to post in the Claim popup
   - not enough time : 10 seconds later, the build page is refreshed and 
   Claim popup disappears
   
Damned !

Any idea ?

A help would be deeply appreciated, ;-)

Best regards

-- 
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/a820e719-b03e-4a24-92ba-df067f2d1a14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins nested view - animation status during the build

2015-03-26 Thread Cezary Irzykowski
  Hi, 

whether it is possible to have nested view plugin showed status during the 
build?
I'm talking about the status of "In progress" - flashing ball red/green. 
At the moment - static ball..  I tried to modify the plugin, but without 
any interesting effects..

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/93f136b3-2fae-4f61-80f2-2f69070d1e3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cannot change width of Execute shell text box on configure page for a project

2015-03-26 Thread Aidan Semple
Some good ideas... thanks for the replies!

On Wednesday, 25 March 2015 13:28:08 UTC, Aidan Semple wrote:
>
> I'm running Jenkins 1.600 and am currently setting up a new project with 
> rather a long command to put in to one of the Execute Shell text boxes.
> Unfortunately the command is so long it extends the width of the text box 
> considerably messing up the display of the project in my browser so it is 
> harder to read. This happens in IE, Chrome and Firefox. I am not able to 
> shrink the width of the text box (only the height). 
>
> However in Jenkins 1.544 I could change the width and the command would 
> wrap accordingly. Well this was using firefox but does not work in IE or 
> chrome. 
> Any ideas on what I need to do to fix this? It could be browser related or 
> even Jenkins, but would be grateful for any tips.
> Thanks in advance
> Aidan
>

-- 
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/14d06a8e-9738-44dd-945a-dc36edb02773%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


re-run build step if failed

2015-03-26 Thread Shurik
Hi,

I have the job that has shell build step.

I want to re-run this build step if it failed on the first time.

I need to configure it on the same job ( I can't define other job for it or 
use the naginator plugin - project restriction )

How can I configure it?

Thanks,
Shurik

-- 
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/c9c2d3d6-0656-482a-9f8a-b591d326b002%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to use CUDA context for automatic unit testing

2015-03-26 Thread James Nord
CUDA being related to using graphics card to run code I would suggest that 
if what Richard suggested doesn't work that you look at the option to run 
service with "allow interaction with the desktop" enabled.
Otherwise you may need to change the slave launch method so that windows 
auto-logs in then run the JNLP slave launcher rather than running as a 
service.
If you are only using a single master and no slave (which is not 
recommended) then you can acheive similar by running jenkins form the 
command line (a combination of auto-logon and startup script will surfice).

/James



On Thursday, 26 March 2015 09:35:44 UTC, Richard Bywater wrote:
>
> Don't even know what CUDA is but I would check the %PATH% variable that is 
> set at the time the Jenkins job runs. Doing a "echo %PATH%" step in your 
> build job should give you something to compare with when you have a manual 
> command line.
>
> Richard.
>
> On Thu, 26 Mar 2015 at 22:14 Chikhare > 
> wrote:
>
>> Hi,
>>
>> I have a jenkins server under windows 7 64 bits and a CUDA capable device.
>>
>> I set up a job to perform a google test who execute unit tests on CUDA 
>> device. When running under Jenkins, the google test fails saying 
>> "insufficient version of CUDA ..." which means that the unit tests can't 
>> use the CUDA device.
>>
>> Jekins is launched as a service with a specific user account. If I 
>> execute manually this test (command line) under the same user account, the 
>> unit test performs successfully.
>>
>> I have the same problem if Jenkins is a slave.
>>
>> Someone has any clue ?
>>
>> Regards.
>>
>> Arezki.
>>
>> -- 
>> 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/ac6a80df-a64f-4835-8362-e52a827ed3a9%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/b369f813-de96-44a9-8c5a-3dff6989a977%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to use CUDA context for automatic unit testing

2015-03-26 Thread Richard Bywater
Don't even know what CUDA is but I would check the %PATH% variable that is
set at the time the Jenkins job runs. Doing a "echo %PATH%" step in your
build job should give you something to compare with when you have a manual
command line.

Richard.

On Thu, 26 Mar 2015 at 22:14 Chikhare  wrote:

> Hi,
>
> I have a jenkins server under windows 7 64 bits and a CUDA capable device.
>
> I set up a job to perform a google test who execute unit tests on CUDA
> device. When running under Jenkins, the google test fails saying
> "insufficient version of CUDA ..." which means that the unit tests can't
> use the CUDA device.
>
> Jekins is launched as a service with a specific user account. If I execute
> manually this test (command line) under the same user account, the unit
> test performs successfully.
>
> I have the same problem if Jenkins is a slave.
>
> Someone has any clue ?
>
> Regards.
>
> Arezki.
>
> --
> 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/ac6a80df-a64f-4835-8362-e52a827ed3a9%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/CAMui946s4bHWVtNsyRe%2BN_52t6yZJJ78V9ebbnYhcdgw1SZkfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Unable to use CUDA context for automatic unit testing

2015-03-26 Thread Chikhare
Hi,

I have a jenkins server under windows 7 64 bits and a CUDA capable device.

I set up a job to perform a google test who execute unit tests on CUDA 
device. When running under Jenkins, the google test fails saying 
"insufficient version of CUDA ..." which means that the unit tests can't 
use the CUDA device.

Jekins is launched as a service with a specific user account. If I execute 
manually this test (command line) under the same user account, the unit 
test performs successfully.

I have the same problem if Jenkins is a slave.

Someone has any clue ?

Regards.

Arezki.

-- 
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/ac6a80df-a64f-4835-8362-e52a827ed3a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


enable qemu in jenkins

2015-03-26 Thread Lynn Lin
Hi all,

I have a jenkins(1.598)  server setup(ubuntu 14.04) ,in this server , I
also setup qemu, in this qemu, I create a ubuntu OS with NAT network
configuration . I followed
Libvirt Slaves Plugin

https://wiki.jenkins-ci.org/pages/viewpage.action?pageId=65670743 to
configure  and see following failure
net.schmizz.sshj.userauth.UserAuthException: Exhausted available
authentication methods

configuration is :
Hypervisor TypeQEMUXENLXCBHYVE[image: Help for feature: Hypervisor Type]
 Hypervisor Host[image: Help for
feature: Hypervisor Host]  Username[image:
Help for feature: Username]  SSH
Port[image:
Help for feature: SSH Port]  URI
parameters[image: Help for feature: URI parameters]
 Concurrent Slaves Capacity[image:
Help for feature: Concurrent Slaves Capacity]
 Use Native Java libvirt client Native
Credentialsqemu2  Add

I can ssh lynn@10.32.100.55 without password successfully


Any advice ?

-- 
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/CAPgpnMTwjuTfhENiDS0cib%2B7%3DWGaJKHwgPG_rcP5%3DHOYSsTqyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


enable qemu in jenkins

2015-03-26 Thread Lynn Lin
Hi all,

I have a jenkins(1.598)  server setup(ubuntu 14.04) ,in this server , I
also setup qemu, in this qemu, I create a ubuntu OS with NAT network
configuration . I followed
Libvirt Slaves Plugin

https://wiki.jenkins-ci.org/pages/viewpage.action?pageId=65670743 to
configure  and see following failure
net.schmizz.sshj.userauth.UserAuthException: Exhausted available
authentication methods

configuration is :
Hypervisor TypeQEMUXENLXCBHYVE[image: Help for feature: Hypervisor Type]
 Hypervisor Host[image: Help for
feature: Hypervisor Host]  Username[image:
Help for feature: Username]  SSH
Port[image:
Help for feature: SSH Port]  URI
parameters[image: Help for feature: URI parameters]
 Concurrent Slaves Capacity[image:
Help for feature: Concurrent Slaves Capacity]
 Use Native Java libvirt client Native
Credentialsqemu2  Add

I can ssh lynn@10.32.100.55 without password successfully


Any advice ?

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