Details
-
Improvement
-
Status: Reopened (View Workflow)
-
Critical
-
Resolution: Unresolved
-
Jenkins version 2.3, all Plugins up to date. Debian 8 64 Bits x86.
Description
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".
Attachments
Issue Links
- duplicates
-
JENKINS-28447 CpsScmFlowDefinition does not resolve variables
-
- Resolved
-
Activity
Field | Original Value | New Value |
---|---|---|
Workflow | JNJira [ 171076 ] | JNJira + In-Review [ 184154 ] |
Assignee | Andreas Oetken [ enno ] | Boguslaw Klimas [ klimas7 ] |
Link |
This issue duplicates |
Labels | 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 | Screenshot_20160817_145201.png [ 33634 ] |
Attachment | Screenshot_20160817_145625.png [ 33635 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Priority | Minor [ 4 ] | Critical [ 2 ] |
Labels | workflow | pipeline workflow |
Labels | pipeline workflow | pipeline |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Attachment | Selection_104.png [ 33910 ] |
Attachment | screenshot-1.png [ 33911 ] |
Attachment | screenshot-2.png [ 33912 ] |
Attachment | screenshot-3.png [ 33913 ] |
Attachment | pipeline.PNG [ 33919 ] |
Attachment | params.PNG [ 33920 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |