Code Monkey home page Code Monkey logo

jenkins-cicd's Issues

delete local repo images

jenkins作为中心,用户部署需要在运行jenkins的机器打包镜像,但是打包完的镜像非常占用本地资源,能否添加构建完容器推到远程仓库后,删除本地镜像的操作

传入容器启动命令

作者你好,我使用您这份代码的时候,需要我们传入一个容器启动命令,而不是使用dockerfile里面的命令,我用的portainer版本为1.20,修改您的接口如下,但是命令没有运行,请问您用的portainer的API应该怎么怎么写?
这是构造的payload:
{"Env": ["ASPNETCORE_ENVIRONMENT=Development"], "Image": "10.65.65.199:4000/web_app:ttt", "ExposedPorts": {"8000/tcp": {}}, "HostConfig": {"NetworkMode": "bridge", "PortBindings": {"8000/tcp": [{"HostIp": "", "HostPort": "8001"}]}, "RestartPolicy": {"Name": "always", "MaximumRetryCount": 0}}, "Command": "bash web_svc_start.sh --broker-url 127.0.0.1:5672 --backend-url 127.0.0.1:30379 --Port 8000"}

support portainr v1.19.2

Is your feature request related to a problem? Please describe.
目前docker.py 的脚本是基于portainer 1.16来做的,最新版的API有变动,需要同步升级

Describe the solution you'd like
update API

jenkins-plugins问题

作者你好,我在使用参考您的代码过程中,发现一个问题,getting-start.md
里面的install jenkins-plugins的bash [./tools/bulter ]butler plugins import --server localhost:8080 --username admin --password admin这一行,不知道是怎么使用?bulter不能bash运行,并且也不能被Jenkins识别为插件,是否可以麻烦解答一下。

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.