Loading .gitlab-ci.yml 0 → 100644 +8 −0 Original line number Diff line number Diff line stages: - deploy deploy: stage: deploy image: maven:3.9.5-ibm-semeru-17-focal script: - 'mvn deploy -s ci_settings.xml' ci_settings.xml 0 → 100644 +16 −0 Original line number Diff line number Diff line <settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"> <servers> <server> <id>gitlab-maven</id> <configuration> <httpHeaders> <property> <name>Job-Token</name> <value>${CI_JOB_TOKEN}</value> </property> </httpHeaders> </configuration> </server> </servers> </settings> Loading
.gitlab-ci.yml 0 → 100644 +8 −0 Original line number Diff line number Diff line stages: - deploy deploy: stage: deploy image: maven:3.9.5-ibm-semeru-17-focal script: - 'mvn deploy -s ci_settings.xml'
ci_settings.xml 0 → 100644 +16 −0 Original line number Diff line number Diff line <settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"> <servers> <server> <id>gitlab-maven</id> <configuration> <httpHeaders> <property> <name>Job-Token</name> <value>${CI_JOB_TOKEN}</value> </property> </httpHeaders> </configuration> </server> </servers> </settings>