Re: admin password issuee

2019-03-06 Thread RAJENDRA PRASAD
Don't for get save settings and restart Jenkins
After restart it is not required to enter password
If you want you can create new password

On Thu, 7 Mar, 2019, 11:20 RAJENDRA PRASAD, 
wrote:

> No password required
>
> On Thu, 7 Mar, 2019, 10:45 Archana Srichandan, <
> archana.srichan...@4tigo.com> wrote:
>
>> have tried the same after that when how do i login to UI and what should
>> be my login credeantial??
>>
>> Regards,
>> Archana Srichandan
>>
>>
>> On Thu, Mar 7, 2019 at 10:37 AM RAJENDRA PRASAD <
>> rajendra.penuma...@gmail.com> wrote:
>>
>>> GO to Jenkins home directory
>>> Open config.xml file
>>> Search for following line
>>> true>> Change as follows
>>> false>> Save it
>>> Restart Jenkins
>>>
>>>
>>> On Thu, 7 Mar, 2019, 10:29 Archana Srichandan, <
>>> archana.srichan...@4tigo.com> wrote:
>>>
 Hi All,

 I am unable to login with admin password it shows username password
 incorrect ,how can i reset admin password and view my same old builds and
 pipeline project
 Regards,
 Archana Srichandan

 --
 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/CA%2BU8sbVxGhpho27jwuzs_cDNj7LW3kgR-e%3DMBkBAnjUVYzcuSg%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/CAMrg02TWHsSSo3KUfPUtdNUX88qKG8rA%3DwKucyg%2BYAiWYG9org%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/CAMrg02Q6gXb8AjHX_mOw8YxRhYhUw6GNZL21q7cpXRTjmba_1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: admin password issuee

2019-03-06 Thread RAJENDRA PRASAD
No password required

On Thu, 7 Mar, 2019, 10:45 Archana Srichandan, 
wrote:

> have tried the same after that when how do i login to UI and what should
> be my login credeantial??
>
> Regards,
> Archana Srichandan
>
>
> On Thu, Mar 7, 2019 at 10:37 AM RAJENDRA PRASAD <
> rajendra.penuma...@gmail.com> wrote:
>
>> GO to Jenkins home directory
>> Open config.xml file
>> Search for following line
>> true> Change as follows
>> false> Save it
>> Restart Jenkins
>>
>>
>> On Thu, 7 Mar, 2019, 10:29 Archana Srichandan, <
>> archana.srichan...@4tigo.com> wrote:
>>
>>> Hi All,
>>>
>>> I am unable to login with admin password it shows username password
>>> incorrect ,how can i reset admin password and view my same old builds and
>>> pipeline project
>>> Regards,
>>> Archana Srichandan
>>>
>>> --
>>> 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/CA%2BU8sbVxGhpho27jwuzs_cDNj7LW3kgR-e%3DMBkBAnjUVYzcuSg%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/CAMrg02TWHsSSo3KUfPUtdNUX88qKG8rA%3DwKucyg%2BYAiWYG9org%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/CAMrg02QCOVrODLx_fyY0_rKGDZUv2F1JVL%2Bf0bpbFWHiEVOaFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to show both unit test result and API test result from Jenkins job?

2019-03-06 Thread xuyongdao1978
yes, we use junit to format the api test result + unit test result. the 
problem is api result will over-write unit test result.

so we like know if any other way can show both unit and api test result in 
same pipeline. 

thanks.


