Skip to content
Snippets Groups Projects
Verified Commit 022511d5 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

add Jenkins build to gitlab CI pipeline

parent 0ccdca31
Branches
Tags 3.7
1 merge request!52add Jenkins build to gitlab CI pipeline
Pipeline #84508 passed
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
stages: stages:
- tox - tox
- documentation - documentation
- trigger_jenkins_build
include: include:
- docs/.gitlab-ci.yml - docs/.gitlab-ci.yml
...@@ -40,3 +41,16 @@ run-tox-pipeline: ...@@ -40,3 +41,16 @@ run-tox-pipeline:
paths: paths:
- htmlcov - htmlcov
- docs/source/_static/openapi.json - docs/source/_static/openapi.json
trigger_jenkins_build:
stage: trigger_jenkins_build
image: alpine:latest
before_script:
- apk add --no-cache curl
script: curl -u "$JENKINS_USERNAME:$JENKINS_API_TOKEN"
--data "PROJECT=goat-lso"
"http://test-swd-release-service01.geant.org:8080/job/build-python-snapshot/buildWithParameters"
only:
- develop
tags:
- docker-executor
library 'SWDPipeline'
// Parameters:
// name (must match the name of the project in GitLab/SWD release jenkins)
String name = 'goat-lso'
// emails of people to always notify on build status changes
List<String> extraRecipients = ['erik.reid@geant.org']
// python versions (docker tags) to test against, must be explicit versions
List<String> pythonTestVersions = ['3.11']
SimplePythonBuild(name, extraRecipients, pythonTestVersions)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment