6 ms·
does this support any other CI like jenkins apart from bitbucket-pipelines?
by notimewaste 9y ago
does this support any other CI like jenkins apart from bitbucket-pipelines?
- ClaireMaynie 9y agoToday, Deployments is only for users of Bitbucket Pipelines. However, there are plans to add API for third party CI tools like Jenkins and others.
- bcmoney 9y agoOne idea I've seen broadly recommended if you don't want to run your whole tech stack & all environments (Test & Prod environment servers/DBs) in the cloud, i.e. as a DockerHub container or something, is to instead use WebHooks or CURL requests to call localized Jenkins CI within your private/local network to then kick off final builds/deployments to real environments that way, after the initial build succeeds and possibly even a throwaway environment gets spun up and tests pass in the Cloud. That can be done using either the built-in Jenkins API https://wiki.jenkins.io/display/JENKINS/Remote+access+API https://wiki.jenkins.io/display/JENKINS/Remote+access+API or "Trigger Builds Remotely" Build Trigger option (which basically uses the same mechanism with your own Job-specific token/key). Nice feature is that BitBucket Pipelines supports "environment variables" to enable securely storing Jenkins API keys or tokens that let you securely tunnel through corporate FW rules and the like: https://confluence.atlassian.com/bitbucket/environment-variables-in-bitbucket-pipelines-794502608.html https://confluence.atlassian.com/bitbucket/environment-varia...