You may use Role-based Authorization Strategy pluggin
- Global roles
- User
- Project roles
Git has a way to fire off custom scripts when certain important actions occur. There are two groups of these hooks: client-side and server-side. Client-side hooks are triggered by operations such as committing and merging, while server-side hooks run on network operations such as receiving pushed commits.
- Look at /var/opt/gitlabt/git-data/respositories/{{group}}/{{project}}.git
- Create the folder custom_hooks
- Go into custom_hooks
- Create hook (e.g : post or pre-receive )
- Give permissions chmod 755 post-receive
- Go back by using cd ..
- Change the owner of custom_hooks, chown git:git custom_hooks/ -R
By going throught the general setting -> Environment variables.
I recomend you to stop by https://crontab.guru/
Inside the Jenkins jobs, we can find the built triggers option and there we can set Build periodically
A pipeline in software development consists of set of tools, flows, and automated processes, enabling teams to leverage technologies to build and deploy software.
- SCM
- Build
- Test
- Deploy(Prod or Test)
docker exec -ti jenkins bash
docker exec -it -u root jenkins /bin/bash
docker cp PATH_IN_HOST CONTAINER_NAME:PATH_IN_CONTAINER
ssh-keygen -f name
ssh -i key usar@dns
ssh -i remote-key remote_user@remote_host