Earlier this year we released our Servoy DevOps tools with support for GitHub actions. Since then, we’ve had several of you request support for Bitbucket Pipelines. Today we announce that is generally available for everyone to use.
To use the DevOps tools you’ll need a license key which you can get at http://servoycomponents.com/devops and each purchase comes with some free support hours from us to help get your project up and running.
i had time to tinker and test your bitbucket pipeline this week.
What can i say, it works perfectly! Thanks alot for this
I just had to edit one line in the bitbucket-pipelines.yml
the ```
pipe: docker://itechpros/servoy-war-builder:latest with
:1.0.11
Switched it to ```
:latest
``` and it just works.
Plus i edited the yml file some more that only specific branches gets build, so that it wont run on every commit we are doing.
Have a great weekend and looking forward to test out the auto-deploy feature when it releases.
-Vik
Glad you got it working in your BitBucket environment!
Regarding the Docker image versions, the reason why it was throwing an error for “0.1.11” and not for “latest” is because we have a mapping in the code for available Servoy versions (to know where to download it from), and Servoy version 2023.09.1.3903 wasn’t in that mapping, so it threw an error. I’ve added that version to the available versions for Docker image “0.2.0”. You can find documentation for that in our KnowledgeBase article on the WAR exporter: https://support.servoycomponents.com/po … y_Versions
We try to keep people off of “latest” just in case we introduce an error that isn’t caught by our plethora of unit tests. If you use the tagged version, you won’t have to worry about bugged versions going forward. Just a recommendation.
Also in that version, we added the POST_WAR_EXTRAS_FOLDER option, which allows you to add files into the WAR after the WAR is built (say, to inject Jasper Reports, for example), so if that fits your use case, please feel free to give it a go!