I'm new to GitLab CI and trying to run my first pipeline on an Ubuntu 22.04 server, but I'm encountering an error. Here is the error description image
Here is my .gitlab-ci.yml
file:
stages:
- build
- deploy
- checklog
build:
stage: build
script:
- whoami
- pwd
- ls -l
tags:
- gitlab-server
I'm new to GitLab CI and trying to run my first pipeline on an Ubuntu 22.04 server, but I'm encountering an error. Here is the error description image
Here is my .gitlab-ci.yml
file:
stages:
- build
- deploy
- checklog
build:
stage: build
script:
- whoami
- pwd
- ls -l
tags:
- gitlab-server
This is my Gitlab CI that work perfectly fine, Like this you can ad more stages into it.
stages:
- jobs
my_job:
stage: jobs
script:
- echo "Add commands accordingly"
- echo "Manual job started"
- echo "Manual job finished"
only:
- main