Questions tagged [jenkins]
Jenkins is an open source continuous integration tool written in Java, that has packages for Linux, Mac OS X, Windows, FreeBSD and OpenBSD. The project was forked from Hudson.
33,041 questions
0
votes
0answers
11 views
how to checkout triggered build branch details in jenkins file
i have two repositories
TestCIRepository - which has jenkins file
TestSeperateCI- Which has source code
CISeperationTest-is my jenkins job
CodeCommit Url
Pipeline details
What I configured so far ...
1
vote
1answer
6 views
variable set in Windows Powershell of Jenkins build, not available in other build steps
I have a Jenkins build with one parameter called VERSION.
Based on the length of the variable i am modifying its value in Windows Powershell and then in the next build step, i want to use it.
But ...
0
votes
1answer
6 views
How to read parameters sent by an upstream job in a downstream job?
I have an upstream pipeline job that triggers a downstream pipeline job, the upstream job sends a few parameters to the downstream job. How should I read these parameters in the downstream job? Both ...
0
votes
0answers
9 views
Parameterized remote job is triggered but console says failure
Parameterized remote job is triggered successfully
However, console says it has failed
Started by user XXX
Running in Durability level: MAX_SURVIVABILITY
[pipeline] node
Running on Ubuntu in /home/...
1
vote
0answers
19 views
Can`t deploy with Jenkins
I can`t deploy using Jenkins Pipeline
And I checked successful process of building, pushing
How to deploy this pipeline? :(
> [Pipeline] kubernetesDeploy Starting Kubernetes deployment Loading
&...
0
votes
0answers
20 views
Jenkins: -bash: command not found
I'm trying to build my Node.js application using Jenkins, but I'm getting this error:
-bash: npm: command not found
-bash: pm2: command not found
Build step 'Execute shell' marked build ...
0
votes
0answers
9 views
Custom percentage of Unit Test passed to trigger a downstream jenkins job
I am trying to trigger a Jenkins downstream job if 80% of unit test cases pass.
The current Jenkins job runs a bunch of Test Cases triggered through Rest API in Dev Environment. I am using "HTTP ...
0
votes
0answers
13 views
Jenkins within Docker: dockerfile agent happens outside new container
This is my Jenkinsfile:
pipeline {
agent {
dockerfile true
}
stages {
stage('Run tests') {
steps {
sh 'vendor/bin/phpunit'
}
...
0
votes
0answers
8 views
Jenkins pipeline - how to load a Jenkinsfile without first calling node()?
I have a somewhat unique setup where I need to be able to dynamically load Jenkinsfiles that live outside of the src I'm building. The Jenkinsfiles themselves usually call node() and then some build ...
0
votes
1answer
22 views
Can't run “fastlane” command via Jenkinsfile
I wrote a Gradle task which executes the fastlane supply command via the command line. The task looks like this:
task uploadToPlayStore(type: Exec) {
group = "upload"
commandLine "fastlane", "...
0
votes
1answer
12 views
Accessing docker volume on win 10
On a Windows 10 OS, I am running docker for Linux Container for running JenKins.
I have run following cmd
docker run -p 8080:8080 -p 50000:50000 -v
jenkins_home:/var/jenkins_home jenkins/jenkins:...
0
votes
0answers
7 views
Jenkins complete workspace link for running job - link to screenshot my job creates
Running Jenkins ver. 2.150.1
I have a script that logs a URL of a file that gets generated when running unit tests. This is a generated file that I want to print a valid URL to in the log file.
The ...
0
votes
0answers
10 views
Using Jenkins to Import ZAP Scan results to DefectDojo
I have set up Jenkins and DefectDojo on two different Linux boxes.
I am trying to automate the files being sent from Jenkins to DefectDojo via the defect dojo API v2
The Jenkins installation runs a ...
0
votes
0answers
12 views
jenkins integration part..cant push feature to master to origin
I receive the following error:
ERROR: Failed to push branch master to origin
hudson.plugins.git.GitException:
Command "git push http://18.217.127.239:8080/gitbucket/git/sudheer/maven_web.git ...
0
votes
0answers
17 views
Jenkins run a script after all parallel scripts finished in stage
def postIntTests() {
println 'Done'
}
...
...
stage('Run Integration Tests') {
steps {
script {
parallel(dictWithLotsOfIntTests)
postIntTests()
}
}
...