Re: Build status of all jobs.

2016-12-14 Thread Lakshmi narayana
any updated here.

I have created view of 100 jobs.
Looking for a consolidated dash board view of results for 7 days - with 
information like
success - fail - abort - No run job information.

Any plugin available ? 



On Thursday, October 3, 2013 at 7:33:13 PM UTC+5:30, NATESH 
SHANMUGASUNDARAM wrote:
>
> This is a very basic feature I am looking for. Is it available in Jenkins 
> or not yet ?
>
> Please update.
>
> On Wednesday, October 2, 2013 9:07:27 AM UTC-4, NATESH SHANMUGASUNDARAM 
> wrote:
>>
>> I am already doing that for each job. 
>>
>> I am looking for a consolidated status report for all 4 or 5 
>> projects/jobs i 
>> have configured in Jenkins. say, every night or every week - status of 
>> builds of all 4/5 projects/jobs saying which jobs ran, how many success, 
>> failures, time, etc. 
>>
>> Thanks. 
>>
>>
>>
>> -- 
>> View this message in context: 
>> http://jenkins-ci.361315.n4.nabble.com/Build-status-of-all-jobs-tp4678315p4678333.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/173f3338-2aac-4f70-ac06-585410468e0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins queuing multiple jobs of same type from SVN post commit hooks, what is expected behaviour?

2016-12-14 Thread tarocaravan
>From my experience, having multiple pipeline jobs polling for changes 
causes confusion from the end-user. It seems better to have one "master" 
job that polls and runs all the other builds. Also it seems Jenkins jobs 
(including pipeilnes) are quite happy to build concurrently, but I don't 
know how to handle it yet. So I've selected "Do not allow concurrent 
builds" in the master pipeline job. As a result, the job will queue. 

On Tuesday, December 13, 2016 at 9:48:46 PM UTC-8, Christoffer Holmstedt 
wrote:
>
> Hi
> I'm running a Jenkins server, latest 2.19 LTS release with a few pipeline 
> jobs. Each job is triggered by a post-commit hook in respective SVN 
> repository. The problem I have is that I expected Jenkins to only queue up 
> one similiar job if another job of the same pipeline is already running but 
> I get one build per commit.
>
> As an example: Job A is triggered by a post commit from Commit #1. The 
> build takes 5 minutes so if I commit #2 and #3 to the repository Jenkins 
> will queue up two more builds, one for each commit. I would expect Jenkins 
> to only queue one extra build with commit #2 and #3.
>
> While searching for a solution to this it is not clear what the expected 
> behaviour is. Jenkins will only queue up one identical build if multiple 
> remote triggers are actived except in the case if a build uses parameters 
> in that case if the parameters are different each build will be unique. The 
> problem here is that I don't use parameterized builds so not sure what is 
> going on really and what to expect.
>
> Any help is appreciated.
>
> Best regards
> -- 
> Christoffer Holmstedt
>

-- 
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/9e6d8b89-2566-4bbe-b1ca-02685e2876c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins queuing multiple jobs of same type from SVN post commit hooks, what is expected behaviour?

2016-12-14 Thread Christoffer Holmstedt
Thank you for your answers, much appreciated. After digging into this
problem a bit further I've come to the conclusion that you are both right.

As you say Slide I really want every build to isolate one commit but at
some point the feedback loop back to developers becomes too long and it
would be more valuable to start the build earlier with multiple commits. If
it is a green light, good, if it is red then a little more time than usual
have to be spent on tracing down the failing commit(s). I could throw more
hardware at it also to solve this problem but I was curious if there is any
configuration setting to help me out for the time being.

I looked closer to the "quiet period" and it is sort of the functionality I
want, but not for the first build. So if nothing is building on the build
server I would like the quiet period to be 0 and if the same job is already
being built for one commit then the build server should queue up one and
only one build for all commits coming in during that first build. I assume
the quiet period is static for all builds and cannot be dynamically set
from within Jenkins depending on current builds.

So to summarize I'm trying to optimize the feedback loop back to developers
as well as sticking to one build per commit for as long as possible.

Regards
-- 
Christoffer Holmstedt

2016-12-14 23:59 GMT+01:00 :

> Maybe you can configure the 'quiet period'? The default is set in the
> configuration screen, but you can also set it per job configuration.
>
>
> On Tuesday, December 13, 2016 at 9:48:46 PM UTC-8, Christoffer Holmstedt
> wrote:
>>
>> Hi
>> I'm running a Jenkins server, latest 2.19 LTS release with a few pipeline
>> jobs. Each job is triggered by a post-commit hook in respective SVN
>> repository. The problem I have is that I expected Jenkins to only queue up
>> one similiar job if another job of the same pipeline is already running but
>> I get one build per commit.
>>
>> As an example: Job A is triggered by a post commit from Commit #1. The
>> build takes 5 minutes so if I commit #2 and #3 to the repository Jenkins
>> will queue up two more builds, one for each commit. I would expect Jenkins
>> to only queue one extra build with commit #2 and #3.
>>
>> While searching for a solution to this it is not clear what the expected
>> behaviour is. Jenkins will only queue up one identical build if multiple
>> remote triggers are actived except in the case if a build uses parameters
>> in that case if the parameters are different each build will be unique. The
>> problem here is that I don't use parameterized builds so not sure what is
>> going on really and what to expect.
>>
>> Any help is appreciated.
>>
>> Best regards
>> --
>> Christoffer Holmstedt
>>
> --
> 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/91be60dd-e5b5-4a93-b59f-2c9dc53a5090%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/CAG9Fz%2Bu4HWGGg3-G2CYfH9mTKdFe_iAMk0c163kkPiUTxTSBRQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


test results analyzer and multi-configuration builds

2016-12-14 Thread Littlefield, Tyler
All:
We are using the test results analyzer plugin and really like the output
and statistics it's showing. What we're really hoping to do and what
would be nice is to be able to aggregate the data so that in a
multi-configuration build, the data is shown for all of the axes in the
matrix.
Does anyone know if this is possible? I read through all the comments on
the wiki and seen people asking but I didn't see any response. If this
is not possible, I know there's a jenkins dev list, but I'm running out
of time in which I can work on this. I'm happy to repost there, but any
tips on how to extend this plugin to support what I'm going for would be
great. Even if you want to point me to plugins that show results based
on a matrix. I'd also be open to any other plugins that work similar to
test results analyzer and have the same support.
Thanks,
-- 
Take care,
Ty
Twitter: @sorressean
Web: https://tysdomain.com
Pubkey: https://tysdomain.com/files/pubkey.asc

-- 
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/bd9b7812-b218-3ac4-76b9-34b6102773b3%40tysdomain.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins queuing multiple jobs of same type from SVN post commit hooks, what is expected behaviour?

2016-12-14 Thread tarocaravan
Maybe you can configure the 'quiet period'? The default is set in the 
configuration screen, but you can also set it per job configuration.

On Tuesday, December 13, 2016 at 9:48:46 PM UTC-8, Christoffer Holmstedt 
wrote:
>
> Hi
> I'm running a Jenkins server, latest 2.19 LTS release with a few pipeline 
> jobs. Each job is triggered by a post-commit hook in respective SVN 
> repository. The problem I have is that I expected Jenkins to only queue up 
> one similiar job if another job of the same pipeline is already running but 
> I get one build per commit.
>
> As an example: Job A is triggered by a post commit from Commit #1. The 
> build takes 5 minutes so if I commit #2 and #3 to the repository Jenkins 
> will queue up two more builds, one for each commit. I would expect Jenkins 
> to only queue one extra build with commit #2 and #3.
>
> While searching for a solution to this it is not clear what the expected 
> behaviour is. Jenkins will only queue up one identical build if multiple 
> remote triggers are actived except in the case if a build uses parameters 
> in that case if the parameters are different each build will be unique. The 
> problem here is that I don't use parameterized builds so not sure what is 
> going on really and what to expect.
>
> Any help is appreciated.
>
> Best regards
> -- 
> Christoffer Holmstedt
>