在 2019年3月5日星期二 UTC+8下午1:51:14,Xiaojie Zhao写道:
>
> Hi there
>
> Have you try to convert your API test results to be a junit result format?
>
> Best regards,
> Rick
>
> On Tue, Mar 5, 2019 at 1:48 PM > wrote:
>
>>
>> hi,
>>
>> We are using JUnit to analyze unit test result in jenkins pipeline, that 
>> works well and can show detail test result in XML format after job complete.
>>
>> we would like to integrate API test in same pipeline, and if we use JUnit 
>> to format the API test result.  Once job is complete, looks API result is 
>> over-write Unit test result,so we can only see API test result.
>>
>> we did not find good way to solve this , is there any other way can show 
>> both unit and api test result in one pipeline job?
>>
>> thanks in advance. 
>>
>> -- 
>> 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/bf47ce6a-24c5-49e0-8239-4b8da0f59b5f%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> https://github.com/LinuxSuRen
>
>

-- 
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/81cfc045-f67d-4ba5-ac33-bf053136ee8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: admin password issuee

2019-03-06 Thread Archana Srichandan
have tried the same after that when how do i login to UI and what should be
my login credeantial??

Regards,
Archana Srichandan


On Thu, Mar 7, 2019 at 10:37 AM RAJENDRA PRASAD <
rajendra.penuma...@gmail.com> wrote:

> GO to Jenkins home directory
> Open config.xml file
> Search for following line
> true Change as follows
> false Save it
> Restart Jenkins
>
>
> On Thu, 7 Mar, 2019, 10:29 Archana Srichandan, <
> archana.srichan...@4tigo.com> wrote:
>
>> Hi All,
>>
>> I am unable to login with admin password it shows username password
>> incorrect ,how can i reset admin password and view my same old builds and
>> pipeline project
>> Regards,
>> Archana Srichandan
>>
>> --
>> 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/CA%2BU8sbVxGhpho27jwuzs_cDNj7LW3kgR-e%3DMBkBAnjUVYzcuSg%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/CAMrg02TWHsSSo3KUfPUtdNUX88qKG8rA%3DwKucyg%2BYAiWYG9org%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/CA%2BU8sbWzEiMbgixZVzn5rE9hwTckGuObnZfEe_bg3cG4QsN_sw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: admin password issuee

2019-03-06 Thread RAJENDRA PRASAD
Let me know still if you have any issues

On Thu, 7 Mar, 2019, 10:36 RAJENDRA PRASAD, 
wrote:

> GO to Jenkins home directory
> Open config.xml file
> Search for following line
> true Change as follows
> false Save it
> Restart Jenkins
>
>
> On Thu, 7 Mar, 2019, 10:29 Archana Srichandan, <
> archana.srichan...@4tigo.com> wrote:
>
>> Hi All,
>>
>> I am unable to login with admin password it shows username password
>> incorrect ,how can i reset admin password and view my same old builds and
>> pipeline project
>> Regards,
>> Archana Srichandan
>>
>> --
>> 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/CA%2BU8sbVxGhpho27jwuzs_cDNj7LW3kgR-e%3DMBkBAnjUVYzcuSg%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/CAMrg02TcLptCQUFLN0wXxNz%2Bs9AcnMfE-rbhvSfbtECnESE8Ow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: admin password issuee

2019-03-06 Thread RAJENDRA PRASAD
GO to Jenkins home directory
Open config.xml file
Search for following line
truefalse
wrote:

> Hi All,
>
> I am unable to login with admin password it shows username password
> incorrect ,how can i reset admin password and view my same old builds and
> pipeline project
> Regards,
> Archana Srichandan
>
> --
> 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/CA%2BU8sbVxGhpho27jwuzs_cDNj7LW3kgR-e%3DMBkBAnjUVYzcuSg%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/CAMrg02TWHsSSo3KUfPUtdNUX88qKG8rA%3DwKucyg%2BYAiWYG9org%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


admin password issuee

2019-03-06 Thread Archana Srichandan
Hi All,

I am unable to login with admin password it shows username password
incorrect ,how can i reset admin password and view my same old builds and
pipeline project
Regards,
Archana Srichandan

-- 
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/CA%2BU8sbVxGhpho27jwuzs_cDNj7LW3kgR-e%3DMBkBAnjUVYzcuSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Is there a trim method in the string parameter ?

2019-03-06 Thread Mike Craig
Hello,

For clear text data entry I'd like to be able to enable a 'trim' feature.

This page doesn't document one:
https://jenkins.io/doc/book/pipeline/syntax/#parameters

I would like something like this, does it exist? I couldn't get the below 
to work for me.
parameters {
   string(name: 'component', trim:true, description: 'component name for 
terraform')
  }

Thank you,

Mike

-- 
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/28cb5f4a-7209-4c43-855b-2c9b38539eb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins queue and pipeline job - check node availability before build starts

2019-03-06 Thread Den Slobozhanskyi
Hi Jenkins people,

*TL;DR:* 
is there any way to queue pipeline job if there are no executors available 
on the given node without actually starting a build, like I can do with 
freestyle job and "Restrict where this project can be run" option or 
throttling plugin?


*Long story:*
I have recently ran into the question of queuing Jenkins pipeline jobs. The 
initial case is following:

We have N number of jobs that do some work on available devices. There are 
multiple job per device, while device can handle only one job at a time. 
(it is acceptance testing of SOC's if anyone really interested).
Previously we handled that by using 
https://github.com/jenkinsci/throttle-concurrent-builds-plugin - by 
creating separate category for each device, assign each job with category 
accordingly and limiting number of jobs in category by 1. 

This all works like a charm, but devices can be used by other means beside 
Jenkins - and if for some reason device is NA at the given moment - Jenkins 
has no idea about it. This causes issues on both sides - no other system 
can use device during the jobs execution, while jobs may fail due to 
external problems with device.

So we've decided to merry our device access distribution system API(which 
can tell if device is available atm) with Jenkins, so whenever it says that 
device is NA - Jenkins knows the job should be queued and waits. So I want 
pipeline job to verify device availability before starting the build, and 
if device available - "lock" it and start building, otherwise put build 
into queue. The initial idea was to create abstract node per device, and 
put it online/offline based on device availability calling Jenkins API from 
our device distro system, while restrict job only for that node. In the end 
of the day it looks exactly like throttling plugin, but instead of category 
we have nodes. 

And here comes the problem - in simple job types, like, "freestyle job", 
using option "Restrict where this project can be run" and if there is no 
executors available on the node - there is queue instance created, but no 
build started. In the job view it looks like grey pic with "Planned build 
ID" and explanation that it waits for free executor. And, e.g., if you 
cancel it - no trace is left, it is just removed from queue. 

Same time in pipeline job there is no such setting as "Restrict where this 
project can be run", and even if I use node step as a first thing in 
jenkinsfile like:

node("node_with_no_executors_available") {

"Hello wold!"

}

build *will *start, build ID will be assigned and Run instance will be 
created. After this, the build will be paused waiting for available 
executor on "node_with_no_executors_available", but the build will be 
marked as RUNNING and will be written to builds history. Cancelling build 
will result in "aborted status" finished build.

So the question is - is there any way to queue pipeline job if there are no 
executors on a given node, without actually starting a build, like I can do 
with freestyle job or throttling plugin?

-- 
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/79e700ce-8a90-4546-8fac-9be9ee4bb06a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Graceful exit?

2019-03-06 Thread Simon Richter
Hi,

On 06.03.19 20:29, JR Cary wrote:

> Is there a way to accomplish this (graceful stop, send some sort of
> signal) within Jenkins?

Jenkins has a "shutdown" state where it doesn't start any more builds,
which allows shutting down the server as soon as all jobs have finished.

It is also possible to mark agents as "offline", which will stop new
builds to be scheduled on them.

Both of these should be available via the API as well.

   Simon

-- 
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/5fb30cf1-3eab-4d9d-4c53-0ce76ea83c48%40hogyros.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Graceful exit?

2019-03-06 Thread JR Cary
Our build system builds a number of packages.  When run in background, 
locally,
we can gracefully stop after any current package build completes by 
"touch stop.sys"
in the top directory.  (We prefer not to use Jenkins job cancelling 
capabilities, as

it often leads the Windows server in a bad state, in need of reboot.)

Is there a way to accomplish this (graceful stop, send some sort of 
signal) within Jenkins?


ThxJohn Cary

--
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/3e5c08c0-9692-ae6c-2c93-6d020a4a2734%40txcorp.com.
For more options, visit https://groups.google.com/d/optout.


One Jenkins, Multiple Kubernetes Clusters

2019-03-06 Thread Steve Garrett
Hi,

I'm trying to use multiple kubernetes clouds and have just a single jenkins 
I was able to get both kubernetes clusters registered as clouds and all the 
login checks work. When I run a build to the cluster where Jenkins is, i
t works fine, pulls code, builds an image and all that. However, when I 
change the label to my second cluster, that doesn't have any Jenkins there 
it seems to never want to build there and always builds on the cluster 
that's local to Jenkins.

I'm missing something stupid I'm sure of it but don't see what it is.


Thanks for your help


Steve

-- 
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/51ef6954-78a9-44cf-a4f0-0848fb0f5547%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Release Grails3 plugin to a private artifact and svn tag it on Jenkins

2019-03-06 Thread Joud Kassem
Hi,

Anybody knows how to release a Grails3 plugin to a private artifact and svn 
tag it on Jenkins? I'm trying to find a guide or any hints but couldn't... 
I'm using Jenkins 2.32.3.

Thanks in advance

-- 
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/8296b068-1200-4f55-8d05-5918e516fa43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


release grails3.3.8 plugin to artifact with svn tag

2019-03-06 Thread Joud Kassem
Hi,

Anyone knows how to release grails 3 plugin to a private artifact and svn 
tag it on Jenkins? I'm trying to find a guide but couldn't... I have Jenkins 
2.32.3.

Thanks in advance!

-- 
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/76a953c0-7506-4228-997e-e16e8a39a4c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins pulls and builds older commit

2019-03-06 Thread Piotr Bracha
Hi. I have Jenkins integrated with Bitbucket. I make a test:
- create testing repo
- add file and commit it
- add 2nd file and commit it
- Jenkins builds and in logs is message about checkout from first commit
not 2nd one
- manually rebuild on Jenkins gives checkout from last commit

This same is on real project. Jenkins builds from penult (before last one)
commit.

-- 
*Pozdrawiam / Kind regards,*
Piotr Bracha
Administrator Systemów
*Vasco Electronics sp. z o.o. S.K.A.*
al. Pokoju 1, CTA/350
31-548 Kraków
NIP 677 236 91 51

E-mail:  p.bra...@vasco-electronics.com
[image: Vasco Electronics]  [image:
wKarteczkach Logo]  [image: Tłumacze Elektroniczne
Logo] 
Vasco Electronics Spółka z ograniczoną odpowiedzialnością Spółka
Komandytowo-Akcyjna, Al. Pokoju 1, CTA/350, 31-548 Kraków, Polska, NIP:
6772369151, REGON: 122581850, zarejestrowana w Sądzie Rejonowym dla Krakowa
Śródmieścia XI Wydział KRS pod nr KRS: 421705, Kapitał zakładowy 50 000
zł (słownie: pięćdziesiąt tysięcy złotych) w całości wpłacony. Klauzula
Bezpieczeństwa: treść tej wiadomości wraz z załącznikami stanowią
informacje chronione przed ujawnieniem. Jeśli wiadomość ta nie jest
przeznaczona dla Ciebie uprzedzamy, że ujawnianie, kopiowanie,
rozpowszechnianie lub korzystanie z niej lub z załączników jest zabronione.
Jeśli otrzymałeś tę wiadomość przez pomyłkę, uprzejmie prosimy o
niezwłoczne zawiadomienie nadawcy i odesłanie jej z powrotem wraz z
załącznikami a także usunięcie ze swoich systemów.

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