NicolasW

1

votes
1

answer
655

views

How to deal with a bugfix in GitFlow (or other process) once a release is ready to ship and merged into develop & master

From https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow : Once the release is ready to ship, it will get merged it into master and develop, then the release branch will be deleted Now that the merge is done : let's say we're now facing instability in production suddenly (ho...
NicolasW
1

votes
0

answer
65

views

Jenkins agents slow

My Jenkins builds are 5 to 20 times slower on my build agents while using Jenkins and as compared to - running the build in command line on the build agents - running the build on my workstation What can be causing the issue? I have attempted to add memory to the environments and also set env varia...
NicolasW
1

votes
1

answer
27

views

maven dependency:copy-dependencies is renaming incorrectly a .so dependency

While running maven goal dependency:copy-dependencies is can see my file 'a.so' being renamed 'a.jar', however the type property has been set to ensure maven is aware of the dependency type. How can I force the goal dependency:copy-dependencies to create my dependency 'a' with the appropriate extens...
NicolasW
1

votes
1

answer
2.6k

views

Not able to use Jenkins labels in pipelines

I can't get Jenkins labels to work in Jenkins while using pipelines. My node is defined with a label say 'poolA', and the following pipeline should attempt to run on that node but it doesn't. Any ideas why? Console says: MyAgentis reserved for jobs with matching label expression; Jenkins is reserve...
NicolasW
1

votes
2

answer
1.5k

views

flyway and initialization of Repeatable migrations

Quoting flyway doc at https://flywaydb.org/documentation/migration/repeatable : Repeatable migrations do not have a version. Instead they are (re-)applied every time their checksum changes. This is very useful for managing database objects whose definition can then simply be maintained in a single f...
NicolasW
19

votes
3

answer
14.1k

views

Can not execute Findbugs Caused by: This project contains Java source files that are not compiled

I am currently using the sonarqube server 5.6 with scanner 2.6.1 and I keep getting errors during analysis for a java project. It appears to complain about some java files not compiled in the binaries folder (there aren't any at all in the binaries folder). Once I add the -X parameter I get more exc...
NicolasW
5

votes
2

answer
2.2k

views

How to force jenkins to reload a jenkinsfile?

My jenkinsfile has several paremeters, every time I make an update in the parameters (e.g. remove or add a new input) and commit the change to my SCM, I do not see the job input screen updated accordingly in jenkins, I have to run an execution, cancel it and then see my updated fields in properties...
NicolasW
3

votes
1

answer
2.7k

views

How do pipeline parameters and jenkins GUI parameters work together?

I am using a pipeline in a jenkinsfile and I am not sure how to properly link the job in Jenkins and the pipeline. I defined parameters in my jenkinsfile (some with default values, some without) and have them initialized from the parameters coming from jenkins gui. The problem is that it seams the...
NicolasW
2

votes
1

answer
2.9k

views

How to pass a parameter to a powershell script in a jenkins pipeline

How do I pass my variable VAR_A to an embedded powershell script in a jenkins pipeline ? e.g. def VAR_A = 'test' def mystatus = powershell(returnStatus: true, script: ''' Write-Host 'My result: '$VAR_A'' ''' withEnv(['VAR_A=test']) { def mystatus = powershell(returnStatus: true, script: ''' Write-H...
NicolasW
2

votes
1

answer
5.6k

views

Installing and Configuring SonarQube Scanner for Jenkins - needs clarifications

I am following the instructions at the url below to configure jenkins/sonar. https://docs.sonarqube.org/display/SONARQUBE52/Installing+and+Configuring+SonarQube+Scanner+for+Jenkins and I come to that step Scroll down to the SonarQube Runner configuration section and click on Add SonarQube Runner. [....
NicolasW
3

votes
2

answer
2.7k

views

Multiple projects sharing a jenkinsfile

I have multiple projects with similar build steps and I am looking into reusing a Jenkinsfile pipeline across these projects. I am having a hard time to find documentation on how to implement such an standard (to my opinion) setup. Here are my requirements : 1) a Jenkinsfile is stored in repo, share...
NicolasW