Commit 395f2e4c authored by Kamil Trzciński's avatar Kamil Trzciński 💬

Fixed #7

parent f0ce49ee
Pipeline #21843 failed with stage
v 0.3.2
- Fixed Windows batch script generator
v 0.3.1
- Remove clean_environment (it was working only for shell scripts)
- Run bash with --login (fixes missing .profile environment)
......@@ -52,7 +52,7 @@ func (b *CmdShell) writeFetchCmd(w io.Writer, build *common.Build) {
func (b *CmdShell) writeCheckoutCmd(w io.Writer, build *common.Build) {
b.writeCommand(w, "echo Checkouting %s as %s...", build.Sha[0:8], build.RefName)
b.writeCommandChecked(w, "git checkout -qf \"%s\"", build.RefName, build.Sha)
b.writeCommandChecked(w, "git checkout -qf \"%s\"", build.Sha)
func (b *CmdShell) GenerateScript(build *common.Build, shellType common.ShellType) (*common.ShellScript, error) {
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