-- 
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/91be60dd-e5b5-4a93-b59f-2c9dc53a5090%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: using remote api to get the build status upon completion

2016-12-14 Thread tarocaravan
I find that using the jenkins-cli was the best option to give me the status.

https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI


On Wednesday, December 14, 2016 at 2:10:25 PM UTC-8, Katta Vijay wrote:
>
> I was trying to implement jenkins remote api to  initiate build and return 
> the build status upon completion.
>
> i can able to trigger build by calling GET or POST methods but couldn't 
> able to receive any response after the build!
>
> can some one help me here , how to get the status of the build.
>
>
> 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/e1b29b17-e696-44d9-8a2d-c75da12a0695%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


using remote api to get the build status upon completion

2016-12-14 Thread Katta Vijay
I was trying to implement jenkins remote api to  initiate build and return 
the build status upon completion.

i can able to trigger build by calling GET or POST methods but couldn't 
able to receive any response after the build!

can some one help me here , how to get the status of the build.


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/0a2de28b-e9a8-43e6-887e-3e3433adf910%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


pipeline scm checkout is happening on master node as well as slave node

2016-12-14 Thread tarocaravan
I configured my Jenkins pipeline job to read my pipeline script from SCM. 
In my pipeline I do an scm checkout on a slave node. As a result, I have 
code checked out both on the master node and the slave node, and whenever 
the Jenkins job is run, it actually reads the pipeline script on the master 
node, not the slave node. I've just encountered an odd case where the 
pipeline code on the master was out-of-sync with the latest  SCM changes 
(even though my check-out strategy says to get the latest as much as 
possible), while the slave had the latest changes but wasn't being used.

Maybe this is by design, but what I would really like is an option in the 
pipeline configuration to checkout the pipeline only on the slave node. 

-- 
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/7a4f42be-f9e4-482a-a2ac-543deebf1cfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Plugins not loading

2016-12-14 Thread Mark Waite
Feel free to improve the documentation.  If you couldn't find what you
needed, you can help the community by improving the documentation in that
area where you found it weak.

Mark Waite

On Wed, Dec 14, 2016 at 1:37 PM Nef Rey  wrote:

> This turned out to be a lack of documentation or bad documentation
>  everywhere.  In newer versions of Jenkins the adding of the plugin
> information is in the Global Tool Configuration.  After wasting hours or
> research finally someone in google pointed that out.  I was following
> information that is obsolete.
>
> Thanks anyway.
>
>
> On Tuesday, December 13, 2016 at 11:12:10 PM UTC-6, Mark Waite wrote:
>
> I doubt this will have any affect on your specific problem, but you may
> want to use the long term support release of Jenkins, instead of the weekly
> release that you chose.  The weekly release is on the cutting edge, so
> sometimes there are problems which don't appear in the long term support
> release.
>
> Refer to https://wiki.jenkins-ci.org/display/JENKINS/LTS+Release+Line for
> a description of the long term support release line, and
> https://jenkins.io/ for the download links to the long term support
> release.
>
> Mark Waite
>
> On Tue, Dec 13, 2016 at 3:04 PM Nef Rey  wrote:
>
> I have un-installed and re-installed Jenkins twice from scratch.
>
> I installed the MSBuild plugin and some others and Jenkins shows them as
> installed.  The Jenkins service is restarted, but the plugins do not appear
> in System Configuration.
>
> Tried a reboot of the system and nothing.  This is Jenkins 2.36.
>
> Has anyone had this problem.  I've ran out of options.
>
>
> NR
>
> --
> 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/d7aa1ed4-a39d-460c-b8c6-554e9ef465bd%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/47b86226-3e8b-4759-8886-fa59086bcc34%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/CAO49JtGfFtFpF21QWrRksxfPCFuWgLXdW%2BTtLMSGgEXuG_G7rQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Plugins not loading

2016-12-14 Thread Nef Rey
This turned out to be a lack of documentation or bad documentation 
 everywhere.  In newer versions of Jenkins the adding of the plugin 
information is in the Global Tool Configuration.  After wasting hours or 
research finally someone in google pointed that out.  I was following 
information that is obsolete.

Thanks anyway.


On Tuesday, December 13, 2016 at 11:12:10 PM UTC-6, Mark Waite wrote:
>
> I doubt this will have any affect on your specific problem, but you may 
> want to use the long term support release of Jenkins, instead of the weekly 
> release that you chose.  The weekly release is on the cutting edge, so 
> sometimes there are problems which don't appear in the long term support 
> release.
>
> Refer to https://wiki.jenkins-ci.org/display/JENKINS/LTS+Release+Line for 
> a description of the long term support release line, and 
> https://jenkins.io/ for the download links to the long term support 
> release.
>
> Mark Waite
>
> On Tue, Dec 13, 2016 at 3:04 PM Nef Rey  
> wrote:
>
>> I have un-installed and re-installed Jenkins twice from scratch.
>>
>> I installed the MSBuild plugin and some others and Jenkins shows them as 
>> installed.  The Jenkins service is restarted, but the plugins do not appear 
>> in System Configuration.
>>
>> Tried a reboot of the system and nothing.  This is Jenkins 2.36.
>>
>> Has anyone had this problem.  I've ran out of options.  
>>
>>
>> NR
>>
>> -- 
>> 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/d7aa1ed4-a39d-460c-b8c6-554e9ef465bd%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/47b86226-3e8b-4759-8886-fa59086bcc34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Job unexpectedly being stopped with success exit code after exactly one hour

2016-12-14 Thread mike
Thanks for your feedback.

The actual AWS activity is running as a task in ECS and continues after the 
Jenkins job ends. It is not configured with any connectivity via an ELB.

 

-- 
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/d746706c-6d38-4964-b048-e5defde509e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Question :: 1.651.3 war deployed, but still shows ver. 1.651.1 ???

2016-12-14 Thread grimnaut
Is this intended?
Anyone else seeing 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/1a073391-f1d9-4c9d-9fa4-8a7b2b660522%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: github, jenkins, and releases

2016-12-14 Thread al.niessner

No maven.

In GitHub, I can select a commit to become a release. When I do this it 
churns the commit into a tarball with all of the git stuff removed. I then 
want to take this tarball and turn it into a docker image. Sounds strange, 
I know, but here is my workflow:

1. contributors use pull requests
2. Jenkins uses pull request plugin to run validation checks -- loads of 
them actually
3. Make a branch for release
4. Jenkins uses push to branch to run I tests
5. Use step 2 to fix problems. 
6. Pull changes from merge to master from (2) into (3).
7. Back to step (4)
8. Rinse and repeat until clean.
9. With nod from I, make a release in github.
10. Jenkins should be notified of release and build related docker image 
from it
11. Jenkins deploys docker image

>From this we can see that there are three interactions between Jenkins and 
GH. I have the first one working -- pull requests. I can see in the 
configuration how to trigger on push then I think I can use refspec and 
branch to limit which builds are actually done in the push trigger. 
However, my I team is not quite ready to start integrating yet so I am 
jumping to the third, which is the trigger build on GH release. I do not 
see any configuration buttons for such a nice feature.

Now I am fishing for help. If plugins are not too horrible, I would like 
simply extend the existing one to include trigger on release hook. Then I 
though I could do it by using the trigger from script -- for me that is 
github hook. However I need the payload information. I found this forum and 
thought I would ask for help before plunging into a swamp filled with dread.


