Skip to content
Snippets Groups Projects
Commit b076c61a authored by Sebastian Pape's avatar Sebastian Pape
Browse files

Merge branch 'feature/pass_variables' into 'master'

Adding feature to pass variables to later stages

See merge request !36
parents 8b2085fd 1fc22d7a
No related branches found
No related tags found
1 merge request!36Adding feature to pass variables to later stages
...@@ -74,6 +74,8 @@ variables: ...@@ -74,6 +74,8 @@ variables:
- cp -ErrorAction Ignore -R "$env:ADDITIONAL_LOGS/*" "$env:CI_PROJECT_DIR/Release/$env:CI_PROJECT_NAME/BuildLogs/" ; $true | out-null - cp -ErrorAction Ignore -R "$env:ADDITIONAL_LOGS/*" "$env:CI_PROJECT_DIR/Release/$env:CI_PROJECT_NAME/BuildLogs/" ; $true | out-null
# Rename thumbnail if it exists # Rename thumbnail if it exists
- mv -ErrorAction Ignore ${PROJECT_NAME}.png thumbnail.png ; $true | out-null - mv -ErrorAction Ignore ${PROJECT_NAME}.png thumbnail.png ; $true | out-null
# Build variables
- echo "CLIENT_CONFIG=$env:CLIENT_CONFIG" >> build_vars.env
# Exit with exit code of the build # Exit with exit code of the build
- exit $env:EXIT_CODE - exit $env:EXIT_CODE
timeout: 3h timeout: 3h
...@@ -84,6 +86,8 @@ variables: ...@@ -84,6 +86,8 @@ variables:
- Saved/AutoScreenshot.png - Saved/AutoScreenshot.png
- thumbnail.png - thumbnail.png
- launcher.meta - launcher.meta
reports:
dotenv: build_vars.env
expire_in: 3 days expire_in: 3 days
when: always when: always
...@@ -112,6 +116,8 @@ variables: ...@@ -112,6 +116,8 @@ variables:
- cp -R "${ADDITIONAL_LOGS}/"* "${CI_PROJECT_DIR}/Release/${CI_PROJECT_NAME}/BuildLogs/" || true - cp -R "${ADDITIONAL_LOGS}/"* "${CI_PROJECT_DIR}/Release/${CI_PROJECT_NAME}/BuildLogs/" || true
# Rename thumbnail if it exists # Rename thumbnail if it exists
- mv ${PROJECT_NAME}.png thumbnail.png || true - mv ${PROJECT_NAME}.png thumbnail.png || true
# Build variables
- echo "CLIENT_CONFIG=${CLIENT_CONFIG}" >> build_vars.env
# Exit with exit code of the build # Exit with exit code of the build
- exit ${EXIT_CODE} - exit ${EXIT_CODE}
timeout: 3h timeout: 3h
...@@ -122,6 +128,8 @@ variables: ...@@ -122,6 +128,8 @@ variables:
- Saved/AutoScreenshot.png - Saved/AutoScreenshot.png
- thumbnail.png - thumbnail.png
- launcher.meta - launcher.meta
reports:
dotenv: build_vars.env
expire_in: 3 days expire_in: 3 days
when: always when: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment