Questions tagged [continuous-integration]

1

votes
1

answer
478

Views

Bitbucket pipelines webpack build and ftp deploy NO JS OUTPUT on the server

I have my pipelines build settings: branches: production: - step: name: Build and test JS. image: node:8.9.3 script: - npm install - npm test - npm run-script build - step: name: Build and test PHP. image: php:7-fpm script: - echo 'Here will be the Composer build and PHPUnit tests.' - step: name:...
Edenwave
1

votes
0

answer
273

Views

Unity Cloud Build link with Continuous Integration systems

After a successful build in Unity Cloud Build I would like to send the generated .zip file url to a Continuous Integration system like Travis CI in order to to deploy that file into another server. To do this right now I need to call a custom webhook in my own server that checks (via API) the last b...
Alejandro Morán
1

votes
0

answer
233

Views

Azure Node.js Web App (Linux) build & deploy issue

I created an Azure web app which will be where my node.js service will be hosted. Im trying to setup a Node.js app that runs under Linux (not Windows). Long story short.... the Continuous Delivery (CI) is failing due to errors:' Failed to deploy web package to App Service. Error: Error: Could not fi...
AlvinfromDiaspar
1

votes
2

answer
542

Views

Bad encoding in GitLab CI output

I am just learning something about GitLab CI. I have GitLab Runner running on my local machine successfully connected to my GitLab project. The commands I have written work well but if there is some output in the console with non asci characters, the output in Gitlab shows � characters. Win10 Pro...
Ondřej Sýkora
1

votes
2

answer
648

Views

How to execute Node .JS APIs test cases using Jenkinsfile

I am new to Jenkins. I have a small Node .JS server and the test cases are written using Mocha(Integration test cases, not unit test cases). I am trying to create a CI Pipeline for this using Jenkins. My Jenkinsfile looks as follows: #!/usr/bin/env groovy pipeline { agent { docker { image 'node' arg...
ShwetaJ
1

votes
0

answer
31

Views

Building a continuous integration tool

Let's say I'm building a continuous integration tool where the user connects with their GitHub/GitLab account and choose a repository where the tool should be executed at every commit. The tool consists of some find/replace script so the user code will not be executed. For each repository enabled I...
Nicolas Beauvais
1

votes
0

answer
122

Views

Do we really need a headless browser in running with bitbucket pipelines?

Do we need a headless browser for CI/CD using with bitbucket pipelines? Although I have used with both the options, with and without headless, and the test ran in both the scenarios. If its not true then why are we adviced to use a headless browser with CI/CD? Information: When using without headles...
Aditya
1

votes
1

answer
271

Views

Continuous Integration and Signed Binary Builds (Windows) - Best Practices

The application we have is a C++ Windows application. The project is in Visual Studio 2015. I'm in the process of helping to move our build process to the cloud. We already have a system in place for our server-side components, built on Jenkins. I am trying to directly use the process in place as mu...
Jonathan Lam
1

votes
1

answer
303

Views

How to get progress bars work in jenkins console

How do i get progress bars work display correctly in jenkins console log I am running jenkins master and slave in a docker container and my build job is getting laravel installed before testing it. But composer install looks very ugly, i am pretty sure there is a way to make it look pretty and user...
Abhishek Salian
1

votes
0

answer
188

Views

Travis CI - failing to deploy to Firebase - Cannot find module 'ipaddr.js'

I added .travis.yml to my project and each time I commit to master branch, it runs all tests / scripts ok but last firebase deploy fails consistently with error like below: But certainly I am installing dependencies under functions folder and can deploy on localhost with no problem. My .travis.yml l...
bob
1

votes
1

answer
829

Views

Visual reporting for Karate without Jenkins CI

I'm trying to get reporting working for Karate DSL, and it's proven a challenge because my team uses Circle CI instead of Jenkins. Cucumber reporting seems to only work for Jenkins. I've had a look at this documentation, here: https://github.com/intuit/karate/tree/master/karate-demo#example-report...
germyjen
1

votes
2

answer
21

Views

Is there a way to ensure that an iOS IPA was built with the same code last checked into a git repo

Is there a way to ensure that an iOS IPA was built with the same code last checked into the git repo. Using SourceTree on a xamarin app
StackMan
1

votes
0

answer
46

Views

Impossible to access docker private registry on gitlab

I'm trying to set Continuous integration with gitlab and a private docker registry. I've followed the whole tutorials to set it up, I managed to set the registry tab on the left in a project environment but when I click on this tab, gitlab brings me immediately an error 500. I use gitlab as a docker...
Thomas
1

votes
0

answer
56

Views

Achieve CI with WSO2 API cloud

I am new to WSO2 altogether and was wondering is there a way to have CI integrated with the WSO2 API Cloud? I know it is possible to do so with the Integration cloud but can the same be done with API cloud ?
LeGo
1