On Wednesday, December 14, 2016 at 8:27:27 AM UTC-8, Indra Gunawan 
(ingunawa) wrote:
>
> Hi Al Niessner,
>
>  
>
> Are you building a maven project?  Release plugin is to customize the 
> release of your pom and project.
>
> It is not related to Github at all.
>
>  
>
> What are you looking for?
>
>  
>
>  
>
> *From: * on behalf of 
> "al.niessner" 
> *Reply-To: *"jenkins...@googlegroups.com " <
> jenkins...@googlegroups.com >
> *Date: *Tuesday, December 13, 2016 at 4:27 PM
> *To: *Jenkins Users 
> *Subject: *github, jenkins, and releases
>
>  
>
>
> I cannot tell from the description, but I do not think the plugin release 
> ( https://wiki.jenkins-ci.org/display/JENKINS/Release+Plugin ) is what I 
> am looking for.
>
> What I am looking for is to trigger a Jenkins build with a the github hook 
> Release.
>
> Jenkins 2
> GitHub Enterprise (2.8 or so)
>
> I see three options
>
> 1. Write a plugin (terrible option)
> 2. Tweak the current plugin (doubtful as I cannot see how to help)
> 3. Use the trigger by script ability in Jenkins then use a hook to call 
> that URL (payload gets lost)
>
> Any better ideas? Improve any of the ideas already listed?
>
> Thanks and any and all help is appreciated.
>
> Background: I just managed to get Jenkins working with pull requests -- 
> triggers and talks back. It means I have decent working knowledge of the 
> configuration required for Jenkins and GitHub. However, this is only the 
> second time I have worked with Jenkins so very, very far from proficient 
> let alone an expert.
>
> -- 
> 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/52b0e4d8-fab8-41a9-8566-1a2787e067ba%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/47d173ef-d8ac-479a-b67b-54feb172a7bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get Jenkins 2.0 multi branch pipeline and bitbucket 4.8.1 web hook working?

2016-12-14 Thread Flavio Troia
You have to put 
http://{USERNAME}:{PASSWORD}@JENKINS_URL/job/JOB_NAME/build?token=TOKEN 


Il giorno giovedì 28 luglio 2016 23:32:32 UTC+2, Otávio Augusto Soares ha 
scritto:
>
> Have you tried using the "Trigger builds remotely (e.g., from scripts)", 
> setting a token and then add a webhooh to 
> http://JENKINS_URL/job/JOB_NAME/build?token=TOKEN
>
> Unfortunately it's not working for me because I've secured my jenkins and 
> get 403. But you can try.
>
> Em sexta-feira, 22 de julho de 2016 08:52:45 UTC-3, Jeroen Reijn escreveu:
>>
>> Hi all,
>>
>> I'm trying to get my multibranch workflow job to trigger based on a 
>> change in bitbucket server (previously known as stash).
>>
>> I've read most of the docs on the several plugins, but I can't seem to 
>> get the combination to work. 
>>
>> What I've done now is configure my project with:
>>
>> Branch sources -> Bitbucket
>> Build Configuration -> Mode -> From Jenkinsfile
>> Bitbucket Server URL -> My custom URL
>> And I've setup the credentials.
>>
>> That part seems to work fine, so if I manually trigger the build it runs 
>> fine and does the branch indexing.
>>
>> On the bitbucket side, I've tried to use the following plugins:
>>
>> 1. Bitbucket Server Webhook to Jenkins
>> I tried this with specificing the jenkins url, but it reports back with:
>>
>> Error: Jenkins response: No git jobs using repository: 
>> http://host:7990/scm/hv/project.git and branches: master No Git 
>> consumers using SCM API plugin for: http://host:7990/scm/hv/project.git
>>
>> I guess this comes from the fact it's a pipeline job that uses a branches 
>> sources instead of git in a 'normal' maven base project with git as source.
>>
>>
>> 2. Post-Receive WebHooks
>>
>> If I use this plugin with the URL http://jenkinshost:8080/bitbucket-hook/ 
>> it complaints with:
>> WARNING: Error while serving http://jenkinshost:8080/bitbucket-hook/ 
>>
>> net.sf.json.JSONException: JSONObject["user"] not found.
>>
>> So it seems the request body to the bitbucket hook is not what the server 
>> expects. I've found some github issues, but I can't seem to figure out how 
>> I can make this work.
>>
>> I assume I'm not the only one trying this?
>>
>> Any ideas?
>>
>> Regards,
>>
>> Jeroen
>>
>>
>>

-- 
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/c145fffe-aba2-4eb4-9d8d-a5516d8cf3d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Position -- WebSphere Engineer/Architect

2016-12-14 Thread Sean McNamara
Hello,

Please stop spamming the Jenkins CI Users mailing list with your job
postings. Users seeking a job will go to a website specialized in
that. We don't need all your IT-related job postings spamming our
inboxes too. Thanks.

Jenkins admins,

Do you consider these posts to be acceptable? I for one think that
they have no place on a technical mailing list for an open source
project. If you agree, consider implementing some bans for repeat
offenders (hint hint, the post I'm replying to is about the fifth
posting in a couple of minutes to this list.)


Sean


On Wed, Dec 14, 2016 at 11:55 AM, Anchit bajpai  wrote:
> Hi ,
>
>
> Please reply to
>
>
> anc...@1pointsys.com
>
>
>
> Position -- WebSphere Engineer/Architect
>
> Location -- BRENTWOOD, TN
>
> USC/GC only
>
> Duration -- 3 to 6 month contract
>
>
>
>
>
> Required Skills:-
>
>
>
> Websphere (WAS) engineer with MQ messaging, portal experience. Wants someone
> on the infrastructure product side who has worked with the developers.
> Manager does not want a developer!
>
>
>
> Person should know how code operates in WAS in terms of MQ messaging.
>
>
>
> What I really need is someone with Websphere Application Server.
>
>
>
>
>
> Candidate will travel to work onsite approximately 50% for about the first
> six weeks, then about 25% for the remainder.
>
>
>
>
>
>
>
>
>
>
>
> Anchit Bajpai
>
> Technical Recruiter
>
> 1 Point System LLC
>
> Unit 103, 206 N College St, Pineville, North Carolina, 28134
>
> P: 803-792-4353 E : anc...@1pointsys.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/CALx6zLFsCkVCzhioT%2BXEESBpGfbA6Lw-XAEgSws69xFa6uOAqw%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/CAPAActdymuQd7za35ASzz1oRg97mK-NwNYqCagYu5buC9KfSmw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Position -- WebSphere Engineer/Architect

2016-12-14 Thread Anchit bajpai
Hi ,


Please reply to




*anc...@1pointsys.com *



*Position -- WebSphere Engineer/Architect*

*Location -- BRENTWOOD, TN*

*USC/GC only*

*Duration -- 3 to 6 month contract*





Required Skills:-



Websphere (WAS) engineer with MQ messaging, portal experience. Wants
someone on the infrastructure product side who has worked with the
developers. Manager does not want a developer!



Person should know how code operates in WAS in terms of MQ messaging.



What I really need is someone with Websphere Application Server.





Candidate will travel to work onsite approximately 50% for about the first
six weeks, then about 25% for the remainder.











*Anchit Bajpai*

*Technical Recruiter*

1 Point System LLC

Unit 103, 206 N College St, Pineville, North Carolina, 28134

*P*: *803-792-4353* *E* : *anc...@1pointsys.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/CALx6zLFsCkVCzhioT%2BXEESBpGfbA6Lw-XAEgSws69xFa6uOAqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Position: System Developer/Programmer

2016-12-14 Thread Anchit bajpai
Hi ,


Please reply to




*anc...@1pointsys.com *





*Position: System Developer/Programmer*

*Location --  Manassas, VA*

*Duration – 6 Months Min*







*MUST HAVE Minimum Experience 5+ years and all items in BOLD*



1) *Bigdata* ( Kafka, Hadoop, ansible,apache spart) or data transformation

2) *Apache MQ , Java JMS , FUSE*

3) *Agile methodology*

 4) *HPUX/Solaris/Linux* (RHEL experience desirable)











*Anchit Bajpai*

*Technical Recruiter*

1 Point System LLC

Unit 103, 206 N College St, Pineville, North Carolina, 28134

*P*: *803-792-4353* *E* : *anc...@1pointsys.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/CALx6zLFjM03Pnaq6o8UARVyFR4YW4EJZju3ARZCZQLPcZdC6Wg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Position -- Quality Assurance Consultant

2016-12-14 Thread Anchit bajpai
Hi ,


Please reply to





*anc...@1pointsys.com *



*Position -- Quality Assurance Consultant*

*Location: Westlake Village, CA*


*Duration – 6 Months *


*ONLY USC / GC *



Description –



More than 5 years of QA experience
Manual QA Tester with heavy SQL experience
ALM/QC experience
Candidate needs to be very well versed with processes within a large
environment
Candidate must be comfortable working closely with Dev Teams
Strong Communication Skills Needed
Write SQL statements to create test data for test cases and data validation
tests to extract data from the tables.
Create/Update the test data set in the backend database using SQL queries.







*Anchit Bajpai*

*Technical Recruiter*

1 Point System LLC

Unit 103, 206 N College St, Pineville, North Carolina, 28134

*P*: *803-792-4353 <%28803%29%20792-4353>* *E* : *anc...@1pointsys.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/CALx6zLFAUgyb32VKFfPfqHZJfdwQ7yfoRKy4%3Dijp0O7X6raxFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Position – Java Developer | Only Local to local candidates to Southern California

2016-12-14 Thread Anchit bajpai
Hi ,


Please reply to




*anc...@1pointsys.com *







*Position – Java Developer *

*Location: Pasadena, CA*

*Only Local to local candidates to Southern California*

*Duration: 12+ Months*

*Mode of Interview: Phone/Onsite (No Skype)*

*Only USC / GC / GC EAD *







Description:

*Job* *Description*:

Randstad Technologies is currently seeking for multiple Sr Java Developer
to join an exciting client of ours in the greater LA area. These resource
will be building out the development aspect of a new Scrum team out client
is putting together and will play an integral part in the design,
development and production of the initiative.



Essential Responsibilities

·  Proficiency with development using SOA, Event Driven framework, Spring
framework.

·  Proficiency with core Java API development including JavaScript
development (jQuery, JSON, EventAPIs).

·  Proficiency with developing event APIs, Apache Camel or other EBA, web
service development (REST  SOAP).

·  Proficiency with Oracle 11g.

·  Proficiency in designing (includes documentation), developing, testing
and implementing Java applications on a predefined schedule using
technologies, techniques, and tools to ensure high quality, performance,
and reliability, at varying levels of complexity.

·  Proficiency in resolving technical issues through debugging, research
and investigation.

·  Proficiency in system analysis and design in accordance with established
procedures and policies. Provides accurate estimate of time needed to
complete work.

·  Proficiency in working with high performing technology teams in a
multi-technology enterprise.

·  Proficiency in independent delivery of major projects in a
cross-matrixed, multi-cultural environment in a led technical role.

·  Experience with large scale systems involving reporting, transactional
systems and integration with other enterprise systems (i.e. Mainframe).



Qualifications

·  7+ year’s development of Object Oriented Design, Design Patterns, and
UML.

·  7+ years’ experience with Spring Framework, Hibernate (or other JPA
libraries), Ehcache, and Terracotta/Coherence.

·  7+ years’ experience with Java/Java J2EE, WebSphere, J2EE compliant app
servers (e.g. Weblogic, JBoss)

·  7+ years’ experience with relational database platforms preferably
Oracle 11g

·  7+ years’ experience in database design techniques (e.g. logical data
modeling, normalization/denormalization)

·  5+ years’ experience developing multi-threaded and distributed systems.

·  5+ years’ experience working on performance and scalability issues in
large-scale enterprise systems.

·  5+ years’ experience using common source code control tools, especially
SVN.

·  5+ years’ experience with continuous integration development
environments.

·  5+ years’ experience with AJAX (e.g. Dojo, JQuery) and JavaScript
frameworks.

·  5+ years’ experience with common server operating systems, especially
Linux.

·  5+ years’ experience agile software development experience: Scrum
Process, Extreme Programming (XP).

·  5+ years’ experience with Service Oriented Architectures (SOA).

·  5+ years’ experience with Web Services, SOAP/REST.

·  5+ years’ experience working in an Agile (Scrum, Kanban, XP) environment.

·  Bachelor’s Degree in Engineering, Computer Science, Information Systems
or 10+ years of equivalent experience.





*Anchit Bajpai*

*Technical Recruiter*

1 Point System LLC

Unit 103, 206 N College St, Pineville, North Carolina, 28134

*P*: *803-792-4353* *E* : *anc...@1pointsys.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/CALx6zLHF_gC_Y4t%3DBsH8ZO3KKyeevoZ3%2Biq8X3OOK62-2hifSA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline: How to trigger buld on URL change?

2016-12-14 Thread Indra Gunawan (ingunawa)
Please use a old freestyle job that can still use that plugin and let this job 
trigger your pipeline job.
Otherwise please move on to 
https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Organization+Folder+Plugin 
and Jenkins 2.x

From:  on behalf of Greg Smith 

Reply-To: "jenkinsci-users@googlegroups.com" 
Date: Wednesday, December 14, 2016 at 8:28 AM
To: Jenkins Users 
Subject: Pipeline: How to trigger buld on URL change?


Hi,

Pre moving all of our builds over to Pipeline, we had a few builds that 
required being triggered off of a URL change.

We used the URL Trigger plugin, available here:
https://wiki.jenkins-ci.org/display/JENKINS/URLTrigger+Plugin

We'd like to still have something like this for our current setup.  All of our 
projects have moved to the Github / Multibranch Pipeline plugin, so every one 
of our builds are defined by Jenkinsfiles, and the project properties are 
defined in our Jenkinsfiles.

Is there a nice way to get the same kind of build trigger that was possible 
with the URLTrigger plugin?  It does not appear that that plugin as been 
updated in forever, so I don't believe it supports Pipeline configuration.

Anything taking its place?

Or, workarounds others have used?

Thanks,
Greg
--
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/d38af720-294c-4062-921e-2537a6c20621%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/380A0CE6-13DF-4A2C-98B4-007F19607EB4%40cisco.com.
For more options, visit https://groups.google.com/d/optout.


Re: No action in response to a PR, even with hooks all apparently set

2016-12-14 Thread Benson Margulies
Andreas,

I've left the job where I was setting up Jenkins, and I don't recall any
details.

Sorry,
benson


On Wed, Dec 14, 2016 at 7:41 AM, Andreas  wrote:

> Hi Benson,
>
> I'm experiencing the same problem that the builds are not being triggered,
> although the PR log states that it recognized the incoming webhook.
>
> I don't get your answer though - how did you finally solve the problem?
>
> Thanks!
> Andreas
>
> Am Donnerstag, 27. Oktober 2016 19:21:00 UTC+2 schrieb Benson Margulies:
>>
>> I found the bottom of this one, too. I should never have turned on the
>> elaborate github-specific whitelisting plugin, but rather read the doc:
>>
>> https://github.com/KostyaSha/github-integration-plugin/blob/
>> master/docs/Configuration.adoc
>>
>> --
> 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/AaL9xXbCfCQ/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/2db3bd8e-ce03-44d6-bfdb-66121aee806b%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/CALhtWkdMx38Xvm2a2wYWc_qLKftU_7YN0scd%2BFNz6TeQoOBMiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Pipeline: How to trigger buld on URL change?

2016-12-14 Thread Greg Smith

Hi,

Pre moving all of our builds over to Pipeline, we had a few builds that 
required being triggered off of a URL change.

We used the URL Trigger plugin, available here:
https://wiki.jenkins-ci.org/display/JENKINS/URLTrigger+Plugin

We'd like to still have something like this for our current setup.  All of 
our projects have moved to the Github / Multibranch Pipeline plugin, so 
every one of our builds are defined by Jenkinsfiles, and the project 
properties are defined in our Jenkinsfiles.

Is there a nice way to get the same kind of build trigger that was possible 
with the URLTrigger plugin?  It does not appear that that plugin as been 
updated in forever, so I don't believe it supports Pipeline configuration.  

Anything taking its place?

Or, workarounds others have used?

Thanks,
Greg

-- 
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/d38af720-294c-4062-921e-2537a6c20621%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: github, jenkins, and releases

2016-12-14 Thread Indra Gunawan (ingunawa)
Hi Al Niessner,

Are you building a maven project?  Release plugin is to customize the release 
of your pom and project.
It is not related to Github at all.

What are you looking for?


From:  on behalf of "al.niessner" 

Reply-To: "jenkinsci-users@googlegroups.com" 
Date: Tuesday, December 13, 2016 at 4:27 PM
To: Jenkins Users 
Subject: github, jenkins, and releases


I cannot tell from the description, but I do not think the plugin release ( 
https://wiki.jenkins-ci.org/display/JENKINS/Release+Plugin ) is what I am 
looking for.

What I am looking for is to trigger a Jenkins build with a the github hook 
Release.

Jenkins 2
GitHub Enterprise (2.8 or so)

I see three options

1. Write a plugin (terrible option)
2. Tweak the current plugin (doubtful as I cannot see how to help)
3. Use the trigger by script ability in Jenkins then use a hook to call that 
URL (payload gets lost)

Any better ideas? Improve any of the ideas already listed?

Thanks and any and all help is appreciated.

Background: I just managed to get Jenkins working with pull requests -- 
triggers and talks back. It means I have decent working knowledge of the 
configuration required for Jenkins and GitHub. However, this is only the second 
time I have worked with Jenkins so very, very far from proficient let alone an 
expert.
--
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/52b0e4d8-fab8-41a9-8566-1a2787e067ba%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/0BA179E9-8E87-4866-B8A4-5431F0273828%40cisco.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting E-Mail Notification:

2016-12-14 Thread Indra Gunawan (ingunawa)
I am not sure how Travis supports git.  In Jenkins Git plugin provides env 
variables available to Jenkins for free:

Environment variables
The git plugin sets several environment variables you can use in your scripts:

  *   GIT_COMMIT - SHA of the current
  *   GIT_BRANCH - Name of the branch currently being used, e.g. "master" or 
"origin/foo"
  *   GIT_AUTHOR_EMAIL - Committer/Author Email
  *   GIT_COMMITTER_EMAIL - Committer/Author Email


However I would suggest that you script a python snippet one-line code to fetch 
the  Github information you need directly from Github REST API using “github” 
python module.
I use “PyGithub” python module.

-Indra



From:  on behalf of "ajay.devop...@gmail.com" 

Reply-To: "jenkinsci-users@googlegroups.com" 
Date: Saturday, December 10, 2016 at 10:29 AM
To: Jenkins Users 
Subject: Re: Getting E-Mail Notification:

Travis is requesting parameters from GitHub repository only.
I found the place where parameters are getting populated in GitHub Repository.
I want to add committer/author emaild id at the same place.
So, I was checking out how to fetch the committer/author email id in code.

On Saturday, December 10, 2016 at 10:18:19 AM UTC-8, slide wrote:

That would be done on the Travis side, so you'd have to figure that out under 
Travis.

On Sat, Dec 10, 2016, 10:47  wrote:
Hi,

Thanks for the info.
I want to know how to fetch the parameter of GitHub Committer email id in 
GitHub Repository code. So that I can pass the committer email id parameter 
into my jenkins Job-parameterized build.

Thanks,
Ajay.

2016 at 3:42:28 PM UTC-8, slide wrote:Aj

On Thursday, December 8,
Check this page 
https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build#Launching+a+build+with+parameters

On Thu, Dec 8, 2016 at 4:28 PM  wrote:
Fine.
May I know, how can we pass user information from Travis to Jenkins 
automatically.
I can see the user info in Travis who caused the build.


On Thursday, December 8, 2016 at 3:09:40 PM UTC-8, slide wrote:

i and ii are out of the scope of this mailing list, but there is the Mailer 
plugin and email-ext plugin for iii as long as you can pass the user 
information to the Jenkins job from Travis

On Thu, Dec 8, 2016, 15:51  wrote:
I want to know to how can a user (User1) get E-mail Notification, when he does 
the following:

i) User1 commits changes to GitHub in a Repo (Repo1)

ii) A Build in Travis CI server gets triggered whenever any changes committed 
to Repo1. This Build job in travis internally triggers jenkins job apart from 
doing other things.

iii) I want the User (User 1) gets notified from jenkins job, when jenkins job 
fail.

Can anybody help me out on 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-use...@googlegroups.com.

To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b2dbda75-7419-43db-80a4-fb8d6d552c6d%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-use...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9abbc38f-ab45-40ea-b693-21783593cea1%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-use...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fd60a52d-681e-46a8-b1aa-64ab36786672%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 

Re: No action in response to a PR, even with hooks all apparently set

2016-12-14 Thread Andreas
Hi Benson,

I'm experiencing the same problem that the builds are not being triggered, 
although the PR log states that it recognized the incoming webhook.

I don't get your answer though - how did you finally solve the problem?

Thanks!
Andreas

Am Donnerstag, 27. Oktober 2016 19:21:00 UTC+2 schrieb Benson Margulies:
>
> I found the bottom of this one, too. I should never have turned on the 
> elaborate github-specific whitelisting plugin, but rather read the doc:
>
>
> https://github.com/KostyaSha/github-integration-plugin/blob/master/docs/Configuration.adoc
>
>

-- 
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/2db3bd8e-ce03-44d6-bfdb-66121aee806b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Config File Provider Plugin & Credentials Plugin: Credential Replacement Not working

2016-12-14 Thread ZT
I have a few credentials defined and i want them replaced in the maven 
settings file (defined through the Config File Provider Plugin) - same 
server Id's

I went through the documentation of Config File Provider Plugin and defined 
it as attached.

But when i my free style job referring to this settings file, mvn does not 
download anything from the Maven Repository citing 'Unauthorized' .This 
makes me believe that the credentials are not being injected

Is there a way to debug this ? 

My plugin versions below:

config-file-provider 2.11
credentials-binding 1.8
credentials 2.1.4
Jenkins Version: 2.0

Regards,
Z

-- 
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/17230e81-916c-44a8-a31a-a9dabaac4f29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: IP filter after setting Jenkins behind a reverse proxy

2016-12-14 Thread Daniel Beck

> On 14.12.2016, at 16:28, Daniel Beck  wrote:
> 
> java -jar jenkins.war --help

Well, you can configure on which interface/port to listen, which is only good 
enough if the reverse proxy is on the same host and you can listen to 
127.0.0.1. But combined with a firewall rule, this can give you what you want.

-- 
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/258CD3F1-D8B6-49A7-A620-8E15A0F5AC42%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: IP filter after setting Jenkins behind a reverse proxy

2016-12-14 Thread Daniel Beck

> On 14.12.2016, at 16:21, Jean-Eric Cuendet  wrote:
> 
> - Jetty can do that. Is it possible to configure it fron the "java -jar " 
> command line?
> 

java -jar jenkins.war --help

-- 
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/A9D8E844-CEC9-4C7A-B1AB-CDD7649732FF%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


IP filter after setting Jenkins behind a reverse proxy

2016-12-14 Thread Jean-Eric Cuendet
I want to put Jenkins behind a reverse proxy (Apache). Then Jenkins trust 
the caller (the RP) and doesn't manage security itself anymore.
It works only if the only caller of Jenkins IP address wise, is the RP 
itself.

What's the way of coniguring Jenkins to accept connections only from some 
IP address and not others.
I see some ways:
- A Jenkins plugin could do that. I haven't found any.
- Jetty can do that. Is it possible to configure it fron the "java -jar " 
command line?
- Deploy Jenkins in a "real" Tomcat which can then be configured with a 
valve

What's the best way?

-- 
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/b61f06a4-c805-457f-a833-7a4f96d788e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline 2.0: How to apply multiple wrappers?

