Skip to content
Snippets Groups Projects
Commit fc318575 authored by calrama's avatar calrama
Browse files

Add trigger helper

parent 26ec4231
Branches
Tags
No related merge requests found
...@@ -3,6 +3,10 @@ function gitlab-fetch-artifacts { ...@@ -3,6 +3,10 @@ function gitlab-fetch-artifacts {
7z e artifacts.zip; rm artifacts.zip 7z e artifacts.zip; rm artifacts.zip
} }
function gitlab-trigger {
curl --request POST --form "token=$2" --form "ref=$3" "https://git.imp.fu-berlin.de/api/v4/projects/$1/trigger/pipeline"
}
function cmake-integrate-package { function cmake-integrate-package {
7z e $1-*.tar.xz; rm $1-*.tar.xz 7z e $1-*.tar.xz; rm $1-*.tar.xz
7z x $1-*.tar; rm $1-*.tar 7z x $1-*.tar; rm $1-*.tar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment