Ich scheinen nicht in der Lage, einen Jenkins-Pipeline-Job erstellen, die einen bestimmten Zweig erstellt, wo dieser Zweig ein Build-Parameter ist.Build Pipeline mit einem Branch-Parameter
Hier einige Konfigurations Screenshots:
(i mit einem Git Parameter und einem String-Parameter, versucht haben gleiche Ergebnis)
(I $BRANCH_NAME_PARAM
habe versucht, ${BRANCH_NAME_PARAM}
und ${env.BRANCH_NAME_PARAM}
, gleiche Ergebnis für alle Varianten)
Und das Buildprotokoll:
hudson.plugins.git.GitException: Command "git fetch --tags --progress origin +refs/heads/${BRANCH_NAME_PARAM}:refs/remotes/origin/${BRANCH_NAME_PARAM} --prune" returned status code 128:
stdout:
stderr: fatal: Couldn't find remote ref refs/heads/${BRANCH_NAME_PARAM}
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1970)
ich etwas falsch zu machen offensichtlich bin - alle Ideen auf, was?
Interessant. +1 – VonC