continuous-integration

Using cypress behind proxy in Jenkins pipeline

别等时光非礼了梦想. 提交于 2021-02-11 06:16:52
问题 I have seen this on github but I was still not able to get cypress to configure/download correctly. In my jenkins pipeline I run npm install but this runs into a timeout because of the proxy. It downloads all other dependencies expect cypress . What I did was download cypress and put the zip file in the project. I then run sh "setCYPRESS_INSTALL_BINARY=cypress.zip npm i cypress" but this still fails. Part that fails in Jenkins pipeline: sh "npm config set proxy http://<proxy>" sh "npm config

Using cypress behind proxy in Jenkins pipeline

别等时光非礼了梦想. 提交于 2021-02-11 06:15:59
问题 I have seen this on github but I was still not able to get cypress to configure/download correctly. In my jenkins pipeline I run npm install but this runs into a timeout because of the proxy. It downloads all other dependencies expect cypress . What I did was download cypress and put the zip file in the project. I then run sh "setCYPRESS_INSTALL_BINARY=cypress.zip npm i cypress" but this still fails. Part that fails in Jenkins pipeline: sh "npm config set proxy http://<proxy>" sh "npm config

Using cypress behind proxy in Jenkins pipeline

大城市里の小女人 提交于 2021-02-11 06:14:13
问题 I have seen this on github but I was still not able to get cypress to configure/download correctly. In my jenkins pipeline I run npm install but this runs into a timeout because of the proxy. It downloads all other dependencies expect cypress . What I did was download cypress and put the zip file in the project. I then run sh "setCYPRESS_INSTALL_BINARY=cypress.zip npm i cypress" but this still fails. Part that fails in Jenkins pipeline: sh "npm config set proxy http://<proxy>" sh "npm config

Run GitHub Action on multiple environments

和自甴很熟 提交于 2021-02-10 19:59:24
问题 Currently what I want to do is to run the GitHub Actions on more than one environment, let's say on windows and linux. I managed to do it with the Travis CI, but I could not find information about how to do it with GitHub Actions. Has anyone tried it? Currently, this is my nodejs.yml. name: Node CI on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1

Chrome Extension and Jenkins URL's

痴心易碎 提交于 2021-02-10 19:33:54
问题 I'm currently trying to develop a chrome extension which is supposed to display data from different Jenkins servers. The url to the jenkins server is being entered by the user. So basically what I need is being able to access any kind of jenkins url. My problem is that Chrome's Content Security Policy only allows you to access domains which you've registered in the manifest.json like so: "content_security_policy": "script-src 'self' http://localhost:8080/; object-src 'self'" . But since

Chrome Extension and Jenkins URL's

落爺英雄遲暮 提交于 2021-02-10 19:32:50
问题 I'm currently trying to develop a chrome extension which is supposed to display data from different Jenkins servers. The url to the jenkins server is being entered by the user. So basically what I need is being able to access any kind of jenkins url. My problem is that Chrome's Content Security Policy only allows you to access domains which you've registered in the manifest.json like so: "content_security_policy": "script-src 'self' http://localhost:8080/; object-src 'self'" . But since

Successful deployment still leads to default page

吃可爱长大的小学妹 提交于 2021-02-10 15:44:05
问题 I followed the contents of three different tutorials in deploying a slightly-modified boilerplate React app to Azure App Services. The primary issue I'm having is that while all deployment pipelines and releases have been successful on Azure DevOps, navigating to the page results in the default landing page for non-deployed app services; Hey, Node developers! Your app service is up and running. Time to take the next step and deploy your code. I'll briefly describe the steps I took to get to

VSTS Label Sources not reading Build Phase Output Variable

谁说胖子不能爱 提交于 2021-02-10 15:13:42
问题 I'm trying to tag a build using the built-in, tag sources functionality of team foundation server, the tag is created during the build phase and outputted as an output variable. However the label sources step never evaluates the variable and the step fails. Why does the label sources step not evaluate the value of the tag variable ? Tag sources has been setup like this The Tag step creates and outputs the tag Both the "Tag Step Logs" and the "PRINT ENV VARS" show the value of the variable

VSTS Label Sources not reading Build Phase Output Variable

£可爱£侵袭症+ 提交于 2021-02-10 15:13:11
问题 I'm trying to tag a build using the built-in, tag sources functionality of team foundation server, the tag is created during the build phase and outputted as an output variable. However the label sources step never evaluates the variable and the step fails. Why does the label sources step not evaluate the value of the tag variable ? Tag sources has been setup like this The Tag step creates and outputs the tag Both the "Tag Step Logs" and the "PRINT ENV VARS" show the value of the variable

Jenkins Persistent Editable Global Variable

末鹿安然 提交于 2021-02-10 14:31:47
问题 I'm looking for a plugin/approach that lets me set and read a persistent global variable for use between jobs. The scenario is that I have CI job that runs tests on various branches of the codebase and I want to associate a build number that corresponds to the last stable build of the release branch. i.e. Build No Branch Result GolbalSharedThingVal 5 release Success 1.5 6 dev Fail 1.5 7 dev Success 1.7 8 release Unstable 1.7 9 release Success 1.9 10 release Fail 1.9 Then in my deployment job