Closed nabhanm closed 5 years ago
Hi,
the library will only run on a Jenkins on a Linux machine. If you want to run it on Windows I would suggest to use Docker. We are currently preparing a suitable Docker image in https://github.com/SAP/devops-docker-images/
For now you can use the public Jenkins Docker image (https://hub.docker.com/r/jenkins/jenkins/) and install the required plugins.
Best regards, Oliver
Hi @nabhanm,
just to add another option until the https://github.com/SAP/devops-docker-images/ image is ready:
You may also use the s4sdk/jenkins-master
docker image from Docker hub, which has the piper library already configured. This also comes with a life-cycle management script called cx-server
which basically automates the whole setup, see for details.
Basic usage is described here https://github.com/SAP/cloud-s4-sdk-pipeline#requirements
Kind regards
Florian
Thank you for the responses @OliverNocon and @fwilhe. I will check the mentioned options and follow it to set up Piper.
Just to understand and for my knowledge, Jenkins has no dependency on the OS it is running, if I'm not wrong, then: Why does the library require only Linux? Is it tested or WIP for Windows machines as well?
Regards, Nabhan
The library uses bash commands and command line tools, hence the Linux requirement. As the other's mentioned, Jenkins-on-Docker-on-Windows might be an alternative. Feedback is welcome.
I forgot to mention that the cx-server
script also comes in a version for Windows, so if you have installed Docker on your Windows machine, I encourage you to try this out. Usage is shown in Unit 2 of Week 3 of this opensap course (approx. at min 7:30 of the video).
Hello, Trying to install Piper on Jenkins running on my Windows Machine. Does the library support Jenkins running on Windows or does it work with Linux only as mentioned in the Pre-requisites.