skip to Main Content

zero new lines while I do sonarscan on pull request using azure pipeline for my dot net code

- script: | git config --global http.https://dev.azure.com/<company>/.extraheader "AUTHORIZATION: bearer $(System.AccessToken)" # Now fetch the PR source branch using the token git fetch origin $(System.PullRequest.SourceBranch):$(System.PullRequest.SourceBranch) git checkout $(System.PullRequest.SourceBranch) displayName: 'Fetch and Checkout PR Source Branch' env: # This exposes the system…

VIEW QUESTION

Docker – Access array list item by name using jq

Consider the following json data, sourced from from Docker image nginx:1.25-bookworm: # docker pull nginx:1.25-bookworm # docker image inspect 81be38025439 | jq '.[].Config.Env' [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "NGINX_VERSION=1.25.3", "NJS_VERSION=0.8.2", "PKG_RELEASE=1~bookworm" ] # I would like to be able to access '1.25.3' from…

VIEW QUESTION

Create Selenoid Image With DockerFile

I need to publish a Dockerfile that contains https://aerokube.com/selenoid. This has to be a Dockerfile so I can publish it to our container registry which will be used as a service container as part of the pipeline/text execution https://learn.microsoft.com/en-us/azure/devops/pipelines/process/service-containers?view=azure-devops&tabs=yaml Here…

VIEW QUESTION
Back To Top
Search