Re: Use hashicorp-vault-plugin write to vault

2017-09-26 Thread Allan Burdajewicz
Hi Paul, 

I don't think this is possible with the Hashicorp Vault plugin. However I 
recently came across that blog post that could be useful to you 
http://nicolas.corrarello.com/general/vault/security/ci/2017/04/23/Reading-Vault-Secrets-in-your-Jenkins-pipeline.html.
 
I believe you could use a (Custom) tool installer to have the vault cli 
available to your builds, and then use standard credentials / credentials 
binding to pass it to your Vault commands.

I hope this helps.

On Wednesday, June 14, 2017 at 5:14:40 AM UTC+10, Paul Wolstenholme wrote:
>
> Is there a method using the hashicorp-vault-plugin to write values to the 
> vault or generate a token. Or, are people using  a credential bindings 
> plugins to retrieve vault approle or  token and use the vault api or cli. 
>
> Cheers,
> apul
>

-- 
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/24a7e0e9-1b02-4948-bfab-5ebe241fac0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Extended E-mail Notification (Email-ext) Default Pre-Send Script and Script Security...

2017-09-26 Thread fbenz83
Hi Matt,

I had roughly the same problem. It can happen that you've configured 
"Additional groovy classpath" in Jenkins -> Manage Jenkins -> Configure 
System -> Extended E-mail Notification; then later you've probably deleted 
it. But because of a bug the actual delete is not performed, instead the 
config would still contain at least one element; no matter what you're 
doing on the GUI at least one entry will be there next to "Additional 
groovy classpath". In my case I was trying to set it to the empty string. 
No luck.
As I observed empty string in this context is resolved to the current 
working directory of the Jenkins' JVM. (In my case the error came for the 
HOME directory of the running unix user of my jenkins instance. In your 
case it comes for /).

You can verify if you're struggling with this same buggy behavior if you 
save your changes on the bottom of the configuration page and then reload 
it (Manage Jenkins -> Configure System); if you see an entry next to 
Additional groovy classpath then... Only an Add button should be seen if 
you don't have classpath entries.

Here's a messy and short groovy script which does the deletion (please note 
that the path should be already empty):
import java.io.File;
import java.nio.charset.StandardCharsets;

def jenkins = Jenkins.getInstanceOrNull();
def config = new File(jenkins.getRootDir(), 
"hudson.plugins.emailext.ExtendedEmailPublisher.xml");
def original = config.getText('UTF-8');
println(original);

