GithubHelp home page GithubHelp logo

sylvoscai / docker-uiveri5-jenkins-slave Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danieljakobs/docker-uiveri5-jenkins-slave

0.0 0.0 0.0 1.94 MB

SAPUI5 UIVeri5 Docker Image + Slave for Jenkins

License: Apache License 2.0

Dockerfile 38.25% Shell 43.41% JavaScript 18.35%

docker-uiveri5-jenkins-slave's Introduction

SAPUI5 UIVeri5 Docker Image + Slave for Jenkins

Build Status

This image can be used for integration testing based on UIVeri5 and headless chrome. It is also preconfigured to be used as Jenkins slave for SAP Fiori CI processes.

  • ui5-uiveri5 v1.46.4
  • openjdk:11-jdk
  • linux x64
  • Chrome (google-chrome-stable) 92.0.4515.107
  • ChromeDriver 91.0.4472.101
  • Selenium 3.141.59
  • node 14.x
  • jnlp (jenkins-slave)

See also DockerHub

Usage

Install/Download Docker from docker.com.

Run / Test

Via terminal/cmd, execute

Start Image/Create Container

$ docker run --name myslave -dit frumania/uiveri5-base:latest /bin/bash

Start Selenium Server

docker exec -d myslave /opt/selenium/startSeleniumServer.sh

Run uiveri5 test

docker exec myslave uiveri5 --v --seleniumAddress http://localhost:4444/wd/hub <further parameter>

Run via Jenkins (Docker Plugin)

Docker Plugin for Jenkins

Connect method: Attach Docker container

docker_config

(Optional) Build locally

Only required, if you would like to make changes to the image!

Via terminal/cmd, execute

git clone https://github.com/frumania/docker-uiveri5-jenkins-slave.git  
cd docker-uiveri5-jenkins-slave
docker build -t uiveri5-base:latest .

Useful Commands

Start/Stop

List containers / check container status

docker ps -a

Stop container

docker stop <ContainerID>  

Start container

docker start <ContainerID>  

Cleanup

Stop container

docker stop <ContainerID>  

Remove container

$ docker container rm <ContainerID>  

List images

$ docker images  

Removes docker image

$ docker image rm <ImageID>  

Troubleshooting

Display Logs

$ docker logs <ContainerID>  

Enter container

$ docker exec -it <ContainerID> bash 

Support & Contribution

This project is provided "as-is". There is no guarantee that raised issues will be answered or addressed in future releases.

If you like to contribute, fork the code and/or let me know!

License

Apache 2

docker-uiveri5-jenkins-slave's People

Contributors

frumania avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.