I am trying to do setup a CD pipeline using bitbucket pipelines and I am running into this issue of conflicting version error while trying to deploy.
The error message to be specific is this:
✖ Deployment failed. Environment "<current-env>" is running a different version "<current-running-version>".
I am using the built-in pipe to enable this:
this has me stumped shouldn't the new deployment be a different version so why beanstalk complaining about this?
Any help is appreciated.
@Varenya firstly the pipe is deploying to new version that is different from current version in environment.
Then after this environment is green the pipe is checking that it is exactly deployed with the version VERSION_LABEL mentioned above https://bitbucket.org/atlassian/aws-elasticbeanstalk-deploy/src/0545b1d8703a8ebe471cc3bf772cd56796f0e91f/pipe/pipe.sh#lines-141
And if they are not equal, this would mean that the current deployment is wrong because versions are not equal. So check the version deployed when you see your environment application was created and environment updated to that version https://bitbucket.org/atlassian/aws-elasticbeanstalk-deploy/src/0545b1d8703a8ebe471cc3bf772cd56796f0e91f/pipe/pipe.sh#lines-107
It may give you and us some more details about the failing, because it would be strange that environment is green but is running on different version from that the pipe just deployed
Looking forward to seeing your feedback
Hello Community! My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events