DevOps : CI/CD Pipeline For Deploying APIs - Part VIII | Azure DevOps | MuleSoft |GitHub

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

ความคิดเห็น • 18

  • @mustafakukshi4691
    @mustafakukshi4691 4 ปีที่แล้ว +2

    As again what i said, you are "King of Mule", the best part I like is your way of explaining concepts in a very easy way and to the point, keep posting like this video for us , you are always my idol. Thanks, Jacky.

  • @rajchaudhary043
    @rajchaudhary043 4 ปีที่แล้ว +2

    Another great video Jitendra. Could you please do a tutorial on integrating Azure AD with Mule please.

  • @Samshubbi
    @Samshubbi ปีที่แล้ว

    How do we handle multiple environments? Do we configure the environment variables in the variable group?

  • @dominikkajba1065
    @dominikkajba1065 2 ปีที่แล้ว +1

    Thanks a lot Sir!

  • @teawavesurfer
    @teawavesurfer 2 ปีที่แล้ว

    Hi! Thank you for your great video! Can you share your pom file which you use?
    I have issue with type, when I write mule-application I get issue with "The packaging plugin for this project did not assign a main file to the project but it has attachments. Change packaging to 'pom'". When I change to package type "pom", I don't have a jar file in artifact

  • @anildasari3157
    @anildasari3157 4 ปีที่แล้ว

    I have followed same process, but in my Pipeline build running on very slow ....any idea?

  • @muletechnologyacademy-zero5625
    @muletechnologyacademy-zero5625  4 ปีที่แล้ว +1

    trigger:
    batch: true
    branches:
    include:
    - dev
    paths:
    exclude:
    - azure-pipelines.yml
    - azure-pipelines-TagnRelease.yml
    - azure-pipelines-deploy.yml
    - azure-pipelines-deploy-prod.yml
    - pom.xml
    pool:
    vmImage: 'ubuntu-latest'
    variables:
    - group: Azure-Variable-Group
    - name: MAVEN_CACHE_FOLDER
    value: $(Pipeline.Workspace)/.m2/repository
    - name: MAVEN_OPTS
    value: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
    steps:
    - task: CacheBeta@0
    inputs:
    key: $(Build.SourcesDirectory)/pom.xml
    path: $(MAVEN_CACHE_FOLDER)
    displayName: Cache Maven local repo
    - task: DownloadSecureFile@1
    name: settingsxml
    inputs:
    secureFile: 'settings.xml'
    - task: PowerShell@2
    inputs:
    targetType: 'inline'
    script: |
    New-Item -Type Directory -Force "${HOME}/.m2"
    Copy-Item -Force "$(settingsxml.secureFilePath)" "${HOME}/.m2/settings.xml"

    - task: Maven@3
    inputs:
    mavenPomFile: 'pom.xml'
    mavenOptions: '-Xmx3072m'
    jdkVersionOption: '1.8'
    jdkArchitectureOption: 'x64'
    mavenAuthenticateFeed: true
    publishJUnitResults: false
    javaHomeOption: 'JDKVersion'
    mavenVersionOption: 'Default'
    effectivePomSkip: true
    sonarQubeRunAnalysis: false
    goals: 'clean install package deploy $(MAVEN_OPTS) -DmuleDeploy -Dserver=$(server) -Denvironment=$(environment) -Dworker=$(worker) -DworkerType=$(workerType) -DmuleVersion=$(muleVersion) -DappName=$(appName)'

  • @samuel_ackn7132
    @samuel_ackn7132 3 ปีที่แล้ว +1

    It's a great presentation!! In the mean time can you please provide setting.xml file?

  • @nagappankarthick492
    @nagappankarthick492 4 ปีที่แล้ว +1

    Can u please share the azure-pipelines. Yml filr

    • @muletechnologyacademy-zero5625
      @muletechnologyacademy-zero5625  4 ปีที่แล้ว +2

      trigger:
      batch: true
      branches:
      include:
      - dev
      paths:
      exclude:
      - azure-pipelines.yml
      - azure-pipelines-TagnRelease.yml
      - azure-pipelines-deploy.yml
      - azure-pipelines-deploy-prod.yml
      - pom.xml
      pool:
      vmImage: 'ubuntu-latest'
      variables:
      - group: Azure-Variable-Group
      - name: MAVEN_CACHE_FOLDER
      value: $(Pipeline.Workspace)/.m2/repository
      - name: MAVEN_OPTS
      value: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
      steps:
      - task: CacheBeta@0
      inputs:
      key: $(Build.SourcesDirectory)/pom.xml
      path: $(MAVEN_CACHE_FOLDER)
      displayName: Cache Maven local repo
      - task: DownloadSecureFile@1
      name: settingsxml
      inputs:
      secureFile: 'settings.xml'
      - task: PowerShell@2
      inputs:
      targetType: 'inline'
      script: |
      New-Item -Type Directory -Force "${HOME}/.m2"
      Copy-Item -Force "$(settingsxml.secureFilePath)" "${HOME}/.m2/settings.xml"

      - task: Maven@3
      inputs:
      mavenPomFile: 'pom.xml'
      mavenOptions: '-Xmx3072m'
      jdkVersionOption: '1.8'
      jdkArchitectureOption: 'x64'
      mavenAuthenticateFeed: true
      publishJUnitResults: false
      javaHomeOption: 'JDKVersion'
      mavenVersionOption: 'Default'
      effectivePomSkip: true
      sonarQubeRunAnalysis: false
      goals: 'clean install package deploy $(MAVEN_OPTS) -DmuleDeploy -Dserver=$(server) -Denvironment=$(environment) -Dworker=$(worker) -DworkerType=$(workerType) -DmuleVersion=$(muleVersion) -DappName=$(appName)'

  • @vikaskryadav-tp7hj
    @vikaskryadav-tp7hj 4 ปีที่แล้ว

    Could you please also share the pom.xml file

  • @5NILADRI
    @5NILADRI 2 ปีที่แล้ว

    Sir, am following your video but while running the pipeline am getting the following error :
    [ERROR] Unknown lifecycle phase "Dmaven.repo.local=/home/vsts/work/1/.m2/repository". You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
    but in my yaml file goals mentioned as :
    goals: 'clean install package deploy $(MAVEN_OPTS) -DmuleDeploy -Dserver=$(server) Denvironment=$(environment) -Dworkers=$(workers) -DworkerType=$(workerType) -Dapp.runtime=$(app.runtime) -Dapp.name=$(app.name)'