GithubHelp home page GithubHelp logo

jenkins job dsl ide about ciis0.github.io HOT 4 OPEN

ciis0 avatar ciis0 commented on June 17, 2024
jenkins job dsl ide

from ciis0.github.io.

Comments (4)

ciis0 avatar ciis0 commented on June 17, 2024

iteration 1:

  • folder on controller (rhel7)
  • chmod g+ws
  • i worked directly on controller via vim + jenkins ssh cli
  • others via samba mount
  • 👎 git via samba is not very performant

from ciis0.github.io.

ciis0 avatar ciis0 commented on June 17, 2024

iteration 2:

  • GUI: coder-server instead of samba
    • 👎 dedicated tool not integrated into other people's tools
  • Shell: sshfs
    • 👎 bad git performance

from ciis0.github.io.

ciis0 avatar ciis0 commented on June 17, 2024

iteration 3:

sync folder on controller to working environment with unison.

server is RHEL which does not have unison in repos, install from GH releases, into /opt/unison; this requires to add -servercmd /opt/unison/bin/unison, but for brevity omitted below.

init with (-force prefers that root during conflict resolution):
unison job-dsl ssh://controller//var/lib/jenkins/job-dsl -force ssh://controller//var/lib/jenkins/job-dsl -auto
keep in sync by adding -repeat watch.

from ciis0.github.io.

ciis0 avatar ciis0 commented on June 17, 2024

unison with prf file:

# ~/.unison/job-dsl-prf.prf
root=job-dsl
root=ssh://controller//var/lib/jenkins/job-dsl
force=newer
auto=true
servercmd=/opt/unison/bin/unison
init unison job-dsl-prf (unison will create the job-dsl directory from profile for you)
sync unison job-dsl-prf -repeat watch

from ciis0.github.io.

Related Issues (19)

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.