Some Jenkinsfile examples for using #jenkins_access on c4science, each example lives in a separate branch:
Branch | Description | Link |
---|---|---|
Hello World | Print hello world on the logs using Python | https://c4science.ch/source/jenkins-examples/browse/hello-world/ |
Artifacts | Save generated files in Jenkins | https://c4science.ch/source/jenkins-examples/browse/artifacts/ |
Unit Tests | Unit test in Python and pip install | https://c4science.ch/source/jenkins-examples/browse/unit-test/ |
Docker | Build a Docker image from a Dockerfile and run a script in it | https://c4science.ch/source/jenkins-examples/browse/docker/ |
Dockerfile | Build a container from a Dockerfile | https://c4science.ch/source/jenkins-examples/browse/dockerfile/ |
Notification | Send an email on various events | https://c4science.ch/source/jenkins-examples/browse/notification/ |
Submodules | Init and update submodules | https://c4science.ch/source/jenkins-examples/browse/submodules/ |
Harbormaster | Integration with Harbormaster | https://c4science.ch/source/jenkins-examples/browse/harbormaster/ |