-
Improvement
-
Resolution: Unresolved
-
Critical
-
Jenkins version 2.3, all Plugins up to date. Debian 8 64 Bits x86.
I try to setup a pipeline project to build tags using a Jenkinsfile from SCM (Git). Therefore I want to be be able to set the tag I wish to build via the Git Parameter Plugin. If I setup the project like this and hit the "Build with Parameters" button the git parameter plugin tells me "!No Git repository configured in SCM configuration".
- duplicates
-
JENKINS-28447 CpsScmFlowDefinition does not resolve variables
-
- Resolved
-
[JENKINS-34876] Git Parameters not working for Pipeline projects and Jenkinsfile from SCM
Workflow | Original: JNJira [ 171076 ] | New: JNJira + In-Review [ 184154 ] |
Assignee | Original: Andreas Oetken [ enno ] | New: Boguslaw Klimas [ klimas7 ] |
Link |
New:
This issue duplicates |
Labels | New: workflow |
Comment |
[ I observed the same problem. I came up with a workaround, note that you need git 2.0 in order to do this... 1) I wrote a script that is executed inside of the git checkout root: [code] git tag -l --sort=version:refname | sort -r | xargs echo -n | sed 's/ /,/g' | sed '1s/^/key=/' > versions.properties [code] ] |
Attachment | New: Screenshot_20160817_145201.png [ 33634 ] |
Attachment | New: Screenshot_20160817_145625.png [ 33635 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Priority | Original: Minor [ 4 ] | New: Critical [ 2 ] |
Labels | Original: workflow | New: pipeline workflow |