Skip to content

Commit

Permalink
Add publish artifact task in azure pipeline doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Feb 6, 2022
1 parent 8e527b2 commit a1682bc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `megalinter/megalinter:beta` docker image

- Doc: update images with screen records gifs
- Doc
- Update images with screen records gifs
- Add publish artifact task in azure pipelines doc

- Linter versions upgrades
- [terraform-fmt](https://www.terraform.io/docs/cli/commands/fmt.html) from 1.1.4 to **1.1.5** on 2022-02-03
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ Use the following Azure Pipelines [YAML template](https://docs.microsoft.com/en-
You may activate [File.io reporter](https://megalinter.github.io/reporters/FileIoReporter/) or [E-mail reporter](https://megalinter.github.io/reporters/EmailReporter/) to access detailed logs and fixed source
```yaml
# Run MegaLinter to detect linting and security issues
- job: megalinter
displayName: MegaLinter
pool:
Expand All @@ -432,6 +433,14 @@ You may activate [File.io reporter](https://megalinter.github.io/reporters/FileI
docker pull megalinter/megalinter:v5
docker run -v $(System.DefaultWorkingDirectory):/tmp/lint -e GIT_AUTHORIZATION_BEARER=$(System.AccessToken) megalinter/megalinter:v5
displayName: 'MegaLinter analysis'
# Publish the Anchore report as an artifact to Azure Pipelines
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: MegaLinter Report'
condition: succeededOrFailed()
inputs:
PathtoPublish: '$(System.DefaultWorkingDirectory)/report/'
ArtifactName: MegaLinterReport
```
### Jenkins
Expand Down

0 comments on commit a1682bc

Please sign in to comment.