maven - How to configure Jenkins (Hudson) with gpg signature -


i'm in process of transitioning maven (from ant) , want automatically sign artifacts gpg in jenkins job.

from documents i've read, need manually run maven sign documents

$ mvn clean deploy -dgpg.passphrase=yourpassphrase 

how do without revealing passphrase?

is possible?

i saw question, there's no indication of how configure jenkins job / maven pom: where keep gpg secret key maven project in ci environment?

i have generated gpg key on same server runs jenkins.

i think searching plugin https://wiki.jenkins-ci.org/display/jenkins/mask+passwords+plugin 1 might if need deploy keystore https://wiki.jenkins-ci.org/display/jenkins/build+secret+plugin


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -