Skip to content
This repository was archived by the owner on May 12, 2018. It is now read-only.

Commit 328dcb4

Browse files
author
Antonio Lobato
committed
Exposed project id and project directory to build scripts.
1 parent dd65abf commit 328dcb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/build.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ def execute(cmd)
143143
@process.environment['CI_BUILD_REF_NAME'] = @ref_name
144144
@process.environment['CI_BUILD_ID'] = @id
145145

146+
@process.environment['CI_PROJECT_ID'] = @project_id
147+
@process.environment['CI_PROJECT_DIR'] = project_dir
148+
146149
@process.start
147150

148151
@tmp_file_path = @tmp_file.path

0 commit comments

Comments
 (0)