How to distinct github push/merge event in github plugin

2017-02-23 Thread stanley . shen
Right now we are using github plugin to do something automatically.

When some code is pushed to repo, the job will be triggered.

But we have more specific requirement that the job is triggered only when 
we merge a PR.
Normal direct push will not trigger this job.


How can we do that? It seems in github plug we cannot tell them?

-- 
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/cdb885ec-f239-4453-b5bc-e3557354d62c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Picky success criteria in pipeline

2017-02-23 Thread Tomasz Szandała
Greetings All,
I am trying to go from build flow to Pipeline(and Jenkins2.x), but I have 
encountered an issue:
I have complicated workflow, that should cause deploy. But deploy 
requirements are fluent. Let's say I have something like this:

I need all green ones to be requirements, but yellow ones to be perfomed, 
but not mandatory success full in order to start blue one.
I was thinking about: each job editting some kind of map ["jobA": 
"SUCCESS", "jobB": "FAILURE"] or in properties file. But how can I ensure 
concurrency?

Kind regards,
Tomasz

P.S.
Keep in mind that requirements can change, so try / catch are too static.

-- 
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/5964a845-594e-4cd0-8b88-fac2980186e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Docker Pipeline Step

2017-02-23 Thread peter
I might just be missing something here.. But it seems like the docker 
pipeline stuff is pretty busted.

docker.build does *not* seem to return a docker image, even if the build 
was successful. Nor does docker.image("image id") return a usable image 
object. I'm rewriting these two functions in a shared groovy library with 
sh calls rn. Am I crazy? Are other people seeing this? What am I doing 
wrong?

Thanks,
-Peter

-- 
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/b4b62846-727a-4ffe-8cef-99b1dd3c72b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


jenkins with private cloud foundry

2017-02-23 Thread SADHAN
Hi All,

I am planning to integrate jenkins with PCF to perform a CI/CD process fro 
microservices applications. I already have jenkins running but need to 
install the cloud foundry plugin and setup everything. Can someone send me 
their examples or experiences of using it. I could see only one LINK 

 but 
not in too much detail.

-- 
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/18160ac5-6a25-4992-9669-ff2a80155b02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins build says successful but no output is seen

2017-02-23 Thread Sharan Basappa
Hi David,

Is there any other forum where I can get help? I haven't got much inputs on
this forum

On Fri, Feb 24, 2017 at 12:08 AM, David Karr 
wrote:

> On Wed, Feb 22, 2017 at 9:36 AM, Sharan Basappa
>  wrote:
> > folks, need some guidance here ... thanks
> >
> > On Tuesday, 21 February 2017 23:39:43 UTC+5:30, Sharan Basappa wrote:
> >>
> >> My Jenkins build job indicates success but none of the scripts I am
> >> executing seem to do anything. I put a simple "pwd" command to echo
> current
> >> working directory but nothing happens. All Jenkins reports is "Running
> shell
> >> script" and then nothing is seen.
> >>
> >>
> >> Snippet of Jenkins log:
> >>
> >> First time build. Skipping changelog. [Pipeline] sh
> >> [an_example_test3-26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A]
> >> Running shell script [Pipeline] sh
> >> [an_example_test3-26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A]
> >> Running shell script [Pipeline] sh
> >> [an_example_test3-26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A]
> >> Running shell script [Pipeline] sh
> >> [an_example_test3-26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A]
> >> Running shell script [Pipeline] } [Pipeline] // node [Pipeline] End of
> >> Pipeline Finished: SUCCESS
> >>
> >>
> >> Jenkinsfile that is used to define the builds:
> >>
> >> node { stage 'build' sh "echo ${env.BRANCH_NAME}" git url:
> >> 'git@hd1:testing', branch: "${env.BRANCH_NAME}" sh "ls -rtl" sh "pwd"
> sh
> >> "csh ${workspace}/simple.csh" sh "csh ${workspace}/source.csh" }
>
> I'm not an expert, but I would change your syntax to "stage ('build')
> { ... }". The parens probably aren't necessary, but the closure syntax
> likely is.
>
> --
> 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/Dj6hRGzzJZs/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/CAA5t8VoRVBPFv52GKzNLc7mYGxr_
> v4ooL20_r_JWeH5ORSALXQ%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/CACfoTn7RLBQdd87Tnz-QaXED0oTri4Zx0a-v%2Bth11R31is0pdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-02-23 Thread Jason Yu
I have my jenkins server updated to 2.46 yesterday aiming to resolve this 
issue but it still exists after upgrade. 

My jenkins is integrated with our bitbucket account. For each projects, we 
have several branches. When we select "build with parameters" the branches 
name show up. HOwever, even we deleted that branch on bitbucket, the 
deleted bransh name is still showing up. I tried to find the solution 
online to not show these dead branches. but didn't success. 

