* .gitlab-ci.yml: $CI_JOB_TOKEN does not seem to work.

This commit is contained in:
Alexandre Duret-Lutz 2018-02-20 16:01:11 +01:00
parent 5b199d7870
commit e8ce4b8cad

View file

@ -186,7 +186,7 @@ publish-stable:
- dput lrde *.changes
- tgz=`ls spot-*.tar.* | head -n 1`
- case $tgz in *[0-9].tar.*) cp $tgz /lrde/dload/spot/;; esac
- curl -X POST -F ref=master -F token=$CI_JOB_TOKEN -F "variables[skip_next]=1" https://gitlab.lrde.epita.fr/api/v4/projects/131/trigger/pipeline
- curl -X POST -F ref=master -F token=$TRIGGER_SPOT_WEB -F "variables[skip_next]=1" https://gitlab.lrde.epita.fr/api/v4/projects/131/trigger/pipeline
publish-unstable:
only:
@ -200,5 +200,5 @@ publish-unstable:
- cd _build_unstable
- ls -l
- dput lrde *.changes
- curl -X POST -F ref=master -F token=$CI_JOB_TOKEN -F "variables[skip_stable]=1" https://gitlab.lrde.epita.fr/api/v4/projects/131/trigger/pipeline
- curl -X POST -F ref=master -F token=$CI_JOB_TOKEN https://gitlab.lrde.epita.fr/api/v4/projects/181/trigger/pipeline
- curl -X POST -F ref=master -F token=$TRIGGER_SPOT_WEB -F "variables[skip_stable]=1" https://gitlab.lrde.epita.fr/api/v4/projects/131/trigger/pipeline
- curl -X POST -F ref=master -F token=$TRIGGER_SANDBOX https://gitlab.lrde.epita.fr/api/v4/projects/181/trigger/pipeline