无法在完成其他管道时触发管道
原创
我正试图在devops管道中为我们的角度应用程序构建几条发布管道。我们使用的是Nx工作区,因此能够在工作区构建的末尾触发这些管道是很重要的。
下面是微软()提供的示例文档代码
# this is being defined in app-ci pipeline
resources:
pipelines:
- pipeline: securitylib # Name of the pipeline resource
source: security-lib-ci # Name of the triggering pipeline
t
我正在尝试构建一个管道来构建一个在github上提交的java项目管道。我已经把詹金斯安装在我的窗户机器上了。我的管道在下面的地方被撞了
Started by user Akshay Katti
Obtained Jenkinsfile from git C:\Users\ak186148\git\Kylo-Accelerator
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] node
Running on Jenkins in C:\Users\ak186148\.jenkins\workspace\Kylo-Promot
我在我的Jenkins管道里有个奇怪的错误
[Pipeline] withDockerContainer
acp-ci-ubuntu-test does not seem to be running inside a container
$ docker run -t -d -u 1002:1006 -u ubuntu --net=host -v /var/run/docker.sock:/var/run/docker.sock -v /home/ubuntu/.docker:/home/ubuntu/.docker -w /home/ubuntu/workspace/CD-acp-cassa
我试过各种方法,但似乎什么都没有用。这是我的jenkinsfile
def ZIP_NODE
def CODE_VERSION
pipeline{
/*A declarative pipeline*/
agent {
/*Agent section*/
// where would you like to run the code
label 'ubuntu'
}
options{
timestamps()
}
parameters {
我正试图通过GitLab CI将我的Docker部署到服务器上。我在yml文件中设置了变量,并通过SSH连接到服务器。是否可以在yml文件中自动使用变量,还是必须一个一个地将它们传递给SSH?
另外,我想知道是否有比我的方式更好的部署方法。
deploy:
image: alpine
variables:
#this may be overridden by parent pipeline, or it will be latest
my_nginx: registry.gitlab.com/myprofile/nginx:latest
before_script
我试图实现CI/CD管道,首先从git克隆一个react项目,然后在我的本地机器上构建这个项目。
我已经重新安装了节点,在jenkins中配置了nodejs,并尝试添加了路径,但是对我来说没有任何效果。
方法--一种我尝试过的方法:在从SCM提供管道脚本下的git链接之后,我创建了一个自由式项目,并在下面添加了脚本。这是向我抛出npm命令,没有找到错误。
export PATH=/opt/homebrew
npm install
编辑:
I restarted jenkins and lost my old build..now, after restarting jenkins and r