How to Ignore Line Length PHP_CodeSniffer

I have been using PHP_CodeSniffer with jenkins, my build.xml was configured for phpcs as below <target name="phpcs"> <exec executable="phpcs"> <arg line="--report=checkstyle...

MSDeploy WMSVC is not working in .net environment

I have a build/test server which is currently running Jenkins for my continuous integration and it also is acting as my test server where code will be deployed to once built (i hope to rectify...

Where can I download the .NET 4.5 Multitargeting Pack for my build server?

I want to build a .net 4.5/VS2012 solution in TeamCity. My builds work on the agent that has VS2012 installed, but on the agent that doesn't have VS2012, I get warnings like...

Setting dynamic scope variables in AngularJs - scope.<some_string>

I have a string I have gotten from a routeParam or a directive attribute or whatever, and I want to create a variable on the scope based on this. So: $scope.<the_string> = "something". However,...

Karma error - Chrome have not captured in 60000 ms, killing

DEBUG LOG: E:\Projects\abb\Projects\WebApp\abb.web>karma start DEBUG [plugin]: Loading karma-* from E:\Projects\abb\Projects\WebApp\abb .web\node_modules DEBUG [plugin]: Loading plugin...

Jenkins Builds Fail Using the Gradle Daemon

While trying to improve performance of my Gradle Android builds, I stumbled across the Gradle Daemon, and have been using it with great success for local builds. However, when running under...

Unable to disconnect Heroku app from GitHub Account

We're using Heroku Pipeline and GitHub integration: Staging app was manually deployed with git push heroku master. Production app was automatically deployed upon commit to Master on GitHub...

Unable to determine function entry point

Been using MS botframework for a couple months. Developing with the emulator in node and using continuous integration to push to Azure. Pushed last Wednesday and tested with no problems. Made...

GitHub pipeline/CI to generate files and push them back to the repository

I maintain a public repository on GitHub where changes are only made to a single YAML file. I'm looking for a solution to process that file on every push and generate files based on it....

Does Jenkins windows service need admin rights?

For security reasons we thought it would be better if the Jenkins windows service would run as user without admin rights. However, this leads to an error on Jenkins server...

How to run dotnet test on VSTS with custom NuGet feed?

We have a project with a dependency on a custom NuGet feed (also hosted in VSTS). I'm trying to put together a new phase to generate code coverage reports, as in this blog post. My new phase looks...

Jenkins Pipeline best way to use choice parameter for checking conditions

Pipeline executes two jobs : Job X and Job Y. The Pipeline has a choice parameter which is required by Job Y. Choice parameter options: A,B and C. Job Y has 3 conditions : if Choice==A then do...

Azure Pipeline Nuget Package Versioning Scheme, How to Get "1.0.$(Rev:r)"

I'm setting up an Azure Pipelines build that needs to package a C# .NET class library into a NuGet package. In this documentation, it lists a couple different ways to automatically generate SemVer...

Is there any way to run parallel cypress tests on local machine, for example 5 streams

I'm trying to setup cypress on my local machine and run parallel tests. But I can't find some information how to do this.

Is it possible to run multiple stages with their respective steps in parallel in a Jenkins Pipeline?

I searched and experimented a lot, but couldn't find any working example of what I need. I want to run 2 stages in parallel, each stage has several steps. And by parallel I mean the stages...

GitHub Actions: How to connect to Postgres in GithHub Actions

I am trying GitHub Actions for CI with a Ruby on Rails application. My setup is with VM, not running the Ruby build in a container. This is my workflow yml. It runs all the way without errors...

How do I know the total time I used to run workflow in github action?

Each time I create a PR or make commits, I have some workflows running. But since I have a private repo and I get only 2000 min/month for running workflows on Github Actions, I wanted to track...

What is the difference that we are making by using Docker for Mendix?

In usual cases for local apps, we deploy it to mendix public cloud but if we isolate the mendix runtime and deploy it with a docker container, what difference does it make. what are the benefits...

How can I use pip cache in github actions?

I am having some issues with using cached pip in Github Actions. My workflow setup is name: tests on: [push, pull_request] jobs: linux: runs-on: ubuntu-18.04 strategy: ...

Share env variables between Docker-Compose and GitLab-CI

Note: I've omitted some details, stages and settings from the following config files to make the post shorter and the question more "readable". Please comment if you believe essential details are...

How can I produce github annotations by creating report files on disk?

I am trying to find a portable way to produce code annotations for GitHub in a way that would avoid a vendor-lockin. Mainly I want to dump annotations inside a file (yaml, json,...) during build...

How can I skip a codepipeline stage?

I am using AWS codepipeline as CI/CD pipeline tool. There are many stages in my yml file. The cloudformation reference for codepipeline is:...

Add artifact from github actions to releases

So im trying to implement a release section on my yml file for a generated artifact, explaining myself: i would like to add an artifact to my releases with my yml file. Here's the only yml file am...

Updating spring boot static resources after deploying JAR file

I have developed a REST API with Spring Boot. I've used Angular for front-end and added its files to resources/static. Everything is working fine. I currently deploy my application in fat JAR...

How do I force npm dependencies using npm-force-resolutions without using npx?

I need to force a specific package version in a nested dependency. For something like this, npm-force-resolutions works great. A typical solution is to add the script "preinstall": "npx...

GitLab CI collapsible regions are behaving weird

I'm trying to ouptut custom collapsible regions on Gitlab CI, using the recommendation as per the GitLab CI docs, however this isn't working as expected. I'm running the docker:20.10.7 image which...

Pull Request is not detecting action when run via workflow_run

I have 2 workflows in my repository: name: First on: pull_request: branches: [ master ] jobs: test: name: test runs-on: ubuntu-latest steps: - uses: actions/[email protected] ...

SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (SQL: select <database and table> = BASE_TABLE ))

I have this error in gitlab CI console. SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (SQL: select * from information_schema.tables where table_schema =...

Why does `exec bash` not work in a CI pipeline?

I have written a github workflow file. I want to run a python program in github actions to validate few changes. I have one environment.yml file which contains all conda environment dependencies...

npm ci can only install packages with an existing package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1

This is the issue that I am facing when running the command npm ci to install dependencies in my GitHub Action file. I am working on an expo managed app and using GitHub Actions as a CI for...