Jenkins scripted pipeline or declarative pipeline

2017-04-18 Thread Nayana Adassuriya
Hi, I'm trying to convert my old style project base workflow to pipeline on Jenkins. While going trough https://jenkins.io/doc/book/pipeline/ I found there are two different syntax named scripted and declarative. As the Jenkins web declarative syntax release recently (end of 2016). Though,

Re: disk-usage-plugin seems to be abandoned

2017-04-18 Thread Oleg Nenashev
Created the PR with upload permissions: https://github.com/jenkins-infra/repository-permissions-updater/pull/283 среда, 19 апреля 2017 г., 0:42:45 UTC+2 пользователь FredG написал: > > Hi, > > Unfortunately Lucie did not seem to have time to do the release. > > @Oleg: Could you spin a release? >

Re: disk-usage-plugin seems to be abandoned

2017-04-18 Thread 'FredG' via Jenkins Developers
Hi, Unfortunately Lucie did not seem to have time to do the release. @Oleg: Could you spin a release? (If I don't need any special permissions, I can also do it myself if that's OK). Regards, Fred On Tuesday, February 21, 2017 at 11:34:34 PM UTC+1, FredG wrote: > > Hi Oleg, > > Unfortunately

Re: Regarding the recent waves of mailing list spam

2017-04-18 Thread Joseph P
I would also be willing. Timezone CEST/CET :) Den mandag den 17. april 2017 kl. 17.53.45 UTC+2 skrev R Tyler Croy: > > > As you may have noticed, there has been an uptick in spam getting through > to > the Google Groups run by the Jenkins project. On some lists, these have > resulted in Google

Re: Problem accessing com.cloudbees.jenkins.plugins.amazonecr.AmazonECSRegistryCredential from groovy

2017-04-18 Thread dene14
I was trying to define it as follows: def credential = new AmazonECSRegistryCredential(CredentialsScope.GLOBAL,'aws-jenkins-prod',Regions.EU_WEST_1,'Description',(ItemGroup)jenkins.model.Jenkins.getInstance()) still no luck. With your suggestion I'm getting this: groovy.lang.MissingMethodExcep

Re: Problem accessing com.cloudbees.jenkins.plugins.amazonecr.AmazonECSRegistryCredential from groovy

2017-04-18 Thread 'Björn Pedersen' via Jenkins Developers
Hi, check the constructor signatures here: https://github.com/jenkinsci/amazon-ecr-plugin/blob/master/src/main/java/com/cloudbees/jenkins/plugins/amazonecr/AmazonECSRegistryCredential.java#L56 The last arg should be an itemGroup, not a jenkins instance I guess. Try getItemGroup() instead of ge

Problem accessing com.cloudbees.jenkins.plugins.amazonecr.AmazonECSRegistryCredential from groovy

2017-04-18 Thread dene14
Hi there! What I'm trying to do is to get AWS ECR token in groovy directly, I've been answered how to do that in https://issues.jenkins-ci.org/browse/JENKINS-41646 However I'm hitting an issue that responder doesn't have. What I've tried so far is to upgrade jenkins from 2.46 to 2.55 as well as