votes
0

answer
28

Views

jenkins-as-code: purpose of jobs

I want to use Jenkins and store the configuration and the pipeline in my SCM(e.g. git). To do so, I created a directory, let's say 'jobs' in the root of my project where I will store jobs.groovy files written as JobDSL plugin files. Should I do all the things in a single job file, like fetching the...
Muatik
1

votes
0

answer
29

Views

Angular - auto updating a web app version on the client

I have seen many techniques on the web, the most common one is a pop up toast message that says there is a new version and you are asked to reload the page (in google's Inbox for example) As far as I understand, the only thing that is not cached is index.html, where are the references to the .js bun...
YBD
1

votes
0

answer
28

Views

Travis android script

I'm starting to configure CI into my project. I'm not sure what some gradle commands do, I would like to be sure if all my tests are running, unit and instrumentation. I think to run unit test I must use test or check, Am I correct? or does connectedCheck run unit tests? To ensure both of them are e...
Gonzalo
1

votes
1

answer
306

Views

How do I install Azure CLI for a Service Account on my build server

I have successfully installed Azure CLI on my build server and can use it at the command line. But when a build executes, running under a service account I get the following error: az : The term 'az' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the sp...
Noah
1

votes
0

answer
575

Views

aws Lambda Deployment automation using git,codepipeline,codebuild and cloudformation

I am Creating CI/CD pipeline for lambda deployment,i am using Git->Codebuild-> aws cloudfromation->lambda using codepipline ,even after successful build my buildspec.yaml not able to generate proper samTemplate containing proper CodeUri and i am getting error Unable to upload artifact ./ referenced...
Mayur
1

votes
1

answer
78

Views

gitlab CI on MR

I've forked a project repo from master and created my own tests (.mygitlab_ci.yaml) that are supposed to extend those of the master repo and run on a locally dedicated machine that replicates the env of the master repo runner machine. I expected a MR towards master to trigger the CI of master, on th...
Riccardo Manfrin
1

votes
0

answer
69

Views

Project structure strategy for CI/CD

Im working on a project that will use Gitlabs CI/CD. Each part of the project will be in a Docker container as seperate microservice. Project elements: Project |- Product Factory (console script) |- Product Shipment (console script, sends product via email) |- Product Website |- API for Website |- D...
gib
1

votes
0

answer
125

Views

Networking between services and job script in a gitlab-ci files

I have this job in my ci runner. It works if I use Selenium-Standalone-Chrome. But Was trying to get Hubs and Nodes working so I can test more browsers. But I'm having trouble getting the services to connect to each other. verify_last_chrome_func: image: python:2.7 stage: test_integration variables:...
Cynic
1

votes
0

answer
281

Views

LFTP wildcard source folder

I'm trying to use LFTP in my GitLab continuous integration setup so I can mirror JSON files with my destination. However, I'd like to only mirror on a set of folders using a wildcard, but I cannot seem to get this working. I tried this mirror command configuration in LFTP, but this results in a 'No...
1

votes
2

answer
171

Views

Need to fail upstream project if downstream project fails on jenkins

I want upstream project to fail if downstream project fails. I am using Trigger Parameterized build on other projects option to trigger downstream project: Image Link: As I checked answers of similar questions, it is suggested to check Block until triggered projects finish their builds /mark this...
Dolly Agarwal
1

votes
0

answer
614

Views

Jenkins cannot find Jenkinsfile in Multibranch Project

I am configuring a multi-branch Jenkins pipeline using a Jenkinsfile at the root of the Project directory. Using the latest version of Jenkins 2.89.4. The build log follows: Started by user USERNAME Checking out teamconcert-URL Build Toolkit 4.0.4-bd-app-jboss-ci-dev into C:\Program Files (x86)\Jenk...
danielbker
1

votes
1

answer
72

Views

Managing k8s deployment configs - Check changes before running`kubectl apply`

We currently run a number of our websites in a single Kubernetes cluster. The config for the whole cluster and each of the services within it is contained in a set of configuration files that we keep in a 'deployment-configs' repository, so that changes to that config can be reviewed using a standar...
Robin Winslow
1

votes
2

answer
1.2k

Views

Jenkins pipeline step happens on master instead of slave

I am getting started with Jenkins Pipeline. My pipeline has one simple step that is supposed to run on a different agent - like the 'Restrict where this project can be run' option. My problem is that it is running on master. They are both Windows machines. Here's my Jenkinsfile: pipeline { agent {la...
KevinG
1

votes
0

answer
1.4k

Views

Jenkins - Angular Build Error Message

Trying to set up CI for an Angular project with Jenkins. Trying to get Jenkins to generate a build using the following (after cloning down the repo into the workspace) ng build --prod && ng build --prod --app 1 --output-hashing=false && cpy ./server.js ./dist Jenkins however gives me the following e...
user2085143
1

votes
0

answer
150

Views

Deploying Different Images for Staging and Production Environment using Kubernetes and Gitlab

I want to have two separate deployments for Staging and Production branches. I am using Kubernetes cluster in AWS. I have integrated the kubernetes cluster with gitlab. Right now I have setup only one environment which works fine by setting the -only parameter to staging in the .gilab-ci.yml file. N...
Anshul Tripathi
1

votes
0

answer
36

Views

xcrun: How do we sign the application along with an extension?

On our jenkins, we use the xcrun to package the application and pass the provisioning profile with embed option. /usr/bin/xcrun -sdk iphoneos PackageApplication -v '${RELEASE_BUILDDIR}/${APPLICATION_NAME}.app' -o '${BUILD_HISTORY_DIR}/${APPLICATION_NAME}.ipa' --sign '${DEVELOPER_NAME}' --embed '${PR...
Legolas
1

votes
1

answer
224

Views

Can I automate a TFS reverse integration merge

We have multiple stand-alone hybrid dev/test teams, each with their own environments where code is written and tested as a complete unit. When an environment is in a tested deployable state, they merge from their main branch to an Integration branch. We also have a true test environment where we c...
MitchelWB
1

votes
0

answer
323

Views

Error while deploying from Gitlab to ECS using ecs-cli

I am getting the below error while I am trying to stand-up containers in ECS from a pipeline in Gitlab. When I attempt to do it from my my local machine, it succeeds with no issues. The following is the error from the job on the runner. level=error msg='Failed to Create Cluster' error='NoCredentialP...
Joe
1

votes
1

answer
171

Views

Trigger deployment job from Multibranch pipeline Jenkinsfile

So, we are currently using Multibranch pipeline to run our Continuous Integration process and the last stage is publish the deployable artifact in our JFrog Artifactory 'dev' repository and this works! My problem is that, if I want to automatically trigger a new Jenkins job to take that deployable...
Julio Fernandez
1

votes
0

answer
108

Views

CI/CD Pipeline for Web App that Publishes with “Merge all outputs to a Single Assembly”

I've been working with Microsoft to get a CI/CD Pipeline working and finally got everything to Build and Deploy as expected, with one important piece missing: Previously, we manually Published to a File System and in the Setting of the Publishing Profile, in the File Publish Options > Precompile dur...
John Waller
1

votes
1

answer
198

Views

.NET Core 2.0 MVC - Precompiled Views not deploying properly in VSTS

I have a .NET Core 2.0 MVC web application that I am trying to get deployed properly through VSTS CI/CD Build and Release definitions. I understand that, by default, .NET Core 2.0 sets Razor View Precompilation to true, in order to precompile all of the Views into a DLL when publishing the applicati...
Chase Harrison
1

votes
0

answer
90

Views

Login to Xcode server stuck, “Unable to perform the request. CFNetwork error: An SSL error has occurred”

I am trying to setup a CI workflow, so created an Xcode server on my local machine, and am trying to create a bot, but cannot get past the login to the server dialog. It simply spins and spins, but errors out. I started off by setting up an Xcode server on my local machine. I try to add a login to...
Rich
1

votes
1

answer
43

Views

Q: How to change the parallelism value only in the case of master branch?(CircleCI2.0)

I use CircleCI2.0 in my rails app. I want to change the parallelism value only when master branch. so I set the circleci/config.yml like below. but it doesn't work. just Error occured. It's possible to adjust Parallelism for the particular branch? please give me any hint or advise. thanks. version:...
Kouta Osabe
1

votes
0

answer
178

Views

Openshift deployment pipeline triggered by Jenkins polling Github?

Most of the documentation around triggering an Openshift deployment pipeline build points towards setting up a Github webhook which targets your Openshift cluster. Unfortunately in my case, our cluster is on an internal network and not visible to Github so of course the webook fails. Whilst I could...
Dave Branning
1

votes
0

answer
332

Views

How to deploy Angular SPA from BitBucket to Azure?

I'm creating a vanilla Angular project and uploading it to Bitbucket. It runs locally and I can build it into dist with no errors nor warnings. Now, I'd like to expose it on my Azure account. There's quite a lot of material showing how to but most of it is a bit aged (the options in Azure has change...
DonkeyBanana
1

votes
1

answer
124

Views

Jenkins job status failing despite running correctly

I have a jenkins jobs that executes with 'Publish over SSH'. The job connects to the remote server, transfers files and runs and ansible playbook. The playbook runs as intended, confirmed by the logs. However at the end of the job an error is returned, failing the job. It's causing problems as it's...
CEamonn

View additional questions