diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ecc1e241209ed32ee98ef7b280b2c74f876cec0d..8b17e2a480912296eee22a83f5703ebae7de42d0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,7 @@ stages:
- tox
- documentation
- sonarqube
+ - trigger_jenkins_build
include:
- docs/.gitlab-ci.yml
@@ -55,3 +56,14 @@ sonarqube:
- sonar-scanner -Dsonar.login=$SONAR_TOKEN -Dproject.settings=./sonar.properties
tags:
- docker-executor
+
+trigger_jenkins_build:
+ stage: deploy
+ script:
+ - curl "http://test-swd-release-service01.geant.org:8080/job/build-python-snapshot/buildWithParameters" \
+ --user $JENKINS_USERNAME:$JENKINS_API_TOKEN \
+ --data "PROJECT=${PROJECT_NAME}"
+ only:
+ - develop
+ tags:
+ - docker-executor
\ No newline at end of file
diff --git a/Jenkinsfile b/Jenkinsfile
deleted file mode 100644
index 6d5a7cc769756abc5b4fab3bf84747847f1b14b4..0000000000000000000000000000000000000000
--- a/Jenkinsfile
+++ /dev/null
@@ -1,20 +0,0 @@
-// https://gitlab.geant.net/live-projects/jenkins-pipeline/-/tree/master/vars
-library 'SWDPipeline'
-
-// Parameters:
-// name (must match the name of the project in GitLab/SWD release jenkins)
-String name = 'geant-service-orchestrator'
-
-// 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']
-
-// Environment variables you want to pass
-Map<String, String> appEnvironmentVariables = [
- 'SKIP_ALL_TESTS': '1',
- // add more as needed
-]
-
-SimplePythonBuild(name, extraRecipients, pythonTestVersions, appEnvironmentVariables)