Closed megel closed 4 years ago
Now, there is a "publish_artifact" option in the compile-step, which lets you disable the auto-artifact-creation:
- task: ALOpsAppCompiler@1
displayName: 'ALOps App Compiler'
inputs:
usedocker: False # Run task in Docker container. $(usedocker)
fixed_tag: # Allows recycling of docker containers. $(fixed_tag)
targetproject: ./app.json # Path of the project to compile. Must be a fully qualified path or relative to $(System.DefaultWorkingDirectory). $(targetproject)
nav_computername: localhost # Target Business Central Server running service tier. $(nav_computername)
nav_serverinstance: BC140 # Business Central Server Instance Name. $(nav_serverinstance)
nav_tenant: default # NAV Tenant used for symbols and compiling the app. $(nav_tenant)
nav_ports_dev: 7049 # NAV Port used for DEV-Service. $(nav_ports_dev)
bc_username: # BC Username for ServiceTier connection. $(bc_username)
bc_password: # BC User Password for ServiceTier connection. $(bc_password)
al_compiler_version: 0.12.15355 # AL Compiler version used for compiling. $(al_compiler_version)
al_analyzer: # AL Analyzer(s) used for compiling. (Example: CodeCop,UICop) $(al_analyzer)
nav_app_version: 1.0.*.0 # Template for versioning NAV-Apps. '*' is replaced by the current Build Number. $(nav_app_version)
vsix_download_path: # Alternative VSIX download url. $(vsix_download_path)
use_ssl: False # Use SSL for Business Central connections. $(use_ssl)
download_test_symbols: False # Download Test Symbols explicitly (without Test-Version reference in App.json). $(download_test_symbols)
usecompression: True # Compress Source-Folder for transfer to docker container. $(usecompression)
publish_artifact: True # Publish generated App Artifact to DevOps. $(publish_artifact)
failed_on_warnings: False # Fail task when any warning occurs. $(failed_on_warnings)
app_file_suffix: # Set a suffix tag on the compiled App filename. $(app_file_suffix)
updatebuildnumber: True # Update the Build number with the current version. $(updatebuildnumber)
I have an unexpected Artifact structure after CI (App + TestApp)
My CI pipeline contains at least these steps:
My Artifact contains:
When I uses this Artifact in CD I get:
Is there a better way to define, what's inside of the artifact?