Public Repository

Last pushed: 4 months ago
Short Description
Short description is empty for this repo.
Full Description

jenkins-slave-codeceptjs

This container is the jenkins slave for running codeceptjs automated test.

Dockerfiles are shown below:

Version 0.0.4

FROM accenture/adop-jenkins-slave:0.1.4
USER root

WORKDIR /home

RUN yum install -y curl python-software-properties
RUN curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
RUN yum install -y nodejs
RUN npm install nodejs
RUN npm install npm
RUN npm install codeceptjs
RUN npm install mocha@*
RUN npm install mochawesome
RUN npm install mochawesome-report-generator
RUN npm install webdriverio
RUN npm install imap-simple
#RUN git clone https://gitlab.com/DigitalOnUs/CodeceptJS.git
ADD CodeceptJS ./CodeceptJS
RUN ln -sf /home/CodeceptJS/bin/codecept.js /usr/bin/codeceptjs
RUN cd /home/CodeceptJS && npm install
RUN cd /home/CodeceptJS && npm install mochawesome --save-dev
RUN cd /home/CodeceptJS && npm install mochawesome-report-generator --save-dev
RUN cd /home/CodeceptJS && npm install imap-simple --save-dev

Version 0.0.3

FROM accenture/adop-jenkins-slave:0.1.4
USER root

RUN yum install -y curl python-software-properties
RUN curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
RUN yum install -y nodejs
RUN npm install codeceptjs
RUN npm install mocha@*
RUN npm i mochawesome
RUN npm install webdriverio
RUN git clone https://gitlab.com/DigitalOnUs/CodeceptJS.git
RUN ln -sf /home/CodeceptJS/bin/codecept.js /usr/bin/codeceptjs
RUN cd /home/CodeceptJS && npm install

Version 0.0.2

FROM accenture/adop-jenkins-slave:0.1.4

USER root

RUN yum install -y curl python-software-properties
RUN curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
#RUN curl -sL https://deb.nodesource.com/setup_7.x | bash -
RUN yum install -y nodejs
RUN npm install codeceptjs -g
RUN npm install unirest -g
RUN npm install mochawesome -g
RUN npm install webdriverio -g
RUN npm install papaparse -g
RUN git clone https://dockerdou:dockeruser@bitbucket.org/AlanZinho/codeceptjs.git /home/CodeceptJS
RUN ln -sf /home/CodeceptJS/bin/codecept.js /usr/bin/codeceptjs
RUN cd /home/CodeceptJS && npm install
RUN cd /home/CodeceptJS && npm install mocha@* && npm i mochawesome
Docker Pull Command
Owner
aditazz