Skip to content

Instantly share code, notes, and snippets.

@bhatikuldeep
Last active March 10, 2021 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhatikuldeep/f37a76f6420497040814320412adb663 to your computer and use it in GitHub Desktop.
Save bhatikuldeep/f37a76f6420497040814320412adb663 to your computer and use it in GitHub Desktop.
mulesoft cloudhub - deployment - bitbucket pipeline configuration
# Template maven-build
image: atlassian/default-image:2
pipelines:
default:
- step:
name: Git Security Scan
caches:
- maven
script:
- pipe: atlassian/git-secrets-scan:0.5.1
- step:
name: Validate & Compile
caches:
- maven
script:
- mvn -B clean -DskipTests compile
- step:
name: Test
caches:
- maven
script:
- mvn -B clean test
- step:
name: Deploy to Dev CloudHub
caches:
- maven
deployment: Sandbox
#trigger: manual
script:
- mvn -B clean -DskipTests deploy -DmuleDeploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment