Commit f5c5eb3c authored by Kamil Trzciński's avatar Kamil Trzciński 🔴

Added CI=true

parent 881262d1
......@@ -88,6 +88,7 @@ func (b *BashShell) GenerateScript(build *common.Build, shellType common.ShellTy
fmt.Sprintf("CI_PROJECT_ID=%d", build.ProjectID),
fmt.Sprintf("CI_PROJECT_DIR=%s", build.FullProjectDir()),
"CI=true",
"CI_SERVER=yes",
"CI_SERVER_NAME=GitLab CI",
"CI_SERVER_VERSION=",
......
......@@ -103,6 +103,7 @@ func (b *CmdShell) GenerateScript(build *common.Build, shellType common.ShellTyp
fmt.Sprintf("CI_PROJECT_ID=%d", build.ProjectID),
fmt.Sprintf("CI_PROJECT_DIR=%s", filepath.FromSlash(build.FullProjectDir())),
"CI=true",
"CI_SERVER=yes",
"CI_SERVER_NAME=GitLab CI",
"CI_SERVER_VERSION=",
......
......@@ -101,6 +101,7 @@ func (b *PowerShell) GenerateScript(build *common.Build, shellType common.ShellT
fmt.Sprintf("CI_PROJECT_ID=%d", build.ProjectID),
fmt.Sprintf("CI_PROJECT_DIR=%s", filepath.FromSlash(build.FullProjectDir())),
"CI=true",
"CI_SERVER=yes",
"CI_SERVER_NAME=GitLab CI",
"CI_SERVER_VERSION=",
......
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