2016-12-14 Thread thokari81
Nevermind it actually does work this way.

-- 
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/2e824449-fd51-4f9c-b684-c93629f6108a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Need info on Jenkins

2016-12-14 Thread Slide
You have to make sure and run the agent as a desktop app. Current versions
of Windows don't allow services to interact with the desktop anymore. This
means you probably can't run Jenkins on the box and only use master for
building, this would have a similar issue (unless you started Jenkins from
the command line with a logged in account).

On Wed, Dec 14, 2016, 04:20 Dirk Heinrichs 
wrote:

> Am 14.12.2016 um 12:16 schrieb thokar...@gmail.com:
>
> Jenkins runs on Windows just fine. Just put a slave on the Windows machine.
>
>
> I know. I was referring to the "testing windows desktop applications"
> part. Given that the slave still runs on some remote machine, there is no
> desktop to run a desktop application on.
>
> Bye...
>
> Dirk
> --
> *Dirk Heinrichs* | Senior Systems Engineer, Delivery Pipeline
> [image:
> http://mimage.opentext.com/alt_content/binary/images/email-signature/recommind-ot.png]
> 
> *Tel*: +49 2226 159666 (Ansage) 1149
> *Email*: dirk.heinri...@recommind.com
>
> *Skype*: dirk.heinrichs.recommind
>
> 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.
>
> www.recommind.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/bd0acd2b-6295-6a02-666c-ec094c544546%40recommind.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/CAPiUgVeAgYe-N3Uj-R5dm%2BTYy%2BJJzc3inva5eER97-PiyN8efg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Pipeline 2.0: How to apply multiple wrappers?

2016-12-14 Thread thokari81
I would like to do this:


stage {
timestamps {
ansiColor('xterm') {
sh 'echo "Hello World"'
}

}
}

Or, using alternative syntax:


stage {
wrap([$class: 'TimestamperBuildWrapper']) {
wrap([$class: 'AnsiColorBuildWrapper', colorMapName: 'xterm']) {
sh 'echo "Hello World"'
}

}
}


Unfortunately, the second wrapper just gets ignored, so in the above case, 
I see only timestamps, but no color.

Using the Job-DSL, this was extremely straightforward:

wrappers {
timestamps()
colorizeOutput()
}

How to solve this problem?

-- 
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/378ec6b1-8698-4c22-b527-1bfc20ca214a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins queuing multiple jobs of same type from SVN post commit hooks, what is expected behaviour?

2016-12-14 Thread Slide
This is expected behavior, each commit gets its own build. Don't you want a
build for each time a developer commits something so you know which commit
broke something?

On Tue, Dec 13, 2016, 22:48 Christoffer Holmstedt <
christoffer.holmst...@gmail.com> wrote:

> Hi
> I'm running a Jenkins server, latest 2.19 LTS release with a few pipeline
> jobs. Each job is triggered by a post-commit hook in respective SVN
> repository. The problem I have is that I expected Jenkins to only queue up
> one similiar job if another job of the same pipeline is already running but
> I get one build per commit.
>
> As an example: Job A is triggered by a post commit from Commit #1. The
> build takes 5 minutes so if I commit #2 and #3 to the repository Jenkins
> will queue up two more builds, one for each commit. I would expect Jenkins
> to only queue one extra build with commit #2 and #3.
>
> While searching for a solution to this it is not clear what the expected
> behaviour is. Jenkins will only queue up one identical build if multiple
> remote triggers are actived except in the case if a build uses parameters
> in that case if the parameters are different each build will be unique. The
> problem here is that I don't use parameterized builds so not sure what is
> going on really and what to expect.
>
> Any help is appreciated.
>
> Best regards
> --
> Christoffer Holmstedt
>
> --
> 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/CAG9Fz%2BuF0KS0txKHc6NZiF7zLe%2Bfe4DqxHzvScLq%3DcMh1OkySQ%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/CAPiUgVe%2BAP4Fpn%2Be0keRCy7c3Jo4Dq8PJsHRoNGaZh-%2Bcw9H5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: unknown error: session deleted because of page crash from tab crashed with Selenium plugin on Jenkins

2016-12-14 Thread Nick Schumacher
Any chance a fix was ever found for this?

On Friday, September 25, 2015 at 6:59:39 PM UTC-4, Astou Sene wrote:
>
> Hello,
>
> I'm experiencing issues using chromedriver with Selenium plugin on 
> Jenkins. On my local machine, my tests run with no issues, but as soon I 
> run them remotely, I get this error:
>
> unknown error: session deleted because of page crash
> from tab crashed
>   (Session info: chrome=45.0.2454.101)
>   (Driver info: chromedriver=2.19.346078 
> (6f1f0cde889532d48ce8242342d0b84f94b114a1),platform=Windows NT 6.2 x86_64) 
> (WARNING: The server did not provide any stacktrace information)
> Command duration or timeout: 3.81 seconds
> Build info: version: '2.41.0', revision: '3192d8a', time: '2014-03-27 
> 17:17:32'
> System info: host: 'ECS-8ebd4f06', ip: '127.0.1.1', os.name: 'Windows 8', 
> os.arch: 'x86', os.version: '6.2', java.version: '1.8.0_51'
> Driver info: org.openqa.selenium.chrome.ChromeDriver
> Capabilities [{applicationCacheEnabled=false, rotatable=false, 
> mobileEmulationEnabled=false, chrome={userDataDir=C:\Users\tmp}, 
> takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, 
> hasTouchScreen=false, version=45.0.2454.101, platform=WIN8, 
> browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, 
> locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, 
> takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
>
> I have the latest of Selenium and Chrome and the driver but nothing.
>
> Selenium 2.47
> Chrome 45
> ChromeDriver 2.19
> Hub OS: Linux
> Slave OS: Windows 7 or 8
>
> I also tried to adjust timeouts but none of that helped either. An 
> interesting thing is that, since it's through Jenkins, you can have a slave 
> on the same server as the hub, and when that is the case, the tests run 
> with no problem. And the same tests run in FF remotely with no problem.
>
> I am at a loss here. Any help would be really appreciated.
>
> Thank you!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6ae58d0e-ce86-4cfc-9e85-327e116b8ec6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: MultiJob retry functionality...I cant get it working

2016-12-14 Thread Vitaly Karasik
Fernando, I see the same behavior - neither "UNSTABLE" not ".*" rules don't 
work for unstable build.
Even, according to the plugin code, it's just Java regex match, i.e. both 
should work.

Vitaly

On Thursday, May 19, 2016 at 7:04:48 PM UTC+3, Fernando Miguélez wrote:
>
>
> Great answer Aleksander. This feature should definetly be better 
> documented.
>
> In my case I found out that if if your task finishes with "UNSTABLE" 
> instead of "FAILURE", phase retry configuration has no effect. 
>
>
> El martes, 10 de mayo de 2016, 12:14:33 (UTC+2), Aleksandar Kasabov 
> escribió:
>>
>> 1) Make a parsing rule file, e.g. /var/lib/jenkins/rules/failures.txt 
>> with content 'Finished: FAILURE'
>> 2) Register that in Jenkins general config, section "Multijob Retry Rules 
>> -> Parsing Rules"
>> 3) Use that rule in the job that you want to be retried, the field is 
>> "Select strategy" which right below the "Enably retries" in the multiphase 
>> project settings
>>
>> In general, move to the the pipeline plugin, Multijob plugin is quite 
>> old, not to mention the quality of the java source code it's writen in
>> Good luck
>>
>> On Thursday, January 14, 2016 at 11:25:17 AM UTC+1, Zheng LiSheng wrote:
>>>
>>> My problem is that nothing happens after selecting "Enable retry".
>>>
>>> On Thursday, October 15, 2015 at 9:44:09 PM UTC+8, Kris Massey wrote:

 Hey All,

 I'm new to the Jenkins MultiJOb plugin and I'm having some troubles 
 using the retry functionality. 

 I have a job configured

 MultiJob
  - Phase 1
   - Job 1
   - Job 2
  - Phase 2
