Possible bug in EC2 plugin: check of SSH key may be too strict (confirmation needed before filing bug report)

2021-04-13 Thread Amedee Van Gasse
I have a question about https://github.com/jenkinsci/ec2-plugin. It may be a bug, but I'd like to have confirmation before I try to find out how to file a bug report. In https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/EC2Cloud.java there is the following

EC2 plugin: Connection strategy field fails on every change

2021-04-13 Thread Amedee Van Gasse
Whenever you change the value of the *Connection strategy field*, its validation fails with: *Could not find selected connection strategy*. It looks like the same error as described in https://issues.jenkins.io/browse/JENKINS-61161 and https://github.com/jenkinsci/ec2-plugin/pull/538, however

Re: Can I send cppcheck results through slack in a jenkins pipeline?

2021-04-13 Thread jesus fernandez
How can I access those token macros? (sorry if this is a silly question) I have never used them before, I tried to print the value with ```println ${ANALYSIS_ISSUES_COUNT, tool="cppcheck", type="NEW"}``` but I get an unexpected token error El viernes, 9 de abril de 2021 a las 14:03:39 UTC+2,

EC2 plugin: instances not starting

2021-04-13 Thread Amedee Van Gasse
$JENKINS_URL/configureClouds/ Add new cloud: *Amazon EC2* Name: *Amazon EC2 eu-central-1* Amazon EC2 Credentials: *AKIA...* Region: *eu-central-1* EC2 Key Pair's Private Key: *ubuntu* Test connection: *success* Advanced... Instance Cap: *3* No delay provisioning: *checked* Add AMI Description:

Git Plugin Checkout From Branch With Tag

2021-04-13 Thread eric....@gmail.com
OK, I think I've tried everything in this OLD conversation, but none of them work. I have no issues checking out from a branch using branch specifier. I've tried adding on to the specifier: ${my_branch} tags/${my_tag}. Have also added another branch and used this sort of thing (as well as

Re: Git Plugin Checkout From Branch With Tag

2021-04-13 Thread Eric Fetzer
Tried a bunch more stuff using Git Parameters: https://plugins.jenkins.io/git-parameter/ Again, I can checkout from the branch, but not using the tag. I set a git parameter for branch and then put it in the branch specifier and that worked. I added another for tag, then put that in the same

Re: Possible bug in EC2 plugin: check of SSH key may be too strict (confirmation needed before filing bug report)

2021-04-13 Thread Amedee Van Gasse
So I went ahead and submitted a pull request anyway: https://github.com/jenkinsci/ec2-plugin/pull/595 I'm sure it's not all up to standards but as it is my first contribution, I assume that the Jenkins community will be very happy to explain me where it can be improved. :-) On Tuesday, April

Re: how to access all classes and methods of a plugin in jenkins pipeline?

2021-04-13 Thread jesus fernandez
is there a javadoc for warnings-ng plugin? or just the github? I get a 404 when accesing the warnings-ng javadoc El lunes, 12 de abril de 2021 a las 14:28:33 UTC+2, ullrich...@gmail.com escribió: > In the source code in GitHub? > > You can also look for methods annotated with ExportedBean. > >

Re: Possible bug in EC2 plugin: check of SSH key may be too strict (confirmation needed before filing bug report)

2021-04-13 Thread Amedee Van Gasse
Oh wow, my PR is merged already, I did not expect that! On Tuesday, April 13, 2021 at 11:49:11 AM UTC+2 Amedee Van Gasse wrote: > So I went ahead and submitted a pull request anyway: > https://github.com/jenkinsci/ec2-plugin/pull/595 > > I'm sure it's not all up to standards but as it is my

Re: Possible bug in EC2 plugin: check of SSH key may be too strict (confirmation needed before filing bug report)

2021-04-13 Thread Thomas Matthijs
Currently AWS doesn't support ed25519 (at least last time i checked in 2020) People been asking for a few year, but maybe the plugin should accept them already, hopefully only a matter of time till aws does On Tue, 13 Apr 2021 at 11:49, Amedee Van Gasse wrote: > > So I went ahead and submitted a

Re: Git Plugin Checkout From Branch With Tag

2021-04-13 Thread Mark Waite
As far as I can tell, you didn't provide the context of the old conversation. The steps you've attempted and the context where you're trying those steps are not clear to me. The comments that follow are my guesses of things that might help you. If you're using Jenkins Pipeline and want to

Re: Git Plugin Checkout From Branch With Tag

2021-04-13 Thread eric.fetzer
I am SO sorry Mark, I confused this Jenkins thread with a totally unrelated support ticket.  I'm not using pipeline, just the git plug in in conjuction with git parameters.  What exactly do you mean by fetching the tags?Sent from my T-Mobile 4G LTE Device Original message From: