# Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml trigger: batch: true branches: include: - releases/* tags: include: - v1.* jobs: - job: mfDecom pool: vmImage: 'ubuntu-latest' displayName: Create Archimate files steps: - bash: | set -x echo `pwd` sudo apt-get install -y dbus-x11 export mfDecom=$PWD echo "setup environment" chmod -R a+x scripts rm -fr Archi .archi4 cd archimatetool tar -xf Archi-Linux64-4.9.3.tgz 2>/dev/null mv Archi .. cp -r Archi.ini dropins ../Archi/ cp custom_defaults.prefs .. cd .. mkdir -p ".archi4/jArchi" "$target/.archi4/jArchi/lib" cp -r ./jArchi/ ".archi4/jArchi/" cp -r ./jArchi/lib/ ".archi4/jArchi/" chmod a+x Archi/Archi displayName: 'Setting up the Environment' - bash: | echo "Executing script" scripts/test displayName: 'Executing Archi script'