Coder Social home page Coder Social logo

jenkins-docs / simple-python-pyinstaller-app Goto Github PK

View Code? Open in Web Editor NEW
89.0 89.0 5.5K 6 KB

For an introductory tutorial on how to use Jenkins to build a simple Python application with PyInstaller.

Home Page: https://jenkins.io/doc/tutorials/build-a-python-app-with-pyinstaller/

Python 73.34% Groovy 26.66%

simple-python-pyinstaller-app's People

Contributors

gilesgas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

simple-python-pyinstaller-app's Issues

'Deliver' stage fails

The last stage in example (Deliver) fails with error in Blue Ocean:

docker inspect -f . cdrx/pyinstaller-linux:python2
โ€” Shell Script
<1s
+ docker inspect -f . cdrx/pyinstaller-linux:python2

.

Failed to run top 'b3a5844071e726298abc592422130a73bdf257e2174e0ef27cf4d6c891df91b6'. Error: Error response from daemon: Container b3a5844071e726298abc592422130a73bdf257e2174e0ef27cf4d6c891df91b6 is not running

(Exited with exit code 1)

Failed pyinstaller container logs inside of the Jenkins container:

bash-4.4$ docker logs b3a5844071e7
groups: cannot find name for group ID 1000
bash: /root/.bashrc: Permission denied

I've tried to add args '-u root --privileged' or args '-u root:root' into Jenkinsfile and gets another error in Blue Ocean: pyinstaller not found.

fail stage delivery

Hey guys.
I have a problem when trying to perform the delivery stage, when using the "cdrx/pyinstaller-linux" image it presents the following error:

ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements).
Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`.

I tried to put this argument that was mentioned in the error "--entrypoint='' the error changes:

/var/lib/jenkins/workspace/Python@tmp/durable-3985890e/script.sh.copy: 1: /var/lib/jenkins/workspace/Python@tmp/durable-3985890e/script.sh.copy: pyinstaller: not found

I also tried to upload a Python container and install "pyinstaller" but the error changes to permission.

Installing collected packages: altgraph, packaging, pyinstaller-hooks-contrib, pyinstaller
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/.local'
Check the permissions.

Could anyone help me resolve these errors?

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.