Travis.yml ./gradlew : Permission denied

It depends by the exec-permission to your unix gradlew script. It can be fixed using the command: git update-index –chmod=+x gradlew A little desciption to understand the problem. First of all you can check your permissions using: git ls-tree HEAD You will see: 100644 blob xxxxxxxxxxx gradlew As you can see the file has 644 … Read more

Github actions share workspace/artifacts between jobs?

You can use the Github Actions upload-artifact and download-artifact to share data between jobs. In job1: steps: – uses: actions/checkout@v1 – run: mkdir -p path/to/artifact – run: echo hello > path/to/artifact/world.txt – uses: actions/upload-artifact@master with: name: my-artifact path: path/to/artifact And job2: steps: – uses: actions/checkout@master – uses: actions/download-artifact@master with: name: my-artifact path: path/to/artifact – run: … Read more

How do you maintain development code and production code? [closed]

Update 2019: These days, the question would be seen in a context using Git, and 10 years of using that distributed development workflow (collaborating mainly through GitHub) shows the general best practices: master is the branch ready to be deployed into production at any time: the next release, with a selected set of feature branches … Read more

Jenkins CI Pipeline Scripts not permitted to use method groovy.lang.GroovyObject

Quickfix Solution: I had similar issue and I resolved it doing the following Navigate to jenkins > Manage jenkins > In-process Script Approval There was a pending command, which I had to approve. Alternative 1: Disable sandbox As this article explains in depth, groovy scripts are run in sandbox mode by default. This means that … Read more

Continuous Integration for Ruby on Rails? [closed]

I just went through the options here and thought I’d roll them up as of late 2011. Integrity After a near-death experience that left the still-linked-to website with outdated information and downed the demo site, this project has a spark of life again. But the documentation hasn’t moved on, and lots and lots of the … Read more

mvn clean install vs. deploy vs. release

The clean, install and deploy phases are valid lifecycle phases and invoking them will trigger all the phases preceding them, and the goals bound to these phases. mvn clean install This command invokes the clean phase and then the install phase sequentially: clean: removes files generated at build-time in a project’s directory (target by default) … Read more

tech