<commit_before>FROM jenkins

USER root

RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y \
    python-pip \
    python-yaml \
    python-jenkins \
    ant \
    default-jdk \
    autoconf \
    automake \
    maven \
    vim \
    apparmor \
    wget

RUN wget -qO- https://get.docker.com/ | sh
RUN systemctl enable docker 
RUN rm -rf /var/lib/apt/lists/*

COPY plugins.sh /usr/local/bin/

USER root

ENV JENKINS_UC http://mirrors.clinkerhq.com/jenkins

COPY plugins.txt /usr/share/jenkins/ref/
RUN plugins.sh /usr/share/jenkins/ref/plugins.txt
COPY number-executors.groovy /usr/share/jenkins/ref/init.groovy.d/

COPY *xml /usr/share/jenkins/ref/

COPY .ssh/* /root/.ssh/
RUN chmod 600 /root/.ssh/id_rsa
RUN ssh -T -o StrictHostKeyChecking=no -o PasswordAuthentication=no git@github.com | true
RUN ssh -T -o StrictHostKeyChecking=no -o PasswordAuthentication=no -p 29418 <EMAIL> | true

RUN git config --global user.email "<EMAIL>"
RUN git config --global user.name "GerritForge Build"

COPY gitconfig /usr/share/jenkins/ref/.gitconfig

COPY scm-sync-init.sh /usr/local/bin/
RUN /bin/bash -x /usr/local/bin/scm-sync-init.sh

ADD run.sh /user/bin/run.sh

CMD "run.sh"<commit_msg>Installing jq to be used for parsing Jenkins JSON result of REST API<commit_after>FROM jenkins

USER root

RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y \
    python-pip \
    python-yaml \
    python-jenkins \
    ant \
    default-jdk \
    autoconf \
    automake \
    maven \
    vim \
    apparmor \
    wget

RUN wget -qO- https://get.docker.com/ | sh
RUN systemctl enable docker 
RUN rm -rf /var/lib/apt/lists/*

COPY plugins.sh /usr/local/bin/

USER root

ENV JENKINS_UC http://mirrors.clinkerhq.com/jenkins

COPY plugins.txt /usr/share/jenkins/ref/
RUN plugins.sh /usr/share/jenkins/ref/plugins.txt
COPY number-executors.groovy /usr/share/jenkins/ref/init.groovy.d/

COPY *xml /usr/share/jenkins/ref/

COPY .ssh/* /root/.ssh/
RUN chmod 600 /root/.ssh/id_rsa
RUN ssh -T -o StrictHostKeyChecking=no -o PasswordAuthentication=no git@github.com | true
RUN ssh -T -o StrictHostKeyChecking=no -o PasswordAuthentication=no -p 29418 <EMAIL> | true

RUN git config --global user.email "<EMAIL>"
RUN git config --global user.name "GerritForge Build"

COPY gitconfig /usr/share/jenkins/ref/.gitconfig
COPY http://stedolan.github.io/jq/download/linux64/jq /usr/bin/jq

COPY scm-sync-init.sh /usr/local/bin/
RUN /bin/bash -x /usr/local/bin/scm-sync-init.sh

ADD run.sh /user/bin/run.sh

CMD "run.sh"
{'fraction_non_alphanumeric': 0.12435233160621761, 'fraction_numerical': 0.007174172977281785, 'mean_word_length': 2.8794435857805256, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '588220', 'n_tokens_mistral': 1006, 'n_tokens_neox': 935, 'n_words': 242}