tomasbjerre / jenkins-configuration-as-code-sandbox

Jenkins Configuration as Code, JCasC, Job DSL, Pipeline, Shared library
https://bjurr.com/jenkins-configuration-as-code-and-gitlab/
Apache License 2.0
109 stars 57 forks source link

Unable to complete Docker Compose build #9

Open bgpanw opened 1 year ago

bgpanw commented 1 year ago

Hi , I'm unable to complete this build due to changes in Jenkins. One step is "CANCELED" and another has an "ERROR" . Please see the most recent output here:

=> CANCELED [jenkins-configuration-as-code-sandbox-gitlab-setup 2/5] RUN apt-get update &&  apt-get install -y software-properties-common &&  add-apt-repository -y ppa:deadsnakes/ppa &&  apt-mark hold python2 python2-minimal python2.7 python2.7-mi  52.7s
 => [jenkins-configuration-as-code-sandbox-jenkins-docker 2/6] RUN mkdir /var/jenkins_home/casc_configs                                                                                                                                                    1.4s
 => [jenkins-configuration-as-code-sandbox-jenkins-docker 3/6] COPY ./jenkins.yaml /var/jenkins_home/casc_configs/jenkins.yaml                                                                                                                             0.1s
 => [jenkins-configuration-as-code-sandbox-jenkins-docker 4/6] RUN apt-get update       && apt-get install -y iproute2       && rm -rf /var/lib/apt/lists/*                                                                                               22.0s
 => ERROR [jenkins-configuration-as-code-sandbox-jenkins-docker 5/6] RUN install-plugins.sh   configuration-as-code   blueocean   job-dsl   cloudbees-folder   workflow-aggregator   pipeline-utility-steps   generic-webhook-trigger   git-changelog   v  1.4s
------
 > [jenkins-configuration-as-code-sandbox-jenkins-docker 5/6] RUN install-plugins.sh   configuration-as-code   blueocean   job-dsl   cloudbees-folder   workflow-aggregator   pipeline-utility-steps   generic-webhook-trigger   git-changelog   violation-comments-to-gitlab:
#0 0.954 WARN: install-plugins.sh has been removed, please switch to jenkins-plugin-cli
------
failed to solve: process "/bin/sh -c install-plugins.sh   configuration-as-code   blueocean   job-dsl   cloudbees-folder   workflow-aggregator   pipeline-utility-steps   generic-webhook-trigger   git-changelog   violation-comments-to-gitlab" did not complete successfully: exit code: 1
PaperKTiger commented 7 months ago

I get similar error:

 => CANCELED [gitlab-setup 2/5] RUN apt-get update &&  apt-get install -y software-properties-common &&  add-apt-repository -y ppa:deadsnakes/ppa &&  apt-mark hold python2 python2-minimal python2.7 python2.7-minimal libpython2-std  7.0s
 => ERROR [jenkins-docker 5/6] RUN install-plugins.sh   configuration-as-code   blueocean   job-dsl   cloudbees-folder   workflow-aggregator   pipeline-utility-steps   generic-webhook-trigger   git-changelog   violation-comments-t  0.2s
------
 > [jenkins-docker 5/6] RUN install-plugins.sh   configuration-as-code   blueocean   job-dsl   cloudbees-folder   workflow-aggregator   pipeline-utility-steps   generic-webhook-trigger   git-changelog   violation-comments-to-gitlab:
0.165 /bin/sh: 1: install-plugins.sh: not found
------
failed to solve: process "/bin/sh -c install-plugins.sh   configuration-as-code   blueocean   job-dsl   cloudbees-folder   workflow-aggregator   pipeline-utility-steps   generic-webhook-trigger   git-changelog   violation-comments-to-gitlab" did not complete successfully: exit code: 127