continuous-integration

Triggering a multibranch pipeline job from an other multibranch pipeline

空扰寡人 提交于 2021-02-18 06:42:40
问题 I have a scenario where but I have 2 projects (A and B), both are configured in Jenkins with multibranch pipeline jobs, problem is that Project B depends on Project A. So I find that some times when I check in code in Project A, I also need to build ProjectB once A was built. Now before I started investigating pipeline builds, I'd have a job per branch and then trigger in Jenkins the appropriate job for Project B for the appropriate branch. What I'd like to set up in a Jenkinsfile so that

generating version tags using semantic-release without the v

对着背影说爱祢 提交于 2021-02-17 05:11:55
问题 How can I use git tags with the format major . minor . patch , without the " v " in the beginning (i.e. versions 1.0.1, 2.0.1)? I'm using Gitlab CI, but even using the Docker image locally I'm not able to pass the value to tag-format correctly. What I'm trying to do: npx --no-install semantic-release --tag-format "\${version}" The error log: [8:42:06 PM] [semantic-release] › ✖ ETAGNOVERSION Invalid tagFormat option. The tagFormat (https://github.com/semantic-release/semantic-release/blob

Only run GitHub Actions manually while blocking Pull Request

只愿长相守 提交于 2021-02-16 20:08:49
问题 I have a set of GitHub Actions configured to block pull requests from being merged until the Actions complete successfully. However, every time a new commit is pushed to a PR, the Actions are run again, which can be very wasteful if the author is not yet ready to merge, and intends to make future changes. Is there any way to have a GitHub Action still block a PR being merged but also not run the Action automatically? 回答1: With this recent update you can now convert pull requests back to draft

Only run GitHub Actions manually while blocking Pull Request

梦想的初衷 提交于 2021-02-16 20:08:33
问题 I have a set of GitHub Actions configured to block pull requests from being merged until the Actions complete successfully. However, every time a new commit is pushed to a PR, the Actions are run again, which can be very wasteful if the author is not yet ready to merge, and intends to make future changes. Is there any way to have a GitHub Action still block a PR being merged but also not run the Action automatically? 回答1: With this recent update you can now convert pull requests back to draft

You are not allowed to make changes or publish from 'Data Factory' mode as your factory has GIT enabled

*爱你&永不变心* 提交于 2021-02-11 16:50:44
问题 I am facing a issue. I have a data factory with 20 piplines and dataset and linked services I enabled git with name xyz project and created adf-publish branch in that ,I worked almost 1 week in adf-publish branch. After one week my client is saying we have created new azure devops project with xyz1 prroject name.Now my changes is in adf-publish branch which comes under xyz project. My question is that how can I save changes again ADF since I tried but I got a error You are not allowed to make

You are not allowed to make changes or publish from 'Data Factory' mode as your factory has GIT enabled

只谈情不闲聊 提交于 2021-02-11 16:48:54
问题 I am facing a issue. I have a data factory with 20 piplines and dataset and linked services I enabled git with name xyz project and created adf-publish branch in that ,I worked almost 1 week in adf-publish branch. After one week my client is saying we have created new azure devops project with xyz1 prroject name.Now my changes is in adf-publish branch which comes under xyz project. My question is that how can I save changes again ADF since I tried but I got a error You are not allowed to make

Cypress Integration with DevOps

若如初见. 提交于 2021-02-11 14:16:21
问题 What I want to achieve: I have a repository on Azure DevOps which hosts my web application. I wrote a test suite for UI Automation using Cypress. I created a separate repository for my test cases to check if they are working properly or not. I created a pipeline which has the following content: trigger: - manual-tests pool: vmImage: 'ubuntu-latest' steps: - task: NodeTool@0 inputs: versionSpec: '10.x' displayName: 'Install Node.js' - script: | npm install displayName: 'npm install' - task:

Is there a way in Azure DevOps settings to create a Personal Access Tokens (PAT) equivalent that is not associated with a single user?

别来无恙 提交于 2021-02-11 13:58:16
问题 If I understand correctly, Personal Access Tokens (PAT) are associated with the user identity logged in (they are within User Settings afterall). Question : For functional responsibilities that should not be associated with and reliant upon one individual team member's account (ex. automated systems deployments), is there a way to generate non-user contextual PATs? 回答1: There is no way to create non-user contextual personal access tokens. Personal access tokens are alternate passwords that

Is there a way in Azure DevOps settings to create a Personal Access Tokens (PAT) equivalent that is not associated with a single user?

烈酒焚心 提交于 2021-02-11 13:57:39
问题 If I understand correctly, Personal Access Tokens (PAT) are associated with the user identity logged in (they are within User Settings afterall). Question : For functional responsibilities that should not be associated with and reliant upon one individual team member's account (ex. automated systems deployments), is there a way to generate non-user contextual PATs? 回答1: There is no way to create non-user contextual personal access tokens. Personal access tokens are alternate passwords that

Using cypress behind proxy in Jenkins pipeline

只愿长相守 提交于 2021-02-11 06:17:24
问题 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