Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48711

Create a Docker image for running PCT for plugins

    Details

    • Similar Issues:

      Description

      Currently it's pretty complicated to run PCT as a newbie Jenkins Plugin developer. It is also difficult to integrate PCT into the plugin pull request builder.

      I propose to create a Docker image, which supports basic types of PCT runs.

        Attachments

          Issue Links

            Activity

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Link JENKINS-48734 [ 187440 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "https://github.com/jenkinsci/plugin-compat-tester/pull/53 (Web Link)" [ 19701 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-48750 [ JENKINS-48750 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            .gitignore
            Dockerfile
            README.md
            src/main/docker/run-pct.sh
            http://jenkins-ci.org/commit/plugin-compat-tester/4109ff46706073f279d3943aac91f0570b750a63
            Log:
            JENKINS-48711 - Create a PCT Docker image, mostly works

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: .gitignore Dockerfile README.md src/main/docker/run-pct.sh http://jenkins-ci.org/commit/plugin-compat-tester/4109ff46706073f279d3943aac91f0570b750a63 Log: JENKINS-48711 - Create a PCT Docker image, mostly works
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/docker/run-pct.sh
            http://jenkins-ci.org/commit/plugin-compat-tester/8f04a9115e72c927b7f4e1f73b742404d5e8f8d2
            Log:
            JENKINS-48711 - Fix defect in the init script

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/docker/run-pct.sh http://jenkins-ci.org/commit/plugin-compat-tester/8f04a9115e72c927b7f4e1f73b742404d5e8f8d2 Log: JENKINS-48711 - Fix defect in the init script
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            Dockerfile
            README.md
            src/main/docker/run-pct.sh
            http://jenkins-ci.org/commit/plugin-compat-tester/2e0571a211704d2b6686be6807569fe3e43f30ef
            Log:
            JENKINS-48711 - Add support of custom Java options and Remote Debug to the image

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: Dockerfile README.md src/main/docker/run-pct.sh http://jenkins-ci.org/commit/plugin-compat-tester/2e0571a211704d2b6686be6807569fe3e43f30ef Log: JENKINS-48711 - Add support of custom Java options and Remote Debug to the image
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            README.md
            src/main/docker/run-pct.sh
            http://jenkins-ci.org/commit/plugin-compat-tester/1d20f1c2260367a4e4d27b0e41ca58a9c847c637
            Log:
            JENKINS-48711 - PCT is now able to automatically determine the artifact ID

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: README.md src/main/docker/run-pct.sh http://jenkins-ci.org/commit/plugin-compat-tester/1d20f1c2260367a4e4d27b0e41ca58a9c847c637 Log: JENKINS-48711 - PCT is now able to automatically determine the artifact ID
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            Dockerfile
            Makefile
            src/main/docker/run-pct.sh
            http://jenkins-ci.org/commit/plugin-compat-tester/d2be78cb02d01e87edd117ef35557ba50cd1a445
            Log:
            JENKINS-48711 - Fallback to the local build flow after the experiments with in-DockerBuilds maven runs

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: Dockerfile Makefile src/main/docker/run-pct.sh http://jenkins-ci.org/commit/plugin-compat-tester/d2be78cb02d01e87edd117ef35557ba50cd1a445 Log: JENKINS-48711 - Fallback to the local build flow after the experiments with in-DockerBuilds maven runs
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            plugins-compat-tester-cli/pom.xml
            plugins-compat-tester-cli/src/main/java/org/jenkins/tools/test/CliOptions.java
            plugins-compat-tester-cli/src/main/java/org/jenkins/tools/test/PluginCompatTesterCli.java
            plugins-compat-tester-gae-client/pom.xml
            plugins-compat-tester-gae/pom.xml
            plugins-compat-tester-model/pom.xml
            plugins-compat-tester-model/src/main/java/org/jenkins/tools/test/model/PluginCompatReport.java
            plugins-compat-tester/pom.xml
            plugins-compat-tester/src/main/java/org/jenkins/tools/test/PluginCompatTester.java
            plugins-compat-tester/src/test/java/org/jenkins/tools/test/PluginCompatTesterTest.java
            pom.xml
            http://jenkins-ci.org/commit/plugin-compat-tester/6edde7fe222690256c185f7c47756c55894110d9
            Log:
            Merge branch 'master' into feature/JENKINS-48711

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: plugins-compat-tester-cli/pom.xml plugins-compat-tester-cli/src/main/java/org/jenkins/tools/test/CliOptions.java plugins-compat-tester-cli/src/main/java/org/jenkins/tools/test/PluginCompatTesterCli.java plugins-compat-tester-gae-client/pom.xml plugins-compat-tester-gae/pom.xml plugins-compat-tester-model/pom.xml plugins-compat-tester-model/src/main/java/org/jenkins/tools/test/model/PluginCompatReport.java plugins-compat-tester/pom.xml plugins-compat-tester/src/main/java/org/jenkins/tools/test/PluginCompatTester.java plugins-compat-tester/src/test/java/org/jenkins/tools/test/PluginCompatTesterTest.java pom.xml http://jenkins-ci.org/commit/plugin-compat-tester/6edde7fe222690256c185f7c47756c55894110d9 Log: Merge branch 'master' into feature/ JENKINS-48711
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            Makefile
            http://jenkins-ci.org/commit/plugin-compat-tester/d82221eac0471bc55f2011871a779a6dca6fc366
            Log:
            JENKINS-48711 - No need to skip tests anymore

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: Makefile http://jenkins-ci.org/commit/plugin-compat-tester/d82221eac0471bc55f2011871a779a6dca6fc366 Log: JENKINS-48711 - No need to skip tests anymore
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            README.md
            http://jenkins-ci.org/commit/plugin-compat-tester/2520521915b977e4d06730ecaafe94a7cde47bd2
            Log:
            JENKINS-48711 - Add more examples to the documentation

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: README.md http://jenkins-ci.org/commit/plugin-compat-tester/2520521915b977e4d06730ecaafe94a7cde47bd2 Log: JENKINS-48711 - Add more examples to the documentation
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            README.md
            src/main/docker/run-pct.sh
            http://jenkins-ci.org/commit/plugin-compat-tester/12b19a700a6dbcf1fd08518c569df2ebb8c5bb9a
            Log:
            JENKINS-48711 - Add support of running PCT against custom SNAPSHOT wars.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: README.md src/main/docker/run-pct.sh http://jenkins-ci.org/commit/plugin-compat-tester/12b19a700a6dbcf1fd08518c569df2ebb8c5bb9a Log: JENKINS-48711 - Add support of running PCT against custom SNAPSHOT wars.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            Dockerfile
            README.md
            src/main/docker/run-pct.sh
            http://jenkins-ci.org/commit/plugin-compat-tester/3c5beda4250f45d2970c5696c0e8e0fc2fd99d61
            Log:
            JENKINS-48711 - Allow exposing temporary directory to volume for diagnostics purposes

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: Dockerfile README.md src/main/docker/run-pct.sh http://jenkins-ci.org/commit/plugin-compat-tester/3c5beda4250f45d2970c5696c0e8e0fc2fd99d61 Log: JENKINS-48711 - Allow exposing temporary directory to volume for diagnostics purposes
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            https://github.com/jenkinsci/plugin-compat-tester/pull/53 has been integrated, but I need to address comments from Jesse Glick and Devin Nusbaum before publishing the image.

            Show
            oleg_nenashev Oleg Nenashev added a comment - https://github.com/jenkinsci/plugin-compat-tester/pull/53 has been integrated, but I need to address comments from Jesse Glick and Devin Nusbaum before publishing the image.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/docker/run-pct.sh
            http://jenkins-ci.org/commit/plugin-compat-tester/a57dbc3977e05032e2bea2c2c9529e261ff2a23d
            Log:
            JENKINS-48711 - Also install Jenkins CLI to local artifacts

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/docker/run-pct.sh http://jenkins-ci.org/commit/plugin-compat-tester/a57dbc3977e05032e2bea2c2c9529e261ff2a23d Log: JENKINS-48711 - Also install Jenkins CLI to local artifacts
            oleg_nenashev Oleg Nenashev made changes -
            Status In Review [ 10005 ] In Progress [ 3 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/docker/run-pct.sh
            http://jenkins-ci.org/commit/plugin-compat-tester/2890e4b8ed2fe011a4adfc62fc8440119f5f302e
            Log:
            JENKINS-48711 - Also pass POM to the local repository

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/docker/run-pct.sh http://jenkins-ci.org/commit/plugin-compat-tester/2890e4b8ed2fe011a4adfc62fc8440119f5f302e Log: JENKINS-48711 - Also pass POM to the local repository
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            Dockerfile
            README.md
            src/main/docker/pct-default-settings.xml
            src/main/docker/run-pct.sh
            http://jenkins-ci.org/commit/plugin-compat-tester/7283ea46e521775745cfe4e937f6ceeaeb8755d6
            Log:
            JENKINS-48711 - Make the settings file explicit && configurable

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: Dockerfile README.md src/main/docker/pct-default-settings.xml src/main/docker/run-pct.sh http://jenkins-ci.org/commit/plugin-compat-tester/7283ea46e521775745cfe4e937f6ceeaeb8755d6 Log: JENKINS-48711 - Make the settings file explicit && configurable
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            Jenkinsfile
            plugins-compat-tester-cli/src/main/java/org/jenkins/tools/test/CliOptions.java
            plugins-compat-tester/src/main/java/org/jenkins/tools/test/PluginCompatTester.java
            pom.xml
            http://jenkins-ci.org/commit/plugin-compat-tester/f531b97b673b2c32cd4cba8081690afefb4d3ac3
            Log:
            Merge branch 'master' into feature/JENKINS-48711

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: Jenkinsfile plugins-compat-tester-cli/src/main/java/org/jenkins/tools/test/CliOptions.java plugins-compat-tester/src/main/java/org/jenkins/tools/test/PluginCompatTester.java pom.xml http://jenkins-ci.org/commit/plugin-compat-tester/f531b97b673b2c32cd4cba8081690afefb4d3ac3 Log: Merge branch 'master' into feature/ JENKINS-48711
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            http://jenkins-ci.org/commit/plugin-compat-tester/0aa19803d06c78eafedd8d28d3c99779b79bdc6c
            Log:
            Merge branch 'master' into feature/JENKINS-48711

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: http://jenkins-ci.org/commit/plugin-compat-tester/0aa19803d06c78eafedd8d28d3c99779b79bdc6c Log: Merge branch 'master' into feature/ JENKINS-48711
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            .gitignore
            Dockerfile
            Makefile
            README.md
            plugins-compat-tester-cli/src/main/java/org/jenkins/tools/test/CliOptions.java
            plugins-compat-tester-cli/src/main/java/org/jenkins/tools/test/PluginCompatTesterCli.java
            plugins-compat-tester-model/src/main/java/org/jenkins/tools/test/model/PluginCompatReport.java
            plugins-compat-tester/src/main/java/org/jenkins/tools/test/PluginCompatTester.java
            src/main/docker/pct-default-settings.xml
            src/main/docker/run-pct.sh
            http://jenkins-ci.org/commit/plugin-compat-tester/d130923f42f78a5575fcf3893a4b1f0f0e62fdad
            Log:
            Merge pull request #53 from oleg-nenashev/feature/JENKINS-48711

            JENKINS-48711 - Create a Docker Image for running PCT

            Compare: https://github.com/jenkinsci/plugin-compat-tester/compare/3693244ae983...d130923f42f7

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: .gitignore Dockerfile Makefile README.md plugins-compat-tester-cli/src/main/java/org/jenkins/tools/test/CliOptions.java plugins-compat-tester-cli/src/main/java/org/jenkins/tools/test/PluginCompatTesterCli.java plugins-compat-tester-model/src/main/java/org/jenkins/tools/test/model/PluginCompatReport.java plugins-compat-tester/src/main/java/org/jenkins/tools/test/PluginCompatTester.java src/main/docker/pct-default-settings.xml src/main/docker/run-pct.sh http://jenkins-ci.org/commit/plugin-compat-tester/d130923f42f78a5575fcf3893a4b1f0f0e62fdad Log: Merge pull request #53 from oleg-nenashev/feature/ JENKINS-48711 JENKINS-48711 - Create a Docker Image for running PCT Compare: https://github.com/jenkinsci/plugin-compat-tester/compare/3693244ae983...d130923f42f7
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "Documentation (Web Link)" [ 20055 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is blocked by INFRA-1500 [ INFRA-1500 ]
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            With https://github.com/jenkinsci/plugin-compat-tester/pull/67 we can build PCT Docker image just from Dockerfile

            Show
            oleg_nenashev Oleg Nenashev added a comment - With https://github.com/jenkinsci/plugin-compat-tester/pull/67 we can build PCT Docker image just from Dockerfile
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "https://github.com/jenkinsci/plugin-compat-tester/pull/67 (Web Link)" [ 20094 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            Dockerfile
            http://jenkins-ci.org/commit/plugin-compat-tester/a7e5c580b4c22c36c612cd3b42dfbe091105876d
            Log:
            JENKINS-48711 - Enable Multi-stage build for PCT

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: Dockerfile http://jenkins-ci.org/commit/plugin-compat-tester/a7e5c580b4c22c36c612cd3b42dfbe091105876d Log: JENKINS-48711 - Enable Multi-stage build for PCT
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            Dockerfile
            http://jenkins-ci.org/commit/plugin-compat-tester/645cf47ea49534cc3dbe515d7463ab2a53e9d545
            Log:
            JENKINS-48711 - @raul-arabaolaza noticed that the description is misplaced after the patch

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: Dockerfile http://jenkins-ci.org/commit/plugin-compat-tester/645cf47ea49534cc3dbe515d7463ab2a53e9d545 Log: JENKINS-48711 - @raul-arabaolaza noticed that the description is misplaced after the patch
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            Dockerfile
            http://jenkins-ci.org/commit/plugin-compat-tester/ad907d3ab2ad16154876b051e95e5506621fa0af
            Log:
            Merge pull request #67 from oleg-nenashev/JENKINS-48711-multi-stage

            JENKINS-48711 - Enable Multi-stage build for PCT

            Compare: https://github.com/jenkinsci/plugin-compat-tester/compare/b17dead87ff6...ad907d3ab2ad

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: Dockerfile http://jenkins-ci.org/commit/plugin-compat-tester/ad907d3ab2ad16154876b051e95e5506621fa0af Log: Merge pull request #67 from oleg-nenashev/ JENKINS-48711 -multi-stage JENKINS-48711 - Enable Multi-stage build for PCT Compare: https://github.com/jenkinsci/plugin-compat-tester/compare/b17dead87ff6...ad907d3ab2ad
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal DEVTOOLS-193 (Web Link)" [ 20161 ]
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            I have created JENKINS-50787 as a follow-up. The rest of the comments are addressed

            Show
            oleg_nenashev Oleg Nenashev added a comment - I have created JENKINS-50787 as a follow-up. The rest of the comments are addressed
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue relates to JENKINS-50787 [ JENKINS-50787 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: