[JIRA] (JENKINS-61418) MSYS2 shell can not be used in pipeline shell (mixed linux/win32 pipeline)

4 views
Skip to first unread message

sancelot@numalliance.com (JIRA)

unread,
Mar 10, 2020, 12:25:03 PM3/10/20
to jenkinsc...@googlegroups.com
stephane ancelot created an issue
 
Jenkins / Bug JENKINS-61418
MSYS2 shell can not be used in pipeline shell (mixed linux/win32 pipeline)
Issue Type: Bug Bug
Assignee: Unassigned
Components: pipeline
Created: 2020-03-10 16:24
Environment: v2.204.5 / linux64 / jdk 1.8
Priority: Critical Critical
Reporter: stephane ancelot

I want to launch my commands from a pipeline shell executed on a remote windows slave.

In my pipeline I have linux and windows agent, I can not change shell for the whole pipeline

unfortunately using this command in the pipleine fails

 

sh("""E:/msys2/msys2_shell.cmd -mingw64

                                      cmake ...

                                      make

                                """)

the commands are not executed within the shell
 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages