13,204 questions
0 votes
0 answers
45 views
Accessing to two or more Gitlab Projects in the same Jenkins pipeline file
We have the following Jenkins pipeline script. pipeline { agent any stages { stage('Run in Sandbox'){ steps { dir('Pot') { checkout ...
-1 votes
0 answers
41 views
File wildcard with GitHub/Groovy/Jenkinsfile - how to not have quotes added?
I have the following command in my GitHub Jenkinsfile: steps { sh '/bin/cp --update --recursive -f -v * /final/location' } In the Jenkins log file the asterisk always ends up with ...
-1 votes
0 answers
47 views
Jenkins is unable to locate the executable file after extracting the Nexus NuGet package
I attempted to execute the following command in a Jenkins batch script to run the executable named "GitFetcher.Exe," which is located within the tools directory of "IB.SO.AutoUtility.&...
0 votes
0 answers
24 views
Is it possible to run multiple Jenkins branch indexing processes at once?
Jenkins runs "branch indexing" jobs to trigger multi-branch pipeline jobs automatically; for instance a webhook connected to source control will cause a branch indexing job to scan for newly ...
0 votes
0 answers
86 views
How can I keep track of expired time in a timeout{} step?
Say I have this recursive function in a Jenkins pipeline. It's initially called by another function, but then calls itself recursively. def recursiveFunction(final Integer timeout) { static Integer ...
1 vote
1 answer
52 views
unable to find class for annotation @Field in jenkins pipeline script from scm
I'm encountering an issue with my pipeline script when running it from SCM. The @Field annotation isn't being recognized, even though I'm using the correct import statement (import groovy.transform....
1 vote
0 answers
38 views
Jenkins Pipeline - string parameters not being pulled into PowerShell script
Pipeline is not passing down string parameter data to the PowerShell command were trying to create a jenkins page that allows a person to create a cname on a domain. We know creds work if we bypass ...
0 votes
0 answers
48 views
Jenkins Pipelines in Docker: Failed to rm container
My setup is both Jenkins master & agent running via "Docker in Docker" scheme onto Docker Desktop for Windows with WSLv2 backend. In my Jenkins Pipelines, I am using docker step from ...
0 votes
0 answers
75 views
PyInstaller build on Jenkins: ValueError: Invalid async_mode specified with Flask-SocketIO + gevent
I am building a Python 3.11 Flask-SocketIO project into an .exe using PyInstaller on Jenkins (Windows 10). The project works fine when I run it locally with python runapp.py or even inside Jenkins ...
-2 votes
1 answer
66 views
How to fix a Jenkins pipeline for a 100+ flavor Flutter app? My build times are over 30 hours [closed]
I'm hoping to get some advice and validation on a pipeline strategy for a large white-label Flutter project. The Setup One Flutter codebase. 100+ flavors for unique customer apps (Android & iOS) A ...
0 votes
0 answers
51 views
Jenkins Allure commandline tool issue
we are using allure command line tool to generate reports and have multiple versions 2.10.0 and 2.32.1. 2.32.1 is set as allure-latest in tools config but when we run the Jenkins pipeline its ...
0 votes
0 answers
67 views
Why does Jenkins pipeline not see git tags after checkout in a Docker/Windows agent?
I am using a Jenkins declarative pipeline with a Docker agent (Windows label). In my pipeline, I want to get the current git tag for the commit being built, so I can use it for artifact naming. My ...
0 votes
0 answers
68 views
Could not determine exact tip revision of master
Occasionally in Jenkins Pipelines we see the following error: ERROR: Could not determine exact tip revision of master; falling back to nondeterministic checkout This then results in a git checkout ...
1 vote
0 answers
48 views
Running Jenkins agent through terraform userdata script, which makes the selenium tests to execute in headless mode
I have a PowerShell script which is passed as user data script in terraform for Windows Server 2022 VM creation in AWS cloud. This PowerShell script uses Jenkins API to create the node and connect the ...
0 votes
0 answers
129 views
How to manage version bump and release tagging in Jenkins pipeline for a multi-module Maven project without causing build loops? [closed]
I have a multi-module Maven project and I'm using Jenkins Pipeline (Declarative) to automate builds and releases. I want to implement a process that: Bumps the version in the pom.xml across all ...