- Job 3


 Job 2 can have random failures (due to external client system), I've 
 noticed that the MultiJob -> Phase -> Job configuration offers  a 'Enable 
 retry' option, so I was hoping this would then attempt a retry and kick 
 off 
 phase 2 if the job passed the second time. 

 My issue is the retry never seems to happen, below is some output on 
 the console of the MultiJob

 [EnvInject] - Loading node environment variables.
 Building in workspace /var/lib/jenkins/jobs/build-process/workspace
 >> Job status: [Job2] the 'build only if scm changes' feature is 
 disabled.
 Starting build job p2 .
 >> Job status: [Job1] the 'build only if scm changes' feature is 
 disabled.
 Starting build job p1 .
 Finished Build : #21 
  of Job : Job2 with 
 status : FAILURE 
 *Scanning 
 failed job console output using parsing rule file .
 Parser rules file not found.*
 Failed the build, the failure doesn't match the rules.
 Finished Build : #23 
  of Job : J 
 ob1 with status : 
 SUCCESS 
 Build step 'MultiJob Phase' marked build as failure
 Notifying upstream projects of job completion
 Warning: you have no plugins providing access control for builds, so 
 falling back to legacy behavior of permitting any downstream builds to be 
 triggered
 Finished: FAILURE


 I've highlighted the lines I believe may be causing the issue, however 
 I've got no idea how to solve it (hopefully its missing config as apposed 
 to a bug in the MultiJob plugin)


 Any help greatly appreciated! 



-- 
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/39c435ad-2f06-4436-9263-e2660c4e896d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins Integration with Selenium

2016-12-14 Thread ramesh . puruganti
Hi 

We have deployed Jenkins in Linux(Cent OS) and integrated with Gitlab. If i 
want to integrate Selenium which runs on Windows Machine, How can we do 
integration?

Jenkins - Linux
Selenium - Windows 7

Please help me how to integrate selenium with Jenkins

Thanks
Ramesh

-- 
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/d3ff490b-48d7-4434-a4a0-f6f9a05980ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: pipeline: it seems pipeline-build-step (build job) ignores node assignment

2016-12-14 Thread alexander . ites
Thank you for fast reply, Michael.
I got the point.

I've already tried NodeLabel Parameter plugin with parameterized pipeline 
build job step. But it haven't worked for me.
Soon I'll publish appropriate topic about this way you proposed that 
doesn't work for me for unknown reason.
The pipeline script I've tried is:

build job: 'job2',
parameters: [
[
 $class: 'LabelParameterValue',
   name: 'NODE_NAME',
  value: 'label1'
]
]

At this case 'job2' is configured with NodeLabel Parameter plugin to accept 
'NODE_NAME' named parameter as Label Parameter.
The job 'job2' is triggered successfully at the certain node if I use a job 
with appropriate Parameterized Trigger post-build action with 
NodeLabel-parameter NODE_NAME and label 'label1' as upstream one.


And at the 1st case without NodeLabel Parameter plugin but with pipeline 
'node'-construct
it seems strange to me that the pipeline "build" step triggers jobs without 
node context. This implies web-interface driven configuration of a job to 
be made and the cumbersome parameterized "build" step syntax to be used to 
run the job at the proper node.
As far as I know, Pipeline plugin is meant to get rid of such 
inconveniences.
So as for me it would be pretty natural and convenient if 
pipeline-build-step triggered jobs with pipeline node context (nodes 
assigned through pipeline 'node'-construct like:
'node () {  }'
).

Kind regards,
Alexander.


On Wednesday, December 14, 2016 at 3:42:09 PM UTC+3, mpapo - Michael 
Pailloncy wrote:
>
> IIUC, it's a normal behaviour.
>
> The "build" pipeline step triggers the job job1 without any node "context" 
> (a bit like if you trigger it manually), so the default label of job1 is 
> used in this case. 
>
> If you want to trigger job1 with a specific label, you should have a look 
> to this plugin : 
> https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin  
> However, I never used it inside a Jenkins Pipeline.
>
> Michaël
>
> 2016-12-14 13:23 GMT+01:00 :
>
>> Hi,
>>
>> I'm trying to run a job at the node assigned (not the master node), but 
>> the job runs at any free node available (often it is the master node 
>> actually).
>>
>> Here's my pipeline script:
>>
>> node('label1') {
>>   echo "Actual node name: $env.NODE_NAME ."
>>   build job: 'job1'
>> }
>> node('master') {
>>   echo "Actual node name: $env.NODE_NAME ."
>> }
>>
>> My master node is not labeled with label 'label1'.
>> Only one of my slave nodes is labeled with label 'label1'.
>>
>> I see at a build's Console Output that the 1st echo is executed at the 
>> slave node with label 'label1'. And the 2nd echo is executed at the master 
>> node.
>> But 'job1' is executed at the master node also.
>> I think that for my pipeline script 'job1' should be executed at the 
>> slave node labeled with 'label1'.
>> 'job1' is allowed to run at any node (this is configured at the job's 
>> configuration).
>>
>> Is this behavior is correct? Or is it a bug when build-job-step ignores 
>> pipeline node assignment?
>>
>> For now I use Jenkins 2.8 and Pipeline Plugin 2.4 .
>> I've tried both Windows and Linux slaves node with this case (got the 
>> same result). My master node is on Linux.
>>
>> Best regards,
>> Alexander.
>>
>> -- 
>> 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/77c72577-5898-4ccb-b0eb-cb9d1dab1d7e%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/a47aa434-e328-4a39-b95c-a6bb13f00a6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Read files from workspace in multibranch pipeline scm?

2016-12-14 Thread Michael Kobit
Your problem is the new File( piece. The pipeline code runs on a flyweight
executor on the master, and the various steps can run on allocated nodes.
You might be able to do something using FilePath
, but I think you could
use the findFiles step

which
would get you some information. You could then use the readFile step

to
get the file contents into your pipeline execution.

On Tue, Dec 13, 2016 at 4:36 PM anton kropp  wrote:

> I'm having some issues reading files from the local workspace. As part of
> my build a set of artifact files are created and I'd like to iterate over
> them, parse their json contents, and act on it in a pipeline step. However,
> I can't seem to get reading files from the workspace to work.
>
> My stage looks like:
>
>
> stage('Push docker containers') {
> def slurper = new JsonSlurper()
>
> def files = new File(env.WORKSPACE).listFiles()
>
> for (int i = 0; i < files.size(); i++) {
> def file = files[i]
> println(file.name)
> if (file.name.endsWith(".json")) {
> def json = slurper.parse(file)
>
> json.each { key, value ->
> // do stuff
> }
> }
> }
> }
>
> I keep getting a null pointer on files.size. I've tried to ls the
> workspace to see whats in it, but nothing shows up.   Whats the recommended
> approach here?
>
> Thanks
> -Anton
>
> --
> 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/fd65242f-f3a7-4ba3-8717-3146639d759a%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/CALELY9Gr0nrmt69eS8KXAu0r4tHYqJA4GGk9ZnLv7XTMn%3DF_4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Human submit after job

2016-12-14 Thread Michael Pailloncy
Are you using Jenkins Pipeline ?

If yes, an "input" step exists to add a manual approval at any time during
your workflow (or pipeline, as you want) :
https://jenkins.io/doc/pipeline/steps/pipeline-input-step/#input-wait-for-interactive-input
=>
https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md#pausing-flyweight-vs-heavyweight-executors
If no, you should really consider using it :-)

2016-12-14 9:33 GMT+01:00 Andreas Wuz :

> Hi,
>
> I am developing a little workflow through jenkins jobs. Now I need to
> submit manually after a job has succeeded. So for example: Job  -> manual
> submit -> job 2. I thought this could be accomplished with a button or
> something else. Is this possible, e.g. with a plugin?
>
> Best regards,
> Wuz
>
> --
> 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/8613cc52-47e5-4efc-b3e7-81cd22c83f57%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/CAPO77c0Er3YJQ0TfPTrrdqdyNEEsA45U%2Bu%2BvmuAhW%3DauEtQXvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: pipeline: it seems pipeline-build-step (build job) ignores node assignment