I found some posts mentioned "Orphaned Item Strategy" but in my Jenkins UI, 
I couldn't find it. 

Would anyone help me with this? I appreciate any help, thanks. 

Jason

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b8971006-bd2b-44c3-a2ac-351be5d0f6ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multi Configuration Job Jenkinsfile

2017-02-23 Thread Daniel Beck

> On 24.02.2017, at 00:08, Douglas Ferguson  wrote:
> 
> How do I unsubscribe?

If you're asking how to unsubscribe from this mailing list, see the footer in 
every email for instructions.

-- 
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/37F7C345-F641-4F4C-B2AC-D11831886E6B%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


A question about proxying Jenkins maven repo

2017-02-23 Thread Eric Griswold

Hello,

I'm running the FOSS version of Nexus Repository Manager, 2.12.0-01

For a time, our proxy of
http://maven.jenkins-ci.org/content/repositories/releases/ was working
well but I've noticed it going out of service (for how long I cannot way).

Even after following the guide in
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Development+Environment+with+Nexus, 


I'm not finding, for example, >2.x jenkins-core artifacts and I see an
error with my proxy discovery:

Status:Unsuccessful.
Message: Connect to maven.jenkins-ci.org:80
[maven.jenkins-ci.org/199.193.196.24] failed: Connection timed out

Are there any hints/docs to help get this back running?

Thanks
Eric Griswold

--
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/67d3f017-1689-00f1-2d52-7319a5c2bc72%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a maximum number of parallel builds a pipeline job can run?

2017-02-23 Thread Bill Dennis
Hey there -

I think it might be worth posting the pipeline of your orchestration job 
that runs the 12000 builds for anyone to comment in more detail.

>From what I understand, if your pipeline is not orchestrating each build in 
a node section it will use something called a 'flyweight executor' on the 
Jenkins master.

If this is happening, even though you have 100 agents your master may be 
heavily loaded running the pipeline - I guess each build allocates some 
Java objects that have to be GCed.

If I can't find any documentation, I tend to go onto Github to look at the 
source code to understand what the Jenkins pipeline is doing behind the 
scenes: https://github.com/jenkinsci/workflow-cps-plugin.

I ran a test on a system where I had an orchestrator kicking off 1000 
builds every 4 minutes on a schedule. After a few days the Jenkins service 
stopped responding (Java memory issues). One thing I have found I needed to 
pay attention to was file and process limits as documented here:
https://support.cloudbees.com/hc/en-us/articles/204231510-Memory-problem-unable-to-create-new-native-thread-


All the best,
--Bill



On Thursday, 23 February 2017 21:33:42 UTC, Chris Overend wrote:
>
> So not sure if this is a Jenkins limitation or pipeline.
> The jobs never exceeded available resources.
> The garbage collection was stable.
>
> So why did it lock-up?
>
> It did say I used 
>
>- 2950 million active threads
>- 350 threads
>
>

-- 
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/a504182f-ebf8-46a6-b343-03f639fefc8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multi Configuration Job Jenkinsfile

2017-02-23 Thread Douglas Ferguson
How do I unsubscribe?

On Thu, Feb 23, 2017 at 2:44 PM, R. Tyler Croy  wrote:

> (replies inline)
>
> On Thu, 23 Feb 2017, Chris Denneen wrote:
>
> > Sathish? What are you referring to here?
> > This is UI configuration. I've had this for a while.
> > I'm looking for Jenkinsfile equivalent.
>
>
> There is no such thing as a "Multiconfiguration Pipeline" as such in
> Pipeline.
> You might find the use of the parallel() step to be helpful here however:
> https://jenkins.io/doc/book/pipeline/jenkinsfile/#
> advanced-scripted-pipeline
>
>
> - R. Tyler Croy
>
> --
>  Code: 
>   Chatter: 
>  xmpp: rty...@jabber.org
>
>   % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
> --
>
> --
> 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/20170223204415.jsko7a6zrioa6fsk%40blackberry.
> coupleofllamas.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/CANn_YzCMLL-19vkxyumNj56yLv_gPA1Cdzfvg%2BA4TSoyqGkiFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multi Configuration Job Jenkinsfile

2017-02-23 Thread Chris Denneen
Thanks R Tyler... I guess my bigger question is how to migrate away from 
Freestyle and Multi-Config type jobs into Pipeline/Groovy style jobs.
Not sure there is a way to configure the build triggers or post build 
actions.
For example kick off build when PR happens... I know these are checkboxes 
in UI but in moving to "config as code" is there a way to do this in the 
Jenkinsfile? Do you recommend saving the xml off and using jenkinsci-puppet 
module? or something like JJB?

On Thursday, February 23, 2017 at 3:48:01 PM UTC-5, R Tyler Croy wrote:
>
> (replies inline) 
>
> On Thu, 23 Feb 2017, Chris Denneen wrote: 
>
> > Sathish? What are you referring to here? 
> > This is UI configuration. I've had this for a while. 
> > I'm looking for Jenkinsfile equivalent. 
>
>
> There is no such thing as a "Multiconfiguration Pipeline" as such in 
> Pipeline. 
> You might find the use of the parallel() step to be helpful here however: 
> 
> https://jenkins.io/doc/book/pipeline/jenkinsfile/#advanced-scripted-pipeline 
>
>
> - R. Tyler Croy 
>
> -- 
>  Code:  
>   Chatter:  
>  xmpp: rty...@jabber.org  
>
>   % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F 
> -- 
>

-- 
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/3d152e69-519f-4f32-8245-8dd462bef660%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a maximum number of parallel builds a pipeline job can run?

2017-02-23 Thread Chris Overend
So not sure if this is a Jenkins limitation or pipeline.
The jobs never exceeded available resources.
The garbage collection was stable.

So why did it lock-up?

It did say I used 

   - 2950 million active threads
   - 350 threads

-- 
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/857ec8a7-42ad-411b-8cfe-ad5033bb4774%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a maximum number of parallel builds a pipeline job can run?

2017-02-23 Thread Chris Overend
I need to retry it may be that the jobs never all started

Branch: job_0 - (1ms in block)
Branch: job_9830 - (3min 16sec in block)
Branch: job_9831 - (No timing in block)

-- 
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/40a3d56b-2edb-4079-b30a-44f72dd7ff63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a maximum number of parallel builds a pipeline job can run?

2017-02-23 Thread Chris Overend
So 3 hr 30 min later the pipeline is locked up

-- 
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/e65fb62e-03cf-49f9-9a45-31297b1fd8f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multi Configuration Job Jenkinsfile

2017-02-23 Thread R. Tyler Croy
(replies inline)

On Thu, 23 Feb 2017, Chris Denneen wrote:

> Sathish? What are you referring to here?
> This is UI configuration. I've had this for a while.
> I'm looking for Jenkinsfile equivalent.


There is no such thing as a "Multiconfiguration Pipeline" as such in Pipeline.
You might find the use of the parallel() step to be helpful here however:
https://jenkins.io/doc/book/pipeline/jenkinsfile/#advanced-scripted-pipeline


- R. Tyler Croy

--
 Code: 
  Chatter: 
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

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


signature.asc
Description: PGP signature


Is there a maximum number of parallel builds a pipeline job can run?

2017-02-23 Thread Chris Overend
I am doing testing of our Jenkins setup.
I have a build job that sleeps for 30 sec.
I ran a pipeline that runs 12,000 of these in parallel on 100 agents.
Best possible time is 1 hr.
The builds seem to finish in a reasonable amount of time.

So after build queue is emptied and the pipeline continues to run for a 
lengthy amount of time.
It has been running for 1 hr 30 min and is processing FINISHED job 8880.
So 3120 more FINISHED jobs to process.
It is unclear what the pipeline is doing?

Is there documentation on the basic operations the pipeline is conducting 
after all the builds finish?
Are there setting that affect this behavior?
Could my Groovy script be causing this long delay?

Thanks,
Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/07741116-4fc9-45c4-851f-484da065e098%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to pass stdout from git to /dev/null

2017-02-23 Thread Mark Waite
No, there is no way currently to remove that from the output

On Thu, Feb 23, 2017, 11:44 AM Sam K  wrote:

> I do a git checkout several times for each deployment server and I dont
> want the std output in the console log.  Is there a way to pass them to
> /dev/null or something?
>
> This is the command whose output I'm not interested in seeing
>
> git url: 'g...@bitbucket.org:myteam/scripts_pipeline.git', branch: 'master'
>
> I tried enclosing them in paranthesis, using returnStdout: false and
> whatever else i could think of.  But they still keep getting printed in the
> console out.
>
> 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/bba69379-9204-4ec7-994f-9be86773df21%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/CAO49JtHpBBTbJLNqNVZvTAfxwjwVc_L%3DMVF0w3ZiNwweDdnMDw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


how to pass stdout from git to /dev/null

2017-02-23 Thread Sam K
I do a git checkout several times for each deployment server and I dont 
want the std output in the console log.  Is there a way to pass them to 
/dev/null or something? 

This is the command whose output I'm not interested in seeing

git url: 'g...@bitbucket.org:myteam/scripts_pipeline.git', branch: 'master'

I tried enclosing them in paranthesis, using returnStdout: false and 
whatever else i could think of.  But they still keep getting printed in the 
console out.

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/bba69379-9204-4ec7-994f-9be86773df21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins build says successful but no output is seen

