MuleSoft CI/CD Jenkins + GitHub - Deploying Mule Application in Cloudhub using Jenkins | Mule 4

Поділитися
Вставка
  • Опубліковано 12 жов 2024
  • Before Getting Started.
    Make sure you have installed Jenkins on your local,
    Make sure your code is committed in GitHub and have a valid anypoint platform account with username and password values in hand.
    make sure you have installed Java,Git and maven as well
    To check the status of installation use below commands:
    Go to CMD
    type:
    for java status: java -version
    for maven status: mvn --version
    for github status : git --version
    Then actual process starts now:
    Goto home page. In my case- localhost:8080/
    Make sure your project is committed in git
    Make sure your project has pom config with cloud hub deployment as Shown in video

    Click on create Job --
    Give a name(prefer project name) and select Freestyle Project
    General Section :
    Add description
    Source Code Management:
    -If you see None , then please install GitHub Plugin . For that . Goto Home page of jenkins and click Manage Jenkins Which is on left side
    Click on Manage Plugin and search for GitHub in Availlable filter mode
    Once you see Git option. Enter details like Git repo link of your project
    -Add Git Credentials
    Build :
    select Execute windows batch command if you are using windows OS
    mvn clean deploy -DmuleDeploy -DskipTests -Dmule.version=4.3.0 -Danypoint.username=yourusername -Danypoint.password=yourpassword -Denv=Sandbox -Dappname=myfirst -Dbusiness=MuleSoft -DvCore=Micro -Dworkers=1 -DaltDeploymentRepository=myinternalrepo::default::file:///C:/snapshots
    ~-~~-~~~-~~-~
    Please watch: "Implement an API using Anypoint Code Builder #ACB @sravanlingam #mule4 #mulesoft #salesforce"
    • Implement an API using...
    ~-~~-~~~-~~-~

КОМЕНТАРІ • 33