Commit 8a1e0e64 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

set ssh port to saref.etsi.org

parent d71b7dc6
Loading
Loading
Loading
Loading
+19 −19
Original line number Diff line number Diff line
@@ -25,26 +25,26 @@ deploy_website:
    - ssh-add <(echo "$PORTAL_KEY")
    - mkdir -p ~/.ssh
    - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
    - scp -pr target/saref-pipeline.jar saref-dev@saref.etsi.org:~/downloads/saref-pipeline.jar
    - scp -P 29419 -pr target/saref-pipeline.jar saref-dev@saref.etsi.org:~/downloads/saref-pipeline.jar
  only:
    - master

deploy_package:
  stage: deploy
  script:
    - 'mvn deploy -s ci_settings.xml'
  only:
    - master
# deploy_package:
#   stage: deploy
#   script:
#     - 'mvn deploy -s ci_settings.xml'
#   only:
#     - master

release_job:
  stage: release
  image: registry.gitlab.com/gitlab-org/release-cli:latest
  script:
    - echo "Running the release job for $CI_COMMIT_TAG"
    - mvn package
  release:
    tag_name: $CI_COMMIT_TAG
    description: '$CI_COMMIT_TAG_MESSAGE'
    ref: '$CI_COMMIT_SHA'
  rules:
    - if: $CI_COMMIT_TAG
# release_job:
#   stage: release
#   image: registry.gitlab.com/gitlab-org/release-cli:latest
#   script:
#     - echo "Running the release job for $CI_COMMIT_TAG"
#     - mvn package
#   release:
#     tag_name: $CI_COMMIT_TAG
#     description: '$CI_COMMIT_TAG_MESSAGE'
#     ref: '$CI_COMMIT_SHA'
#   rules:
#     - if: $CI_COMMIT_TAG

ci_settings.xml

deleted100644 → 0
+0 −16
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>
 No newline at end of file