def changed = original.replace("  \n", "").replace(" 
 \n", "").replace("", 
"").replace("   
 \n", "").replace("   
 \n", "");
println(changed);

def fos = new FileOutputStream(config);
def OutputStreamWriter writer = new OutputStreamWriter(fos, StandardCharsets
.UTF_8);
writer.write(changed, 0, changed.length());

writer.close();

If you do not have access to the script console to run this script, as a 
workaround you can try to set a nonexisting path to the classpath element. 
The downside is that you will get WARNs in your build logs about 
non-existing file...

Good luck,
benz

2017. május 23., kedd 22:14:57 UTC+2 időpontban Matt Childress a következőt 
írta:
>
> This is driving me nuts.   Jenkins has been running just fine until during 
> one of the updates in the past month or so something went south.  We're now 
> getting no e-mail and the following error in the Job logs:
>
> Executing pre-send script
> Pre-send script tried to access secured objects: classpath entry file:/ 
> (7a4a36093f15af3f79ad37dbe1308c5da1d8bace) not yet approved for use
> ERROR: Could not send email as a part of the post-build publishers.
> org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedClasspathException: 
> classpath entry file:/ (7a4a36093f15af3f79ad37dbe1308c5da1d8bace) not yet 
> approved for use
>
>
> I've gone into the Manage Jenkins->In Process Script Security and nothing 
> is pending approval.   
>
> I've taken the "7aa3609" string (which I'm guessing is a hash) and tried 
> putting it directly into the approvedClasspathEntries in scriptApproval.xml
>
> There is no "groovy sandbox" checkbox near the script as mentioned in 
> similar problems I've seen described on the 'net.
>
> I've started to play with Permissive Script Security Plugin, but would 
> like to avoid that (and the instructions didn't make a lot of sense yet on 
> MacOS).
>
> The script is below.  Is there an easy fix for this?!?
>
> Thanks much!
> M@
>
>
>
>
>
> Pre-send script:
>
>
> // Load up the first 1000 lines of the log file into a variable
> def log = build.getLog(1000)
>
> // Let's setup a boolean of the result of searching for the string that 
> appears
> // in the log file when a job successfully completes but no work occurred.
>
> def NothingDone = (log ==~/.*Nothing downloaded, packaged or imported.*/)
> assert NothingDone instanceof Boolean
> logger.println("** NothingDone is " + NothingDone)
>
> def Error = (log ==~/.*Error.*/)
> assert Error instanceof Boolean
> logger.println("** Error is " + Error)
>
> def error = (log ==~/.*error.*/)
> assert error instanceof Boolean
> logger.println("** error is " + error)
>
> // New items were imported into the munki repo
> def NewItemsImported = (log ==~/.*new items were imported into Munki.*/)
> assert NewItemsImported instanceof Boolean
> logger.println("** NewItemsImported is " + NewItemsImported)
>
> // New items were downloaded to the AutoPkg Cache directory
> def NewItemsDownloaded = (log ==~/.*new items were downloaded.*/)
> assert NewItemsDownloaded instanceof Boolean
> logger.println("** NewItemsDownloaded is " + NewItemsDownloaded)
>
> /* The below code is for AutoPkg FAQ #1:
>  *
>  * Every time I run a recipe it downloads something even if it didn't 
> change. Why?
>  *  https://github.com/autopkg/autopkg/wiki/FAQ
>  *
>  * the IS_TROUBLEMAKER is a per-job environmental variable set using the 
>  * Jenkins EnvInject Plugin -- 
> https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin
>  *
>  * below is the 

Re: Getting error 'FATAL: Failed to recompute children' when trying to build indexes on a multi branch pipeline.

2017-09-26 Thread Mark Waite
The default timeout for git operations in the Jenkins git plugin is 10
minutes.  You're reaching that timeout.

Some possible reasons for that timeout:

   - Authentication is blocked in command line git, waiting for a username
   and/or password to be entered.  Be sure that you've assigned credentials to
   the job and are using those credentials
   - Repository is so large that it needs more than 10 minutes to clone.
   Increase the timeout from the "Advanced clone options", or reduce the clone
   time by creating a reference repository on the agent, and include the path
   to that reference repository in the "Advanced clone options" of the job
   definition
   - Bandwidth to git repository is limited enough that it needs more than
   10 minutes to clone.  Apply same techniques as "large repository" above

Mark Waite

On Tue, Sep 26, 2017 at 6:10 AM isha chishty  wrote:

> HI,
>
> I am new to Jenkins and getting error when trying to build a pipeline
> using GIT.
>
> first it says no jenkinsfile but surprisingly there is a jenkins file in
> root folder.
> On trying to build indexes manually it gives me following error.
>
>
> 
>
> *ERROR*: [Tue Sep 26 15:41:59 IST 2017] Could not update folder level actions 
> from source 04a321cc-def7-4f4e-8e2b-05cceb173ddb
> hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress 
> origin +refs/heads/*:refs/remotes/origin/*" returned status code -1:
> stdout:
> stderr:
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1924)
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1643)
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:352)
>   at 
> jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:344)
>   at 
> jenkins.plugins.git.AbstractGitSCMSource.retrieveActions(AbstractGitSCMSource.java:581)
>   at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:746)
>   at 
> jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:591)
>   at 
> com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
>   at 
> com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
>   at 
> jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:978)
>   at hudson.model.ResourceController.execute(ResourceController.java:97)
>   at hudson.model.Executor.run(Executor.java:419)
> [Tue Sep 26 15:41:59 IST 2017] Finished branch indexing. Indexing took 10 
> min*FATAL*: Failed to recompute children
>
>
> 
>
>
> Can somebody help on this.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/4015788c-44e4-4dcd-a191-c1e1ea79ffec%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/CAO49JtFM-MobBZX%2BWP3buS-rr0cyPf-YSu8TSYUuprGBJB3cUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Bug on declarative checkout on Git / Windows path?

2017-09-26 Thread Mark Waite
I suspect that you need to exclude the default checkout which is performed
by declarative pipeline.  Refer to "skipDefaultCheckout" in the pipeline
syntax reference https://jenkins.io/doc/book/pipeline/syntax/

On Tue, Sep 26, 2017 at 8:06 AM Thiago Carvalho Davila <
thiago.dav...@serpro.gov.br> wrote:

> Hello,
>
> I have a linux jenkins-master 2.60.3 that is downloading my jenkinsfile in
> a git project. I've used the snippet generator to make a checkout set from
> git as follows:
>
> pipeline {
> agent {
> label 'windows_slave'
> }
> stages {
> stage('Checkout') {
> steps {
> checkout([$class: 'GitSCM', branches: [[name:
> '*/master']],
> doGenerateSubmoduleConfigurations: false, extensions:
> [], gitTool: '*Git installations Windows*', submoduleCfg: [],
> userRemoteConfigs: [[credentialsId:
> '8e695c3b-7ab1-44d7-badd-51538156', url: 'git@mygit.domain
> :mygroup/MyProject.git']]])
> }
> }
> }
>
> Important note: my *Git installations Windows* is configured and
> installed on E:\opt\Git\cmd\git.exe
>
> Then I get the following output:
>
> [Pipeline] nodeRunning on windows_slave in 
> E:\Jenkins2\Slaves\workspace\MyProject[Pipeline] {[Pipeline] stage[Pipeline] 
> { (Declarative: Checkout SCM)[Pipeline] checkoutCloning the remote Git 
> repository
> Cloning repository git@git.serpro:sinac-34835/Sinac.Debitos.Comum.git
>  > */usr/bin/git init* E:\Jenkins2\Slaves\workspace\MyProject # timeout=10
> ERROR: Error cloning remote repo 'origin'
> hudson.plugins.git.GitException: Could not init 
> E:\Jenkins2\Slaves\workspace\MyProject
>
> The jenkins checkout step is tring to use git in a different path than 
> configured *usr/bin/git init.*
>
> Does anyone got this problem?
>
> Thanks,
>
> Thiago
> -
>
>
> "Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO),
> empresa pública federal regida pelo disposto na Lei Federal nº 5.615, é
> enviada exclusivamente a seu destinatário e pode conter informações
> confidenciais, protegidas por sigilo profissional. Sua utilização
> desautorizada é ilegal e sujeita o infrator às penas da lei. Se você a
> recebeu indevidamente, queira, por gentileza, reenviá-la ao emitente,
> esclarecendo o equívoco."
>
> "This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a
> government company established under Brazilian law (5.615/70) -- is
> directed exclusively to its addressee and may contain confidential data,
> protected under professional secrecy rules. Its unauthorized use is illegal
> and may subject the transgressor to the law's penalties. If you're not the
> addressee, please send it back, elucidating the failure."
>
> --
> 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/352553596.1130413.1506434754289.JavaMail.zimbra%40serpro.gov.br
> 
> .
> 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/CAO49JtH%2BYRTSG5Uk9hnkh2k_-Xh1J-5GHzfM0HaV2sSN0dGX7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can i run master and slave on same machine

2017-09-26 Thread Mark Waite
On Tue, Sep 26, 2017 at 9:38 AM Huzz Sto  wrote:

> can Jenkins master and slave run on different network. or they both have
> to be on the same network.
>
>
So long as master and agent can communicate, they can run on separate
networks.

Mark Waite


> On Tuesday, June 26, 2012 at 10:53:33 PM UTC-4, Varghese Renny wrote:
>>
>>
>> I have a doubt regarding, if multipe jobs are there ,is it better to
>> distribute build on slave or
>> do it on master itself?
>> if i can do master and slave? how can i implement this?
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/96487999-807f-46da-b466-9a0a762166ff%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/CAO49JtHrDhJOXH1Jr1PDF3qSk%2B0L%3DZw_Xp%3DK88r2-ZnQKb8xOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can i run master and slave on same machine

2017-09-26 Thread Huzz Sto
can Jenkins master and slave run on different network. or they both have to 
be on the same network.

On Tuesday, June 26, 2012 at 10:53:33 PM UTC-4, Varghese Renny wrote:
>
>
> I have a doubt regarding, if multipe jobs are there ,is it better to 
> distribute build on slave or
> do it on master itself?
> if i can do master and slave? how can i implement this?
>

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


Extended Choice Parameter: can it be reactive?

2017-09-26 Thread Patricio Iglesias


im trying to render dinamically some parameters in jenkins. I have achieved 
it with extended parameter plugin using extended choice parameter.

My problem now is that the control had to be reactive to another 
parameter.(something similar as Active Choice Reactive Parameter, where you 
specify what other parameter force it refresh and you can use the other 
parameter value in your groovy script).

Does anybody know how can you make extended choice parameter to be reactive 
and change behabiour depending on other parameters value?

-- 
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/571c70ee-7f80-4a41-98f3-dfce618b5f4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Bug on declarative checkout on Git / Windows path?

2017-09-26 Thread Thiago Carvalho Davila
Hello, 

I have a linux jenkins-master 2.60.3 that is downloading my jenkinsfile in a 
git project. I've used the snippet generator to make a checkout set from git as 
follows: 

pipeline { 
agent { 
label 'windows_slave' 
} 
stages { 
stage('Checkout') { 
steps { 
checkout([$class: 'GitSCM', branches: [[name: '*/master']], 
doGenerateSubmoduleConfigurations: false, extensions: [], gitTool: ' Git 
installations Windows ', submoduleCfg: [], 
userRemoteConfigs: [[credentialsId: '8e695c3b-7ab1-44d7-badd-51538156', 
url: 'git@mygit.domain:mygroup/MyProject.git']]]) 
} 
} 
} 

Important note: my Git installations Windows is configured and installed on 
E:\opt\Git\cmd\git.exe 

Then I get the following output: 
[Pipeline] node Running on windows_slave in 
E:\Jenkins2\Slaves\workspace\MyProject [Pipeline] { [Pipeline] stage [Pipeline] 
{ (Declarative: Checkout SCM) [Pipeline] checkout Cloning the remote Git 
repository
Cloning repository git@git.serpro:sinac-34835/Sinac.Debitos.Comum.git
 > /usr/bin/git init E:\Jenkins2\Slaves\workspace\MyProject # timeout=10
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Could not init 
E:\Jenkins2\Slaves\workspace\MyProject 

The jenkins checkout step is tring to use git in a different path than 
configured usr/bin/git init. 
Does anyone got this problem? 

Thanks, 

Thiago 

-


"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa 
pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada 
exclusivamente a seu destinatário e pode conter informações confidenciais, 
protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e 
sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, 
por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."

"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a 
government company established under Brazilian law (5.615/70) -- is directed 
exclusively to its addressee and may contain confidential data, protected under 
professional secrecy rules. Its unauthorized use is illegal and may subject the 
transgressor to the law's penalties. If you're not the addressee, please send 
it back, elucidating the failure."

-- 
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/352553596.1130413.1506434754289.JavaMail.zimbra%40serpro.gov.br.
For more options, visit https://groups.google.com/d/optout.


Re: Failing builds

2017-09-26 Thread Simon Richter
On 25.09.2017 23:35, Alex B wrote:

> Did you find a solution for this? Some of my builds have this while
> others don't. I suspect this to be a timing issue but I haven't found a
> solution.

There are a few common causes for this:

 - Windows Update rebooting the machine
 - NAT gateway resetting the connection
 - Agent swapping and responding too slow to a ping
 - Agent transferring artifacts in another job and responding too slow
to a ping.

There is no easy way to avoid these, and fixing it would require changes
in the Jenkins core.

   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/2efe5666-7b04-d7d1-a25e-f79335e5d3a2%40hogyros.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Multiple slack calls in a freestyle build

2017-09-26 Thread Richard Ginga
in the post build section I have a slack message for failure and back to
normal with the Authors appended.

I also have a conditional block where I send a slack message if the
triggered upload job fails (reported as unstable) with a custom message.

when I change either slack step, I only get the "first" one in the
post-build sequence. there are 2 steps in the config.xml file but they are
the same.

I may be able to manually edit the config file, but this is wrong.

Any advice?

-- 
Dick Ginga
Build Engineer
rgi...@disruptorbeam.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/CAL3PpaXTR69ODoKhjwR7KADptuKiVjQe6t%2BMNy%3DqTL46HonWAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Getting error 'FATAL: Failed to recompute children' when trying to build indexes on a multi branch pipeline.

2017-09-26 Thread isha chishty
HI, 

I am new to Jenkins and getting error when trying to build a pipeline using 
GIT.

first it says no jenkinsfile but surprisingly there is a jenkins file in 
root folder. 
On trying to build indexes manually it gives me following error.



*ERROR*: [Tue Sep 26 15:41:59 IST 2017] Could not update folder level actions 
from source 04a321cc-def7-4f4e-8e2b-05cceb173ddb
hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress 
origin +refs/heads/*:refs/remotes/origin/*" returned status code -1:
stdout: 
stderr: 
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1924)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1643)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:352)
at 
jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:344)
at 
jenkins.plugins.git.AbstractGitSCMSource.retrieveActions(AbstractGitSCMSource.java:581)
at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:746)
at 
jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:591)
at 
com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
at 
com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
at 
jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:978)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:419)
[Tue Sep 26 15:41:59 IST 2017] Finished branch indexing. Indexing took 10 
min*FATAL*: Failed to recompute children 




Can somebody help on this.



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


Cluster not found: amazon-ecs-plugin bug or misconfiguration?

2017-09-26 Thread Costin Caraivan
Hello,

I'm trying to set up the amazon-ecs-plugin to connect to a ECS cluster.
However, after configuring both the cluster itself and the plugin, both
apparently correctly, I'm getting an error I don't really understand:

INFO: Started provisioning ECS Slave docker from aws-ecs with 1 executors.
Remaining excess workload: 0
Sep 26, 2017 12:32:48 PM hudson.slaves.NodeProvisioner$2 run
WARNING: Unexpected exception encountered while provisioning agent ECS
Slave docker
com.amazonaws.services.ecs.model.ClusterNotFoundException: Cluster not
found. (Service: AmazonECS; Status Code: 400; Error Code:
ClusterNotFoundException; Request ID: f7bc84e2-a2a5-11e7-801f-1bbc4489a697)

The error makes no sense as the plugin does autodetect the cluster and
fills it in the dropdown in the Manage Jenkins interface (so there's no
manual input error possible...).

Does anyone have any idea what I should check/debug/investigate?

I can provide more info about the setup, just tell me what would help.


I was thinking about a workaround of using a "regular" Docker plugin, but
I'm not super confident about it after seeing this:

https://github.com/jenkinsci/docker-plugin/issues/235#issuecomment-147975445

Is anyone using one of the Docker plugins for agents in production, and if
so, are you happy with it/them? When I say production, I mean something
preferably with tens if not hundreds of jobs configured :)


Kind regards,
_
Costin Caraivan

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


Re: pkg.jenkins.io HTTPS certificate expired

2017-09-26 Thread Daniel Beck

> On 26. Sep 2017, at 12:49, Florent  wrote:
> 
> Certificate of https://pkg.jenkins.io expired on September 26, 2017, 12:18 PM.

Fixed now.

-- 
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/21628CC3-5F2B-45ED-ADA8-EEA2D8142B56%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


pkg.jenkins.io HTTPS certificate expired

2017-09-26 Thread Florent


Hi,


Certificate of https://pkg.jenkins.io expired on September 26, 2017, 12:18 
PM.


https://issues.jenkins-ci.org/browse/WEBSITE-407


-- 
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/f377f31e-b5ea-4d44-9add-178da0e0f2c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.