Last active
March 10, 2021 22:24
-
-
Save bhatikuldeep/f37a76f6420497040814320412adb663 to your computer and use it in GitHub Desktop.
mulesoft cloudhub - deployment - bitbucket pipeline configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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