Questions tagged [gitlab-pipelines]
86 questions
0
votes
1 answer
gitlab-ci testing build failed
I am new to gitlab-ci and I am trying to test my build phase but it keeps failing before last step. here is the section
build:
stage: build
before_script:
- git config user.name "$GITLAB_USER_NAME"
- git config user.email…

shorif2000
- 2,582
- 12
- 65
- 137
0
votes
1 answer
How to include Jira field (test repository) from Gitlab pipeline YML file
Introduction
Currently, I have a working Gitlab pipeline which which fetches, downloads the .feature file from Cucumber framwork, executes the test and upload the results back to JIRA. The JIRA environment is equipped with XRAY plugin as well. This…

Nike
- 23
- 1
- 10
0
votes
0 answers
How to integrate Veracode SAST and DAST scan in Gitlab CI/CD pipeline
I am trying to integrate a SAST and DAST scan in a Gitlab CI/CD pipeline. Here is my gitlab-ci.yml so far:
Pipeline Scan Static Analysis:
image: veracode/pipeline-scan:latest
stage: Security_Scan
only:
- Feature Branch
script:
- zip myapp.zip…

user15650937
- 9
- 1
0
votes
1 answer
gitlabc-ci - Run a set of cleanup commands after uploading artifacts
I have a job which creates builds with "sudo" or root privileges. Hence, when directory cleanup occurs at the start of a job run in GitLab CI-CD pipeline, I get the error as "Permission denied" while cleaning repository items.
I tried implementing a…

Tech Girl
- 169
- 2
- 17
0
votes
2 answers
GitHub PR doesn't trigger GitLab pipeline
I'm trying to use GitHub to trigger on PR a GitLab pipeline.
Practically when a developer creates a PR in GitHub, his/her code get tested against a GitLab pipeline.
I'm trying to follow this user guide:…

Joe
- 516
- 2
- 12
- 30
0
votes
1 answer
Gitlab pipeline running a different docker image from subdirectory
I want to run performance tests in in gitlab pipeline as a separate stage. For that I want to raise a different image with docker container than what I use for all other stages.
So my project looks something like this:
project:
-src/
…

Kate Velasquez
- 55
- 1
- 7
0
votes
1 answer
How to retrieve Android SHA-1 in Gitlab CI
I am running Gitlab CI for android projects and requires the SHA-1 for connection with firebase database. My gitlab-runner executes in docker.
Using ./gradlew signingReport, I retrieve my SHA-1 from gitlab pipeline console, but a new key is…

Muhammad Sawaiz
- 63
- 1
- 4
-1
votes
1 answer
gitlab CI - pushing a tag fails
I am trying to push the tag in tagging stage of pipeline,
I have a logic to form a tag and push it back to repo. Now to push the tag, I've created project access token and have below in my gitlab yml. The output is with "set -x"
$ git push…

SD.
- 1,432
- 22
- 38
-1
votes
1 answer
GitLab-CI Pipeline Not Recognizing Azure CLI and Terraform in Same Job
I am a 2/3 week old newbie to GitLab and have run into a GitLab pipeline issue which has left me tearing my hair out, as despite hours of research online, including the official GitLab website, I simply can't seem to find a resolution.
Basically, my…

hitman126
- 699
- 1
- 12
- 43
-1
votes
1 answer
GitLab Pipeline is throwing an Azure CLI error
I'm running a very lightweight GitLab Pipeline which executes a number of Terraform configuration. However, I have hit an absolute roadblock as the pipeline throws an Azure CLI error (screenshot below) when it attempts to run a Terraform init and I…

hitman126
- 699
- 1
- 12
- 43
-1
votes
1 answer
Gitlab master branch pipeline is not running after merge
I have the following the .gitlab-ci.yml:
stages:
- build
workflow:
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
variables:
ENVIRONMENT_TYPE: 'prod'
- if: $CI_COMMIT_REF_PROTECTED == 'true' && $CI_COMMIT_REF_NAME…

Dom
- 580
- 4
- 26