Commit e209dbac authored by Dave Cooper's avatar Dave Cooper
Browse files

bump version in ci-script, look for release zip file, if exists, for docker build.

parent f96924db
Pipeline #3941 passed with stages
in 7 minutes and 24 seconds
......@@ -6,7 +6,7 @@ OS="$1"
task="$2"
status="$(curl -s "http://localhost:9000/build?command=build&os=${OS}&branch=$CI_BUILD_REF_NAME&task=${task}&ci-job-id=$CI_JOB_ID&ci-pipeline-id=$CI_PIPELINE_ID&gdl-current-version=1594")"
status="$(curl -s "http://localhost:9000/build?command=build&os=${OS}&branch=$CI_BUILD_REF_NAME&task=${task}&ci-job-id=$CI_JOB_ID&ci-pipeline-id=$CI_PIPELINE_ID&gdl-current-version=1596")"
#status="$(curl -s "http://ssh.genworks.com:9000/build?command=build&os=linux&branch=devo&cijobid=$CI_JOB_ID")"
echo "Testing status of curl command..."
......
......@@ -17,16 +17,21 @@ echo "Present Working Directory: " `pwd`
CI_PIPELINE_ID=${CI_PIPELINE_ID:="3787"}
dist_name=gendl-build${CI_PIPELINE_ID}L-linux64
dist_name_release=gendl1596-linux64
dist_zip_server=/home/builder/genworks/manager/staging/gendl/${CI_PIPELINE_ID}L/distribution/${dist_name}.zip
dist_zip_server_release=/home/builder/genworks/manager/staging/gendl/${CI_PIPELINE_ID}L/distribution/${dist_name_release}.zip
dist_zip_local=~/genworks/builds/${dist_name}.zip
if [ -f "$dist_zip_server" ]; then
if [ -f "$dist_zip_server_release" ]; then
dist_zip=$dist_zip_server_release
elif [ -f "$dist_zip_server" ]; then
dist_zip=$dist_zip_server
elif [ -f "$dist_zip_local" ]; then
dist_zip=$dist_zip_local
else
echo "Neither $dist_zip_server nor $dist_zip_local was found. Exiting."
echo "Neither $dist_zip_server_release nor $dist_zip_server nor $dist_zip_local was found. Exiting."
exit 1
fi
......
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