2017-02-23 Thread David Karr
On Wed, Feb 22, 2017 at 9:36 AM, Sharan Basappa
 wrote:
> folks, need some guidance here ... thanks
>
> On Tuesday, 21 February 2017 23:39:43 UTC+5:30, Sharan Basappa wrote:
>>
>> My Jenkins build job indicates success but none of the scripts I am
>> executing seem to do anything. I put a simple "pwd" command to echo current
>> working directory but nothing happens. All Jenkins reports is "Running shell
>> script" and then nothing is seen.
>>
>>
>> Snippet of Jenkins log:
>>
>> First time build. Skipping changelog. [Pipeline] sh
>> [an_example_test3-26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A]
>> Running shell script [Pipeline] sh
>> [an_example_test3-26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A]
>> Running shell script [Pipeline] sh
>> [an_example_test3-26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A]
>> Running shell script [Pipeline] sh
>> [an_example_test3-26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A]
>> Running shell script [Pipeline] } [Pipeline] // node [Pipeline] End of
>> Pipeline Finished: SUCCESS
>>
>>
>> Jenkinsfile that is used to define the builds:
>>
>> node { stage 'build' sh "echo ${env.BRANCH_NAME}" git url:
>> 'git@hd1:testing', branch: "${env.BRANCH_NAME}" sh "ls -rtl" sh "pwd" sh
>> "csh ${workspace}/simple.csh" sh "csh ${workspace}/source.csh" }

I'm not an expert, but I would change your syntax to "stage ('build')
{ ... }". The parens probably aren't necessary, but the closure syntax
likely is.

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


Jenkins workspace got deleted from Slave

2017-02-23 Thread TN
Hi,
I am new in Jenkins. Not sure how my workspace got deleted from Jenkins. 
Now it's looking for workspace in master. Jenkins can't build project 
anymore, it's failing. what should i do in this case? 

Thanks,
TN

-- 
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/19100471-1af1-4046-81b0-b2d83d9a61f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scriptler "suddenly" broken - not sure how to investigate further

2017-02-23 Thread gsimpson via Jenkins Users
I was able to fix this issue by removing all files from the scriptler git 
repo.  In the Jenkins home directory:
cd scriptler/scripts
rm./*
git add *
git commit -am "Remove corrupted scripts"
 

In my case, the scripts were on disk from a failed scriptler install and 
they were added automatically by scriptler (per the git log).
The files will still appear in the gui until you restart Jenkins, reload 
config from disk or my favorite, delete them from the scriptler page.
Deleting them from the front end without removing them from the git repo 
did not solve the problem.

On Wednesday, November 18, 2015 at 7:07:15 AM UTC-8, Itamar Ostricher wrote:
>
> I ended up setting up a new jenkins instance and copying the state from 
> the broken one, and it seemed to be working fine.
> I don't really know what happened, so I don't quite have what to report in 
> a ticket. I don't think a partial stack trace is very useful...
> Thanks anyway :-)
>
> On Mon, Nov 16, 2015 at 12:33 PM Victor Martinez  > wrote:
>
>> Uhm, I'm afraid I've not clue, if you say you can use a similar jenkins 
>> instance somewhere else and cannot see those errors, it might be related to 
>> some "corruption"... it's weird though. Maybe it's a presentation layout 
>> issue rather than backend one so in that case the logger won't provide 
>> enough information AFAIK.
>>
>> Have you tried to downgrade that scriptler version? 
>>
>> Can yo uplease raise a ticket in 
>> https://issues.jenkins-ci.org/secure/Dashboard.jspa? maybe someone else 
>> already reported a similar error
>>
>>
>> On Sunday, 15 November 2015 16:36:14 UTC+1, Itamar Ostricher wrote:
>>
>>> Thanks again Victor!
>>>
>>> I added the wildcard logger, but still don't see much in that custom 
>>> logger. I'd like to see the full stack trace - what am I doing wrong?
>>>
>>> I disabled security completely for sake of debugging this.
>>>
>>> This master is already running in a docker container.
>>> Another instance does not present the same symptoms.
>>> But Jenkins is not a "clean" containerized application - it has a lot of 
>>> state stored outside and mounted from the host, so I guess something went 
>>> wrong there...
>>>
>>> I did restart the service after uninstalling green balls plugin.
>>>
>>> On Sun, Nov 15, 2015 at 4:35 PM Victor Martinez  
>>> wrote:
>>>
>> If you use scritler plugin you can add the below logger:
 - org.jenkinsci.plugins.scriptler.*

 As you can see In the below source code:
 - 
 https://github.com/jenkinsci/scriptler-plugin/blob/master/src/main/java/org/jenkinsci/plugins/scriptler/ScriptlerPluginImpl.java

 I meant, to add some finest levels in the logger

 Security Jenkins layout is based on different types:
 - https://wiki.jenkins-ci.org/display/JENKINS/Standard+Security+Setup

 If you configure another jenkins instance with similar plugin setup, 
 does it work?

 You can use a Jenkins docker instance easily, use the below page:
 - http://jenkins-ci.org/content/official-jenkins-lts-docker-image

 Besides of that, if you uninstalled the green plugin did you restart 
 your Jenkins service?

 Cheera

 --
 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/8ASFRjj3z8A/unsubscribe
 .

>>> To unsubscribe from this group and all its topics, send an email to 
 jenkinsci-use...@googlegroups.com.
>>>
>>>
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/4cd12b3d-b7d7-47e6-9511-53de497115f7%40googlegroups.com
 .
 For more options, visit https://groups.google.com/d/optout.

>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Jenkins Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/jenkinsci-users/8ASFRjj3z8A/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/88a98a6d-f754-4ba2-9089-9775085abfe3%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/fd724631-6414-4880-8c49-ab35ea30c4dd%40googlegroups.com.
For more options, visit 

Re: Multi Configuration Job Jenkinsfile

2017-02-23 Thread Chris Denneen
Sathish? What are you referring to here?
This is UI configuration. I've had this for a while.
I'm looking for Jenkinsfile equivalent.

Thanks

On Wednesday, February 22, 2017 at 9:58:31 PM UTC-5, sathish g wrote:
>
>
>
> On Sunday, February 19, 2017 at 8:17:29 PM UTC+5:30, Chris Denneen wrote:
>>
>> Anyone have any suggestions?
>> Trying to run a multi configuration job for different RUBY_VERSION and 
>> PUPPET_VERSION. Also this job needs to pin the jobs on a particular slave 
>> with slave axis
>
>  
>
>> Use multi configuration job with Configuration Matrix
>
>
>
> https://www.safaribooksonline.com/library/view/jenkins-the-definitive/9781449311155/ch10s04.html
>  
>

-- 
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/df99f3e6-629b-4f85-9f5b-92f29c8e1a28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Startup error

2017-02-23 Thread V A
Hey karthik,
 Do you have any documentation regarding the installation of  jenkins in 
new server .
Thanks


On Wednesday, April 4, 2012 at 5:33:20 AM UTC-4, Karthik wrote:
>
> Today, I installed jenkins in new server. After installation, while trying 
> to start it, notice below error
>
> 
>   
>   Starting Jenkins Jenkins requires Java5 or later, but you are 
> running 1.4.2 from /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
> java.lang.UnsupportedClassVersionError: 48.0
>at Main.main(Main.java:90)
> 
>   
>
> I have set the java home to point new JDK. For instance, echo $JAVA_HOME 
> provides the output as /Path/to/jdk1.6.0_31. I searched with the error in 
> google and one of them suggested to use update-alternatives. Since i am not 
> clear, could you please help me to resolve this issue. 
>
>
> Regards,
> Karthik
>

-- 
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/0705842a-ed05-4f0b-bfc1-c8b16d332d13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-02-23 Thread V A
Hi Jason,
Did the depency error got solved ?? if solved  so , can you please share it 
with me .
 thanks

On Wednesday, February 22, 2017 at 4:13:57 PM UTC-5, Jason Yu wrote:
>
> Dear jenkins users:
>
> I have upgraded our jenkins from 1.646 to 2.46. After upgrade, I was able 
> to log in correctly. But when I click the upgrade for new features and 
> waited for a while. It gave me error. I attached the error in the email. 
>
> Please kindly give me some clue on how to trouble shoot this. 
>
> thank you. 
>
> Jason
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c7d605b6-a8c5-4848-9374-950adf676e4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


build successful but nothing happens

2017-02-23 Thread Sharan Basappa
** opening a new post as no one responded to my original post. I just need 
some direction. That's all **

My Jenkins build job indicates success but none of the scripts I am 
executing seem to do anything. I put a simple "pwd" command to echo current 
working directory but nothing happens. All Jenkins reports is "Running 
shell script" and then nothing is seen.

Snippet of Jenkins log:

First time build. Skipping changelog. [Pipeline] sh [an_example_test3-
26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A] Running shell script [
Pipeline] sh [an_example_test3-
26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A] Running shell script [
Pipeline] sh [an_example_test3-
26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A] Running shell script [
Pipeline] sh [an_example_test3-
26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A] Running shell script [
Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS


Jenkinsfile that is used to define the builds:

node { stage 'build' sh "echo ${env.BRANCH_NAME}" git url: 'git@hd1:testing'
, branch: "${env.BRANCH_NAME}" sh "ls -rtl" sh "pwd" sh "csh 
${workspace}/simple.csh" sh "csh ${workspace}/source.csh" }

-- 
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/98362de9-9a67-48de-9673-e24348d201d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git Plugin Polling Not Picking Up New Changes

2017-02-23 Thread Mark Waite
That looks like a bug.

Please submit that information to the bug tracker (
https://issues.jenkins-ci.org/
 ).

I'm unlikely to investigate that bug further for quite a while, since there
are other higher priority issues preceding it (support git large files,
support renamed submodules, more authentication cases) and those higher
priority issues don't have a workaround.

Mark Waite

On Thu, Feb 23, 2017 at 5:56 AM  wrote:

> I wanted to report that there seems to be an issue with the Git plugin and
> polling. For some reason my Jenkins instance stopped picking up new Git
> changes when polling. Here is the information of my Jenkins instance:
>
> Jenkins version: 2.47
> ​OS Git version: 2.7.4
> Git plugin version: 3.0.5
> Git client plugin version: 2.2.1​
> ​SCM API plugin version: 2.0.7​
>
> Here's the job details for SCM:
> ​Repo URL: g...@github.com:SimpTek-Technologies/Foo.git​
> ​Repository Name: origin
> Refspec: +refs/heads/develop:refs/remotes/origin/develop​
> ​Branches to build: refs/remotes/origin/develop​
> ​Additional Behaviours:
>  - Checkout to specific local branch:  develop> ​
> ​ - Clean before checkout
>  - *Force polling using workspace (HAD TO DO THIS TO GET AROUND BUG)*​
>
> ​I had to use force polling using workspace to get the poller to work. The
> git ls-remote does work correctly when running through a Bash shell
> session. It looks like the plugin isn't comparing the last build SHA1 value
> with the latest in Git.​
>
> ​Here's the command details from the Bash shell session:
>
> jenkins@jenkins:/var/lib/jenkins/workspace/Develop/Clients/Foo$ git
> ls-remote -h g...@github.com:SimpTek-Technologies/Foo.git # timeout=10
> b6f141a367aa42e0d8262aa35fbe20fba314eb94 refs/heads/develop
> ffb74a8f55cef31aac3d3f7f3ac4b82a49138a4b refs/heads/master
> 3ee8a4ac718aa441d289ede5e005f93a3be742a7 refs/heads/staging​
>
> ​Here's the polling log of the last build where it shows that the plugin
> isn't correctly comparing the new SHA1 value
> (b6f141a367aa42e0d8262aa35fbe20fba314eb94) with the old:
>
> ​Started on 23-Feb-2017 12:06:47 PM
> Using strategy: Default
> [poll] Last Built Revision: Revision
> dab5696b067c87cb9a0e9196a7fb522a88a14f7b (refs/remotes/origin/develop)
> using GIT_SSH to set credentials SimpTek GitHub credentials
>  > git ls-remote -h g...@github.com:SimpTek-Technologies/Foo.git #
> timeout=10
> Found 3 remote heads on g...@github.com:SimpTek-Technologies/Foo.git
> Ignoring refs/heads/master as it doesn't match any of the configured
> refspecs
> Ignoring refs/heads/staging as it doesn't match any of the configured
> refspecs
> Done. Took 0.66 sec
> No changes​
>
> ​Here's when I ran the git log command on the branch in the workspace for
> that repo on Jenkins:​
>
> ​commit dab5696b067c87cb9a0e9196a7fb522a88a14f7b
> Author: Colin McQueen
> Date:   Tue Feb 21 10:15:44 2017 -0400
>
> Testing webhook.​
>
> ​Here's the polling log with the force polling on the workspace:​
>
> ​Started on 23-Feb-2017 12:11:38 PM
> Polling SCM changes on *master*
> Using strategy: Default
> [poll] Last Built Revision: Revision
> dab5696b067c87cb9a0e9196a7fb522a88a14f7b (refs/remotes/origin/develop)
>  > git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repositories
>  > git config remote.origin.url g...@github.com:SimpTek-Technologies/Foo.git
> # timeout=10
> Cleaning workspace
>  > git rev-parse --verify HEAD # timeout=10
> Resetting working tree
>  > git reset --hard # timeout=10
>  > git clean -fdx # timeout=10
> Fetching upstream changes from g...@github.com:SimpTek-Technologies/Foo.git
>  > git --version # timeout=10
> using GIT_SSH to set credentials SimpTek GitHub credentials
>  > git fetch --tags --progress g...@github.com:SimpTek-Technologies/Foo.git
> +refs/heads/develop:refs/remotes/origin/develop
> Polling for changes in
>  > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
>  > git rev-parse refs/remotes/origin/refs/remotes/origin/develop^{commit}
> # timeout=10
>  > git log --full-history --no-abbrev --format=raw -M -m
> dab5696b067c87cb9a0e9196a7fb522a88a14f7b..b6f141a367aa42e0d8262aa35fbe20fba314eb94
> # timeout=10
> Done. Took 0.68 sec
> Changes found​
>
> ​As shown above for some reason it says "Polling SCM changes on master"
> even though no changes happened on master and only the develop branch. I'm
> assuming this is hardcoded in the code to say master.
>
> ​Anyways I would prefer to not use force polling on the workspace and go
> back to the old way​. Hope the information provided will help identify and
> fix the issue.
>
> --
> 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
> 

Git Plugin Polling Not Picking Up New Changes

2017-02-23 Thread colin . mcqueen
I wanted to report that there seems to be an issue with the Git plugin and 
polling. For some reason my Jenkins instance stopped picking up new Git 
changes when polling. Here is the information of my Jenkins instance:

Jenkins version: 2.47
​OS Git version: 2.7.4
Git plugin version: 3.0.5
Git client plugin version: 2.2.1​
​SCM API plugin version: 2.0.7​

Here's the job details for SCM:
​Repo URL: g...@github.com:SimpTek-Technologies/Foo.git​
​Repository Name: origin
Refspec: +refs/heads/develop:refs/remotes/origin/develop​
​Branches to build: refs/remotes/origin/develop​
​Additional Behaviours:
 - Checkout to specific local branch:  ​
​ - Clean before checkout
 - *Force polling using workspace (HAD TO DO THIS TO GET AROUND BUG)*​

​I had to use force polling using workspace to get the poller to work. The 
git ls-remote does work correctly when running through a Bash shell 
session. It looks like the plugin isn't comparing the last build SHA1 value 
with the latest in Git.​

​Here's the command details from the Bash shell session:

jenkins@jenkins:/var/lib/jenkins/workspace/Develop/Clients/Foo$ git 
ls-remote -h g...@github.com:SimpTek-Technologies/Foo.git # timeout=10
b6f141a367aa42e0d8262aa35fbe20fba314eb94 refs/heads/develop
ffb74a8f55cef31aac3d3f7f3ac4b82a49138a4b refs/heads/master
3ee8a4ac718aa441d289ede5e005f93a3be742a7 refs/heads/staging​

​Here's the polling log of the last build where it shows that the plugin 
isn't correctly comparing the new SHA1 value 
(b6f141a367aa42e0d8262aa35fbe20fba314eb94) with the old:

​Started on 23-Feb-2017 12:06:47 PM
Using strategy: Default
[poll] Last Built Revision: Revision 
dab5696b067c87cb9a0e9196a7fb522a88a14f7b (refs/remotes/origin/develop)
using GIT_SSH to set credentials SimpTek GitHub credentials
 > git ls-remote -h g...@github.com:SimpTek-Technologies/Foo.git # timeout=10
Found 3 remote heads on g...@github.com:SimpTek-Technologies/Foo.git
Ignoring refs/heads/master as it doesn't match any of the configured 
refspecs
Ignoring refs/heads/staging as it doesn't match any of the configured 
refspecs
Done. Took 0.66 sec
No changes​

​Here's when I ran the git log command on the branch in the workspace for 
that repo on Jenkins:​

​commit dab5696b067c87cb9a0e9196a7fb522a88a14f7b
Author: Colin McQueen
Date:   Tue Feb 21 10:15:44 2017 -0400

Testing webhook.​

​Here's the polling log with the force polling on the workspace:​

​Started on 23-Feb-2017 12:11:38 PM
Polling SCM changes on *master*
Using strategy: Default
[poll] Last Built Revision: Revision 
dab5696b067c87cb9a0e9196a7fb522a88a14f7b (refs/remotes/origin/develop)
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repositories
 > git config remote.origin.url g...@github.com:SimpTek-Technologies/Foo.git 
# timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from g...@github.com:SimpTek-Technologies/Foo.git
 > git --version # timeout=10
using GIT_SSH to set credentials SimpTek GitHub credentials
 > git fetch --tags --progress g...@github.com:SimpTek-Technologies/Foo.git 
+refs/heads/develop:refs/remotes/origin/develop
Polling for changes in
 > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/refs/remotes/origin/develop^{commit} # 
timeout=10
 > git log --full-history --no-abbrev --format=raw -M -m 
dab5696b067c87cb9a0e9196a7fb522a88a14f7b..b6f141a367aa42e0d8262aa35fbe20fba314eb94
 
# timeout=10
Done. Took 0.68 sec
Changes found​

​As shown above for some reason it says "Polling SCM changes on master" 
even though no changes happened on master and only the develop branch. I'm 
assuming this is hardcoded in the code to say master.

​Anyways I would prefer to not use force polling on the workspace and go 
back to the old way​. Hope the information provided will help identify and 
fix the issue.

-- 
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/874854c0-07fc-4771-a47a-98c5484ad1c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Configuring content security policy

2017-02-23 Thread KaliRajan G
Jenkins doesn’t allow the CSS and Font Styles (Configuring Content Security 
Policy) as per Jenkins security policy by default.  We want to enable that the 
CSS and Font styles. So, we used the below groovy command to enable the CSS and 
Font Styles.
Groovy command:
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
Even also font styles were not applied. How can i  enable the font styles to 
Jenkins to view the html file with CSS and Font Styles applied? Is there any 
help documentation link?

-- 
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/c131934b-41d5-4e70-a0e7-ac647a4a043c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git fetch not working from jenkins, working from command line

2017-02-23 Thread Christopher Orr
On Wed, 22 Feb 2017, at 18:54, Diganta Paladhi wrote:

>> Hi Guys, I am facing this issue with Git plugin version 3.0.5 Any
>> idea how to solve this? I have tried all possible suggestions, but
>> failed to resolve this :( **
>> *17:07:29*  > /usr/bin/git rev-parse --verify HEAD # timeout=10
>> *17:07:29* No valid HEAD. Skipping the resetting *17:07:29*  >
>> /usr/bin/git clean -fdx # timeout=10 *17:07:29* Fetching upstream
>> changes from  *17:07:29*  > /usr/bin/git --version #
>> timeout=10 *17:07:29* using GIT_ASKPASS to set credentials *17:07:29*
>> > /usr/bin/git fetch --tags --progress 
>> +refs/heads/*:refs/remotes/origin/*
>>
>> *17:07:29* ERROR: Error fetching remote repo 'origin' *17:07:29*
>> hudson.plugins.git.GitException[1]: Failed to fetch from 
>> *17:07:29*  at
>> hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:806)[2] *17:07:29*
>> at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1066)[3]
>> *17:07:29*  at
>> hudson.plugins.git.GitSCM.checkout(GitSCM.java:1097)[4] *17:07:29*
>> at hudson.scm.SCM.checkout(SCM.java:495)[5] *17:07:29*  at
>> hudson.model.AbstractProject.checkout(AbstractProject.java:1278)[6]
>> *17:07:29*  at hudson.model.AbstractBuild$AbstractBuildExecution.def-
>> aultCheckout(AbstractBuild.java:604)[7] *17:07:29*  at jenkins.scm.S-
>> CMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)[8]
>> *17:07:29*  at hudson.model.AbstractBuild$AbstractBuildExecution.run-
>> (AbstractBuild.java:529)[9] *17:07:29*  at
>> hudson.model.Run.execute(Run.java:1728)[10] *17:07:29*  at
>> hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)[11]
>> *17:07:29*  at hudson.model.ResourceController.execute(ResourceContr-
>> oller.java:98)[12] *17:07:29*  at
>> hudson.model.Executor.run(Executor.java:404)[13]
>>


It looks like you haven't pasted the full error message — usually the
lines after that part of the stacktrace indicate why the clone failed.

Regards,

Chris


Links:

   1. 
http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException
   2. 
http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.fetchFrom=method
   3. 
http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.retrieveChanges=method
   4. 
http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.checkout=method
   5. 
http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.SCM.checkout=method
   6. 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.checkout=method
   7. 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout=method
   8. 
http://stacktrace.jenkins-ci.org/search/?query=jenkins.scm.SCMCheckoutStrategy.checkout=method
   9. 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run=method
  10. 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute=method
  11. 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run=method
  12. 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute=method
  13. 
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run=method

-- 
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/1487845750.3225691.890287960.75EC7890%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline 'Almost complete' is misleading

2017-02-23 Thread Christopher Orr
Hi there,



On Wed, 22 Feb 2017, at 18:54, Dan Tran wrote:

> Hi

> 

> I am not sure about  'Almost complete' progress bar,  it keeps the
> same text regardless of the length of the build
> 

> Thoughts?



If you're seeing this consistently, and can reproduce it easily, it
seems like https://issues.jenkins-ci.org/browse/JENKINS-39188 would be
the place to add this info.


Regards,

Chris

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


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

2017-02-23 Thread Ewelina Wilkosz
Hi everyone,

I'm trying to configure Jenkins as code - so I'm using descriptors to 
configure plugins in groovy script. And I'm having problems with 
configuring CIFS host, can't find the proper descriptor in 
https://github.com/jenkinsci/publish-over-cifs-plugin. I will maybe try to 
implement something on my own, but since I've just started working with 
that I wanted to check with you if

a) is there anyone already working on that/solved that
b) is the descriptor available and I'm just blind 

thanks in advance!

BR
Ewelina

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0333424a-be18-41b7-b3e6-f3eb4196e994%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.