标签: gitbucket

请求中没有包含有效的crumb - Windows上的Jenkins

我在Windows Server 2012上安装了Jenkins 2.46.2并将其与GitBucket集成.

当一个更改被推送到GitBucket时,我正在尝试触发构建.

我试图添加一个webhook但我收到此错误:

错误403请求中未包含有效的crumb

HTTP错误403

访问/ jenkins/gitbucket-webhook /时遇到问题.原因:

 No valid crumb was included
in the request


由Jetty提供支持://

windows git-push http-status-code-403 jenkins gitbucket

10
推荐指数
1
解决办法
7193
查看次数

Terraform 错误刷新状态访问被拒绝

我正在将 gitbucket 用于我的存储库和管道。我有一个配置了远程状态的 terraform 配置文件,它在我的本地机器上运行良好,但是在 gitbucket 中运行时失败。我不断收到拒绝访问错误。这是main.tf:

terraform {
backend "s3" {
    bucket = "zego-terraform-test"
    key    = "test/terraform.tfstate"
    region = "eu-west-1"
  }
}

data "terraform_remote_state" "remote_state" {
  backend = "s3"

  config {
    bucket = "zego-terraform-test"
    key    = "test/terraform.tfstate"
    region = "eu-west-1"
  }
}

variable "region" {}

provider "aws" {
  region     = "${var.region}"
  access_key = {}
  secret_key = {}
  token      = {}
}

module "vpc" {
  source = "./modules/vpc"
}
Run Code Online (Sandbox Code Playgroud)

这是我的 gitbucket-pipelines.yml:

image: python:3.5.1
pipelines:
  default:
    - step:
        caches:
          - pip …
Run Code Online (Sandbox Code Playgroud)

amazon-s3 terraform gitbucket bitbucket-pipelines

7
推荐指数
3
解决办法
2万
查看次数

在 Git 中将分支从 Master 移动到另一个分支

我通常使用subversion,并且已经习惯了git。

我将远程存储库的副本克隆到我的本地主机,然后创建了一个新分支,我们将其称为“myNewBranch”。但是,当它应该是“DEVELOPMENT”的子分支时,我从 master 创建了该分支.

以下是我采取的步骤:

  1. git clone remoteURL 本地主机
  2. git checkout -b mynewBranch(应该先切换到开发)
  3. git add {我更改的任何文件}
  4. 提交
  5. git push origin myNewBranch

这里是什么样的层次结构应该是这样的:

主 ---> 开发 ---> myNewBranch

这是它目前的样子:Master--->myNewBranch

我该如何纠正?

git gitbucket

4
推荐指数
1
解决办法
4239
查看次数

npm 安装错误:“主机密钥验证失败。”

我想从 Gitbucket 获取该模块,它是我在 Windows 服务器上构建的。
\n但是当我使用 时出现错误npm install

\n
npm ERR! Error while executing:  \nnpm ERR! C:\\Users\\~~~~\\AppData\\Local\\Programs\\Git\\cmd\\git.EXE ls-remote -h -t  \nssh://git@IPaddress:Gitbucketport/root/modulename.git  \nnpm ERR!  \nnpm ERR! Host key verification failed.  \nnpm ERR! fatal: Could not read from remote repository.  \nnpm ERR!  \nnpm ERR! Please make sure you have the correct access rights  \nnpm ERR! and the repository exists.  \nnpm ERR!  \nnpm ERR! exited with error code: 128  \nnpm ERR! A complete log of this run can be found in: …
Run Code Online (Sandbox Code Playgroud)

git ssh node.js npm gitbucket

2
推荐指数
1
解决办法
9395
查看次数