Commit 65f9b165 authored by Mihai Nita's avatar Mihai Nita

Changed CI script extensions to .sh

parent 2bde76b8
Pipeline #71874031 passed with stages
in 4 minutes and 45 seconds
......@@ -63,7 +63,7 @@ allow communication with Bitbucket via the Bitbucket API.
`BITBUCKET_REPOSITORY`: set this if your GitLab and Bitbucket
project names differ
The required `build-status` script can be found under `ci/gitlab` path.
The required `build-status.sh` script can be found under `ci/gitlab` path.
GitLab should now be configured to mirror changes from Bitbucket,
run CI/CD pipelines configured in `.gitlab-ci.yml` and push the status
......
......@@ -41,9 +41,9 @@ variables:
image: registry.gitlab.com/okapiframework/okapi
before_script:
- ${CI_SCRIPTS_PATH}/before-job
- ${CI_SCRIPTS_PATH}/before-job.sh
after_script:
- ${CI_SCRIPTS_PATH}/after-job
- ${CI_SCRIPTS_PATH}/after-job.sh
verification:
stage: verification
......@@ -51,7 +51,7 @@ verification:
paths:
- ${HOME}/.m2/repository/
before_script:
- ${CI_SCRIPTS_PATH}/before-job
- ${CI_SCRIPTS_PATH}/before-job.sh
script:
- mvn verify ${MAVEN_CLI_OPTS}
- touch ${CI_GITLAB_PATH}/${CI_JOB_NAME}-passed
......@@ -63,8 +63,8 @@ verification:
- ${HOME}/.m2/repository/
policy: pull
before_script:
- ${CI_SCRIPTS_PATH}/before-job
- ${CI_SCRIPTS_PATH}/gpg-import
- ${CI_SCRIPTS_PATH}/before-job.sh
- ${CI_SCRIPTS_PATH}/gpg-import.sh
script:
- mvn deploy ${MAVEN_CLI_OPTS} -DskipITs --activate-profiles sign_and_deploy,release #--quiet
- touch ${CI_GITLAB_PATH}/${CI_JOB_NAME}-passed
......
#!/usr/bin/env bash
if [ ! -f ${CI_GITLAB_PATH}/${CI_JOB_NAME}-passed ] ; then
BUILD_STATUS=failed ${CI_SCRIPTS_PATH}/build-status;
BUILD_STATUS=failed ${CI_SCRIPTS_PATH}/build-status.sh;
else
BUILD_STATUS=passed ${CI_SCRIPTS_PATH}/build-status;
BUILD_STATUS=passed ${CI_SCRIPTS_PATH}/build-status.sh;
fi
#!/usr/bin/env bash
rm -f ${CI_GITLAB_PATH}/${CI_JOB_NAME}-passed
BUILD_STATUS=running ${CI_SCRIPTS_PATH}/build-status
BUILD_STATUS=running ${CI_SCRIPTS_PATH}/build-status.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment