==> amazon-ebs: W: GPG error: http://pkg.jenkins-ci.org/debian binary/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCEF32E745F2C3D5
==> amazon-ebs: E: The repository 'http://pkg.jenkins-ci.org/debian binary/ Release' is not signed.
amazon-ebs: Reading package lists...
the solution to it was modifying these two lines in jenkins.sh file:
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add - echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list
to this:
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > \ /etc/apt/sources.list.d/jenkins.list'
I had this error:
==> amazon-ebs: W: GPG error: http://pkg.jenkins-ci.org/debian binary/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCEF32E745F2C3D5 ==> amazon-ebs: E: The repository 'http://pkg.jenkins-ci.org/debian binary/ Release' is not signed. amazon-ebs: Reading package lists...
the solution to it was modifying these two lines in jenkins.sh file:
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add - echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list
to this:
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > \ /etc/apt/sources.list.d/jenkins.list'