2016-12-14 Thread Michael Pailloncy
IIUC, it's a normal behaviour.

The "build" pipeline step triggers the job job1 without any node "context"
(a bit like if you trigger it manually), so the default label of job1 is
used in this case.

If you want to trigger job1 with a specific label, you should have a look
to this plugin :
https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin
However, I never used it inside a Jenkins Pipeline.

Michaël

2016-12-14 13:23 GMT+01:00 :

> Hi,
>
> I'm trying to run a job at the node assigned (not the master node), but
> the job runs at any free node available (often it is the master node
> actually).
>
> Here's my pipeline script:
>
> node('label1') {
>   echo "Actual node name: $env.NODE_NAME ."
>   build job: 'job1'
> }
> node('master') {
>   echo "Actual node name: $env.NODE_NAME ."
> }
>
> My master node is not labeled with label 'label1'.
> Only one of my slave nodes is labeled with label 'label1'.
>
> I see at a build's Console Output that the 1st echo is executed at the
> slave node with label 'label1'. And the 2nd echo is executed at the master
> node.
> But 'job1' is executed at the master node also.
> I think that for my pipeline script 'job1' should be executed at the slave
> node labeled with 'label1'.
> 'job1' is allowed to run at any node (this is configured at the job's
> configuration).
>
> Is this behavior is correct? Or is it a bug when build-job-step ignores
> pipeline node assignment?
>
> For now I use Jenkins 2.8 and Pipeline Plugin 2.4 .
> I've tried both Windows and Linux slaves node with this case (got the same
> result). My master node is on Linux.
>
> Best regards,
> Alexander.
>
> --
> 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/77c72577-5898-4ccb-b0eb-cb9d1dab1d7e%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/CAPO77c1_KFF_amMi-QCzj3Ab7sshHtZ4GuVs9c1hsrh%2Bw7PoAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


pipeline: it seems pipeline-build-step (build job) ignores node assignment

2016-12-14 Thread alexander . ites
Hi,

I'm trying to run a job at the node assigned (not the master node), but the 
job runs at any free node available (often it is the master node actually).

Here's my pipeline script:

node('label1') {
  echo "Actual node name: $env.NODE_NAME ."
  build job: 'job1'
}
node('master') {
  echo "Actual node name: $env.NODE_NAME ."
}

My master node is not labeled with label 'label1'.
Only one of my slave nodes is labeled with label 'label1'.

I see at a build's Console Output that the 1st echo is executed at the 
slave node with label 'label1'. And the 2nd echo is executed at the master 
node.
But 'job1' is executed at the master node also.
I think that for my pipeline script 'job1' should be executed at the slave 
node labeled with 'label1'.
'job1' is allowed to run at any node (this is configured at the job's 
configuration).

Is this behavior is correct? Or is it a bug when build-job-step ignores 
pipeline node assignment?

For now I use Jenkins 2.8 and Pipeline Plugin 2.4 .
I've tried both Windows and Linux slaves node with this case (got the same 
result). My master node is on Linux.

Best regards,
Alexander.

-- 
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/77c72577-5898-4ccb-b0eb-cb9d1dab1d7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Need info on Jenkins

2016-12-14 Thread Dirk Heinrichs
Am 14.12.2016 um 12:16 schrieb thokar...@gmail.com:

> Jenkins runs on Windows just fine. Just put a slave on the Windows
> machine.

I know. I was referring to the "testing windows desktop applications"
part. Given that the slave still runs on some remote machine, there is
no desktop to run a desktop application on.

Bye...

Dirk
-- 
*Dirk Heinrichs* | Senior Systems Engineer, Delivery Pipeline
http://mimage.opentext.com/alt_content/binary/images/email-signature/recommind-ot.png

*Tel*: +49 2226 159666 (Ansage) 1149
*Email*: dirk.heinri...@recommind.com 
*Skype*: dirk.heinrichs.recommind

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.





http://www.recommind.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/bd0acd2b-6295-6a02-666c-ec094c544546%40recommind.com.
For more options, visit https://groups.google.com/d/optout.


Re: Need info on Jenkins

2016-12-14 Thread thokari81
Jenkins runs on Windows just fine. Just put a slave on the Windows machine.

Am Mittwoch, 14. Dezember 2016 09:14:29 UTC+1 schrieb Dirk Heinrichs:
>
> Am 14.12.2016 um 08:58 schrieb Christoph Nenning:
>
> > 1- I want to use Jenkins as a framework for testing our Windows 
> > Desktop applications (not web apps).  Can I do so?  I imagine I can. 
> > 
>
> Yes you can :) 
> Jenkins basically just copies files and runs scripts. So you can use it 
> for all kinds of stuff.
>
>
> How's the "desktop" part done, given that Jenkins runs on a remote server? 
> On Linux, one can use the Xvfb plugin to provide a virtual X server, but 
> what about Windows?
>
> Bye...
>
> Dirk
> -- 
> *Dirk Heinrichs* | Senior Systems Engineer, Delivery Pipeline
> [image: 
> http://mimage.opentext.com/alt_content/binary/images/email-signature/recommind-ot.png]
>  
> 
> *Tel*: +49 2226 159666 (Ansage) 1149
> *Email*: dirk.he...@recommind.com 
> *Skype*: dirk.heinrichs.recommind
>
> 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.
>
> www.recommind.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/570f74a7-ec9d-453c-9d2d-1f370908ccf5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to combine Pull-Request Pipeline with existing Jobs?

2016-12-14 Thread thokari81
I want to set up a pipeline using a Jenkinsfile, and then use the GitHub 
Organization Folder plugin to build Pull Requests.

I would like to reuse existing Jobs to do the work, i.e. use several 
"build" steps in the pipeline.

The problem is that these build steps previously had the branch to build as 
input, but now this needs to be supplied by the Pipeline mechanism.

I know there is the magic "checkout scm" statement that should be used to 
check out the correct branch, but since the rest of the "stage" is calling 
"build", this is not working this way.

Would the suggested solution to my problem be to convert the Jobs to a 
"Jenkins 2.0 library" ?

-- 
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/3f4117c2-33bf-438c-b3f8-ed4cb75a9c45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Human submit after job

2016-12-14 Thread Andreas Wuz
Hi,

I am developing a little workflow through jenkins jobs. Now I need to 
submit manually after a job has succeeded. So for example: Job  -> manual 
submit -> job 2. I thought this could be accomplished with a button or 
something else. Is this possible, e.g. with a plugin?

Best regards,
Wuz

-- 
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/8613cc52-47e5-4efc-b3e7-81cd22c83f57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Need info on Jenkins

2016-12-14 Thread Dirk Heinrichs
Am 14.12.2016 um 08:58 schrieb Christoph Nenning:

> > 1- I want to use Jenkins as a framework for testing our Windows
> > Desktop applications (not web apps).  Can I do so?  I imagine I can.
> >
>
> Yes you can :)
> Jenkins basically just copies files and runs scripts. So you can use
> it for all kinds of stuff.

How's the "desktop" part done, given that Jenkins runs on a remote
server? On Linux, one can use the Xvfb plugin to provide a virtual X
server, but what about Windows?

Bye...

Dirk
-- 
*Dirk Heinrichs* | Senior Systems Engineer, Delivery Pipeline
http://mimage.opentext.com/alt_content/binary/images/email-signature/recommind-ot.png

*Tel*: +49 2226 159666 (Ansage) 1149
*Email*: dirk.heinri...@recommind.com 
*Skype*: dirk.heinrichs.recommind

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.





http://www.recommind.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/eb9679e1-8ebe-d5e2-74d1-eca0f92c673b%40recommind.com.
For more options, visit https://groups.google.com/d/optout.