Commit 7cfc340f authored by Mihai Nita's avatar Mihai Nita

Changed CI script extensions to .sh

parent e7d16fe6
Pipeline #67738514 failed with stage
in 64 minutes and 49 seconds
......@@ -12,9 +12,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
......@@ -22,7 +22,7 @@ verification:
paths:
- ${HOME}/.m2/repository/
before_script:
- ${CI_SCRIPTS_PATH}/before-job
- ${CI_SCRIPTS_PATH}/before-job.sh
script:
- mvn verify --quiet ${MAVEN_CLI_OPTS}
- 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