Re: Support for my jenkins.io account

2021-03-03 Thread Andrea Matera
No sorry, still doesn't work with my email and password you provided me.
*Andrea Matera*


Il giorno gio 4 mar 2021 alle ore 00:42 Mark Waite <
mark.earl.wa...@gmail.com> ha scritto:

> I confirmed that the reset information I sent you privately did not work
> when I attempted to use it a few minutes ago.  Sorry about that.  No idea
> why it did not work.
>
> I've performed the reset again and have confirmed that the information I
> sent you is now correct.  I was able to login to issues.jenkins.io as you
> after I fixed my earlier mistake.
>
> Let me know whether it works for you now.
>
> On Tue, Mar 2, 2021 at 11:12 PM Andrea Matera 
> wrote:
>
>> "Sorry, your username and password are incorrect - please try again." :(
>>
>> *Andrea Matera*
>>
>>
>> Il giorno mer 3 mar 2021 alle ore 04:11 Mark Waite <
>> mark.earl.wa...@gmail.com> ha scritto:
>>
>>> I replied to you privately with more information.  Let me know if that
>>> does not resolve the issue.
>>>
>>> On Mon, Mar 1, 2021 at 12:56 AM Andrea Matera 
>>> wrote:
>>>
 I have not received any email. Can you please verify?

 Thanks,
 *Andrea Matera*


 Il giorno sab 27 feb 2021 alle ore 06:04 Mark Waite <
 mark.earl.wa...@gmail.com> ha scritto:

> I've asked the accounts app to send you a password reset.  If you have
> not received it within 18 hours, please let me know and we'll investigate
> further.
>
> Thanks
> Mark Waite
>
> On Fri, Feb 26, 2021 at 8:42 AM Andrea Matera 
> wrote:
>
>> Hi all,
>> can someone help me to recover my account "andrea.t...@gmail.com" in
>> order to login to https://issues.jenkins.io/ and contribute to it?
>>
>> Thanks a lot,
>> Andrea
>>
>> --
>> 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/35e20a8d-9af0-48b6-b709-244c5588b41cn%40googlegroups.com
>> 
>> .
>>
> --
> 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/l_1mUmvLw64/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/CAO49JtGcwZgYiLCuemGC1QJ70RBcr4cWGtBYH1VTh4tYZk7CZg%40mail.gmail.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/CADwFNsJ22S_mSh2oS8cwqXJK-CeWhun8H_M%2BdY1WC49zFnDc%3Dg%40mail.gmail.com
 
 .

>>> --
>>> 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/l_1mUmvLw64/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/CAO49JtHX1hSFRPG9qyXWKE2%3D__N-ZGjOX3z3y51NwGj-yjf2Vw%40mail.gmail.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/CADwFNsLe-yzwkw4VDAWb7s_iUwHfz3bSBQAzghUso0U4E7w_Dw%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because 

Re: What is it.badgeActions

2021-03-03 Thread Mark Waite


On Wednesday, March 3, 2021 at 10:22:08 PM UTC-7 Matt  wrote:

>
> Hi All
>
> Im new to jenkins and we have a Groovy script that get successful build 
> information. Now, we have this bit that iterates over it.badgeActions. 
> Suddenly Im seeing that badgeAction empty. When I check some old builds, it 
> has an array of 
>
> [hudson.plugins.git.GitTagAction@455c11af]
>
>
Those were probably builds that were run before you installed git plugin 
4.5.0 .  
The git tag action was removed by default from Jenkins jobs created with 
git plugin 4.5.0 and later.  Refer to the git plugin documentation for the 
explanation why the git tag action is not useful 
 in almost all cases 
with Jenkins.

As a quick test, you can enable the "Add git tag actions to jobs" checkbox 
in the Jenkins global configuration and run your job again.  That should 
assign the GitTagAction to the new build.

I believe "it" in that groovy loop is used to represent each of the builds 
in the job, one at a time, while the each loop is iterating over each of 
the builds.

That looks like the code used 
in 
https://stackoverflow.com/questions/27361480/how-can-i-list-successful-jenkins-builds-using-a-groovy-script-in-a-deploy-job
 
.  You may want to try the simplification that is offered in comment 3 
where it suggests

job.builds.findAll{ it.result.toString()=='SUCCESS' && it.badgeActions 
}.collect{ it.displayName[1..-1] }

Mark Waite
 

> If I remove the it.badgeActions.each  loop, I see the build numbers. 
> Firstly, what is is the "it" in def build = it and what the hell is a 
> badgeAction and should I be concerned its empty?
>
> Thanks for any help
>
> def job = 
> jenkins.model.Jenkins.instance.getItemByFullName("${imageTag}/release%2F2.177.0")
> job.builds.each {
> def build = it
>
>   println "${it.getResult()}"
> if (it.getResult().toString().equals("SUCCESS")) {
>   println "${it.badgeActions}"
> it.badgeActions.each {
>   println "${build.displayName}"
> builds.add(build.displayName[0..-1])
> }
> 
>   }
> }
>
> builds.unique();

-- 
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/606b81cd-76c1-4661-b8df-d538ba195809n%40googlegroups.com.


What is it.badgeActions

2021-03-03 Thread Matt Graham

Hi All

Im new to jenkins and we have a Groovy script that get successful build 
information. Now, we have this bit that iterates over it.badgeActions. 
Suddenly Im seeing that badgeAction empty. When I check some old builds, it 
has an array of 

[hudson.plugins.git.GitTagAction@455c11af]

If I remove the it.badgeActions.each  loop, I see the build numbers. 
Firstly, what is is the "it" in def build = it and what the hell is a 
badgeAction and should I be concerned its empty?

Thanks for any help

def job = 
jenkins.model.Jenkins.instance.getItemByFullName("${imageTag}/release%2F2.177.0")
job.builds.each {
def build = it

  println "${it.getResult()}"
if (it.getResult().toString().equals("SUCCESS")) {
  println "${it.badgeActions}"
it.badgeActions.each {
  println "${build.displayName}"
builds.add(build.displayName[0..-1])
}

  }
}

builds.unique();

-- 
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/31744ee5-b683-4c9f-b45f-b617176edd79n%40googlegroups.com.


Re: Support for my jenkins.io account

2021-03-03 Thread Mark Waite
I confirmed that the reset information I sent you privately did not work
when I attempted to use it a few minutes ago.  Sorry about that.  No idea
why it did not work.

I've performed the reset again and have confirmed that the information I
sent you is now correct.  I was able to login to issues.jenkins.io as you
after I fixed my earlier mistake.

Let me know whether it works for you now.

On Tue, Mar 2, 2021 at 11:12 PM Andrea Matera  wrote:

> "Sorry, your username and password are incorrect - please try again." :(
>
> *Andrea Matera*
>
>
> Il giorno mer 3 mar 2021 alle ore 04:11 Mark Waite <
> mark.earl.wa...@gmail.com> ha scritto:
>
>> I replied to you privately with more information.  Let me know if that
>> does not resolve the issue.
>>
>> On Mon, Mar 1, 2021 at 12:56 AM Andrea Matera 
>> wrote:
>>
>>> I have not received any email. Can you please verify?
>>>
>>> Thanks,
>>> *Andrea Matera*
>>>
>>>
>>> Il giorno sab 27 feb 2021 alle ore 06:04 Mark Waite <
>>> mark.earl.wa...@gmail.com> ha scritto:
>>>
 I've asked the accounts app to send you a password reset.  If you have
 not received it within 18 hours, please let me know and we'll investigate
 further.

 Thanks
 Mark Waite

 On Fri, Feb 26, 2021 at 8:42 AM Andrea Matera 
 wrote:

> Hi all,
> can someone help me to recover my account "andrea.t...@gmail.com" in
> order to login to https://issues.jenkins.io/ and contribute to it?
>
> Thanks a lot,
> Andrea
>
> --
> 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/35e20a8d-9af0-48b6-b709-244c5588b41cn%40googlegroups.com
> 
> .
>
 --
 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/l_1mUmvLw64/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/CAO49JtGcwZgYiLCuemGC1QJ70RBcr4cWGtBYH1VTh4tYZk7CZg%40mail.gmail.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/CADwFNsJ22S_mSh2oS8cwqXJK-CeWhun8H_M%2BdY1WC49zFnDc%3Dg%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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/l_1mUmvLw64/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/CAO49JtHX1hSFRPG9qyXWKE2%3D__N-ZGjOX3z3y51NwGj-yjf2Vw%40mail.gmail.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/CADwFNsLe-yzwkw4VDAWb7s_iUwHfz3bSBQAzghUso0U4E7w_Dw%40mail.gmail.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 

Re: Non-lightweight git checkout of Jenkinsfile fails if node parameter is provided

2021-03-03 Thread 'Martin Schmude' via Jenkins Users
Anybody able to answer my question?

Martin Schmude schrieb am Mittwoch, 24. Februar 2021 um 17:25:10 UTC+1:

> Hello all,
> I am experiencing the following issue.
> I have a pipeline job (not multibranch). In the job configuration the 
> Jenkinsfile is checked out from git. The checkout is not lightweight (there 
> is a tick "Lightweight checkout", which is not set).
> A node job parameter is configured.
> When starting the job the git checkout of the Jenkinsfile fails with
>
> Caused by: hudson.plugins.git.GitException: Command "git fetch --tags 
> --progress -- https://gitlab.XXX.com/project.git 
>  
> +refs/heads/*:refs/remotes/origin/*" returned status code 128:
> ...
> fatal: could not read Username for 'https://gitlab.XXX.com 
> ': terminal prompts disabled
>
> Note that the Jenkinsfile has not started to be executed at that moment, 
> since Jenkins failed to check it out.
> The error does not occur if
>
>- if the selected node is master, or
>- if the "Lightweight checkout" is selected.
>
> It does also not occur if no node parameter is configured at all.
>
> Is this expected behaviour or an bug? Should I file a ticket in 
> https://issues.jenkins.io? I haven't found a ticket there that exactly 
> matches my issue.
> This 
> https://groups.google.com/g/jenkinsci-users/c/hg4OUmlS9T8/m/Lg8UYopCBAAJ
> looks related. But the root cause there was a file permissions issue, 
> which is surely not the case in my setup.
>
> My Jenkins instance is 2.222.4, running in a container derived from the 
> Jenkins base image jenkins/jenkins:2.222.4.
>

-- 
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/d214d81e-bb30-44d2-8fc2-58bf6852a5bdn%40googlegroups.com.