Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    David Brown
    @davebrown1975
    Hi, I'm having an issue trying to deploy to region eu-west-2. Is this supported? (FATAL: java.lang.IllegalArgumentException: Cannot create enum from eu-west-2 value!)
    Aldrin Leal
    @aldrinleal
    can you paste the whole stacktrace?
    Axel
    @asquel
    Hi Here,
    I'm having issues with the credentials part of the plugin, I continue clicking on "add" but the select box is never upadted. When I go to the credentials page from page, there are all here ...
    Any idea ?
    Aldrin Leal
    @aldrinleal
    look into the jenkins logs, also your browser console tab (hit f12)
    Axel
    @asquel
    so if I had the credentials through the "credentials page" first, it's working
    if I do it directly in the popin it's not
    Aldrin Leal
    @aldrinleal
    its mostly credentials - its a bit tricky with js sometimes
    Axel
    @asquel
    Yeah I guess, a question though: is the S3 bucket / prefix required?
    no option to select an already uploaded artifact ?
    Aldrin Leal
    @aldrinleal
    No. Its part of the plugin functionality, and intentional
    Axel
    @asquel
    can I ask why ?
    Aldrin Leal
    @aldrinleal
    bc users abuse and use the same S3 URL
    Axel
    @asquel
    ok
    I see
    Aldrin Leal
    @aldrinleal
    in fact, they use the same Version Label, thus making AWS Elastic Beanstalk refuse to update bc the version is kept the same
    HOWEVER
    Hm... I could make something to verify if the file is there and abort the upload but keep the process.
    It shouldn't be hard to modify the source code to validate this. However, my time is a bit limited to implement this change, so I'll resort to my famous "Pull Requests Welcome" message :)
    Axel
    @asquel
    ^^
    Axel
    @asquel
    I have one more question: Versions reported: (current=null, underDeployment: artifact-jenkins-artifact-to-elasticbeanstalk-9). Should I move on? false => That means it's not possible to deploy on an environment without any versions ?
    Aldrin Leal
    @aldrinleal
    it probably (probably - didn't read the source) - there's no current environment active. as such, it will only upload and then abort the deployment.
    Yehonatan Levi
    @leviyehonatan
    i wanna understand docker deployment! :-)
    Mirko Di Serafino
    @mirko_ds_twitter
    Hi there, someone can help me with this issue ingenieux/awseb-deployment-plugin#70
    Harshana Nanayakkara
    @harshana5
    hello
    just wondering if there is a pipeline syntax doco for this plugin ?
    Jeffry Hesse
    @DarthHater
    Hello, I'm wondering the same thing as @harshana5
    I manage my Jenkins build with a Jenkinsfile, thus I want to access AWSEB in a scripted manner
    I've yet to find any docs around this
    I'm stoked y'all made this, just kinda wondering why there isn't any info around it
    I am guessing it doesn't exist, just want to confirm
    Jeffry Hesse
    @DarthHater
    Ok, so I went ahead and tried to implement the Step stuff, here's a PR for it: ingenieux/awseb-deployment-plugin#72
    I haven't been able to test it yet (no local Jenkins)
    But I figured I'd float it out there
    Quite a few things seemed broken/odd as I was working on it, so if you see some extra changes and you are like "Why did he do that" it's because the annotations weren't creating what I thought they would be, and I just wrote the code so mvn clean package -DskipTests would work
    thats how i do it in jenkinsfile
    less worried about pipeline syntax but it works fairly well
    Jeffry Hesse
    @DarthHater
    Thanks a ton for sharing that @myoung34
    That was likely what I was going to have to do unless something like that PR I floated makes it through
    It would be nice to rely on a plugin, I kinda hate writing shell scripts since stuff can get brittle over time
    bmadsen-assf
    @bmadsen-assf
    @myoung34 do you still have that mechanism? I'm trying to figure out how to use AWSEB in pipelines now and it looks like I can use @DarthHater 's fork/PR or your snippet that seems to have expired from that link.
    Jeffry Hesse
    @DarthHater
    Never heard much of anything back related to my PR
    Project seems kind of dead
    Ben Madsen
    @benmadsen
    Got it. Well, I got my stuff working by using your code in the pipeline. I couldn't figure out how to reference the "credentialId" field from the pipeline class notation (as I don't think it's possible).
    I'm not sure it's "dead", but @aldrinleal definitely seems to have been busy enough to have it in a deep sleep. I may be able to poke at the plugin once in a while, though, as I'm now invested in the plugin working well. :smirk:
    do we know if there's a way for Jenkins plugins to verify you're not trying to set the wrong variable from pipeline class notation or even from the DSL? I think I spent a good 10 hours banging my head before I realized "credentialId" wasn't "credentialsId"...
    Jeffry Hesse
    @DarthHater
    @benmadsen glad my stuff helped out, I didn't even test it, hah! Just wrote that and kinda put it over the fence to see if I could get any feedback before I did more (like write tests)
    Ben Madsen
    @benmadsen
    Heh…. yeah, it was the only thing I could get working for my scenario. Thanks a bunch!